Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 465 for 20something (0.7 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

                tasks.register('doSomething') {
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            when:
            executeTaskViaGradleProjectLaunchable("doSomething")
    
            then:
            assertHasBuildSuccessfulLogging()
            outputContains("do something")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskExecutionIntegrationTest.groovy

                tasks.register('doSomething') {
                    description = "Prints the message 'do something'"
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            expect:
            succeeds("help", "--task", ":other-build:doSomething")
            outputContains("Prints the message 'do something'")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        }
        suite.addTestSuite(CharSourceTest.class);
        return suite;
      }
    
      private static final String STRING = ASCII + I18N;
      private static final String LINES = "foo\nbar\r\nbaz\rsomething";
    
      private TestCharSource source;
    
      @Override
      public void setUp() {
        source = new TestCharSource(STRING);
      }
    
      public void testOpenBufferedStream() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/BroadcastDispatchTest.groovy

            1 * listener3.doSomething("param")
            0 * _
    
            when:
            dispatch = BroadcastDispatch.empty(TestListener).add(listener1).add(listener2).addAll([listener3])
            !dispatch.empty
            dispatch.size() == 3
            dispatch.dispatch(invocation)
    
            then:
            1 * listener1.doSomething("param")
            1 * listener2.doSomething("param")
            1 * listener3.doSomething("param")
            0 * _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerInServiceRegistryTest.groovy

            then:
            0 * _
    
            when:
            listenerManager.getBroadcaster(TestListener).something("12")
    
            then:
            1 * created.run()
            0 * _
    
            when:
            listenerManager.getBroadcaster(NotStatefulListener).something("12")
    
            then:
            1 * service.something("12")
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy

    * What went wrong:
    something bad
    > cause 1
    
    * Try:
    something
    
    Failure 2:
    
    * What went wrong:
    something else bad
    > cause 2
    
    * Try:
    something
    
    """
            when:
            def failure = OutputScrapingExecutionFailure.from(output, "")
    
            then:
            failure.assertHasCause("cause 1")
            failure.assertHasCause("cause 2")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

            'exact match'                                    | [key: 'something']              | 'foo'
            'exact match'                                    | [key: 'something else']         | 'bar'
            'partial match on key but attribute is optional' | [key: 'something', extra: 'no'] | 'foo'
        }
    
        def "revalidates default configuration if it has attributes"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

        String toString() {
            return "ClassWithToString{}";
        }
    }
    
    class WithProperties {
        String prop1
        boolean prop2
    
        void setWriteOnly(String s1) { }
    
        boolean isSomething() { return false }
    
        boolean isSomethingElse() { return true }
    
        String isNotAThing() { "no" }
    
        private String getPrivateThing() { null }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

                import org.gradle.api.DefaultTask
                import org.gradle.api.tasks.TaskAction
    
                class HelloWorld1 extends DefaultTask {
                    @TaskAction
                    void doSomething() {
                        println 'Hello world! (buildSrc)'
                    }
                }
            """
    
            buildFile << plugin.useDeclaration << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractClassChangeIncrementalCompilationIntegrationTest.groovy

        @Unroll("detects changes to class referenced through a #modifier field")
        def "detects changes to class referenced through a field"() {
            given:
            source """class A {
        $modifier B b;
        void doSomething() {
            Runnable r = b;
            r.run();
        }
    }"""
            source '''abstract class B implements Runnable { }'''
    
            outputs.snapshot { run language.compileTaskName }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top