Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SomeInterface (0.28 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaClassChangeIncrementalCompilationIntegrationTest.groovy

            void writeToProject() {
                source """
                    interface SomeInterface {
                        int foo();
                    }
                """
                source """
                    class Anonymous1 {
                        SomeInterface getAnonymous() {
                            return new SomeInterface() {
                                public int foo() {
                                    return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ExtensionContainerExtensionsTest.kt

            doNothing().`when`(extensions).configure(any<TypeOf<SomeInterface<Long>>>(), any<Action<SomeInterface<Long>>>())
    
            extensions.configure<SomeInterface<Long>> { println(p) }
    
            inOrder(extensions) {
                verify(extensions).configure(any<TypeOf<SomeInterface<Long>>>(), any<Action<SomeInterface<Long>>>())
                verifyNoMoreInteractions()
            }
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

            }
        }
    
        class SubClass extends SomeClass {
            Long other
        }
    
        interface SubInterface extends SomeInterface {
            Long getOther()
    
            void setOther(Long l)
        }
    
        abstract class AbstractSuperClass implements SomeInterface {
            Number prop
        }
    
        abstract class AbstractSubClass extends AbstractSuperClass implements SubInterface {
            Long other
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertNull(ArbitraryInstances.get(EmptyEnum.class));
        assertEquals(Direction.UP, ArbitraryInstances.get(Direction.class));
      }
    
      public void testGet_interface() {
        assertNull(ArbitraryInstances.get(SomeInterface.class));
      }
    
      public void testGet_runnable() {
        ArbitraryInstances.get(Runnable.class).run();
      }
    
      public void testGet_class() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertNull(ArbitraryInstances.get(EmptyEnum.class));
        assertEquals(Direction.UP, ArbitraryInstances.get(Direction.class));
      }
    
      public void testGet_interface() {
        assertNull(ArbitraryInstances.get(SomeInterface.class));
      }
    
      public void testGet_runnable() {
        ArbitraryInstances.get(Runnable.class).run();
      }
    
      public void testGet_class() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.1K bytes
    - Viewed (0)
Back to top