Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestDelegate (0.14 sec)

  1. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/canUseBuiltInAstTransform/src/test/groovy/TestDelegate.groovy

    package org.gradle.groovy.compile.GroovyCompilerIntegrationSpec.canUseBuiltInAstTransform.src.test.groovy
    
    class TestDelegate {
        def doStuff(String value) {
            return "[$value]"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 194 bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/canUseBuiltInAstTransform/src/test/groovy/UseBuiltInTransformTest.groovy

    package org.gradle.groovy.compile.GroovyCompilerIntegrationSpec.canUseBuiltInAstTransform.src.test.groovy
    
    import org.junit.Test
    
    class UseBuiltInTransformTest {
        @Delegate final TestDelegate delegate = new TestDelegate()
    
        @Test
        void transformHasBeenApplied() {
            assert doStuff("hi") == "[hi]"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 320 bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      private static final ImmutableList<String> LIST1 = ImmutableList.of("one", "two");
      private static final ImmutableList<String> LIST2 = ImmutableList.of("three");
    
      public void testDelegate() {
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingList(LIST1)));
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1)));
      }
    
      public void testToString() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      private static final ImmutableList<String> LIST1 = ImmutableList.of("one", "two");
      private static final ImmutableList<String> LIST2 = ImmutableList.of("three");
    
      public void testDelegate() {
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingList(LIST1)));
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1)));
      }
    
      public void testToString() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top