Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,057 for Runner (0.13 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/NativeCleanBuildPerformanceTest.groovy

        ])
        def "clean assemble (native)"() {
            given:
            def iterations = runner.testProject in ['smallNative', 'smallCppApp', 'smallCppMulti'] ? 40 : null
            runner.tasksToRun = ["assemble"]
            runner.cleanTasks = ["clean"]
            runner.runs = iterations
            runner.warmUpRuns = iterations
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerDaemonIntegrationTest.groovy

            when:
            runner("-g", file("custom-gradle-user-home").absolutePath).build()
    
            then:
            testKitDaemons().daemon.assertIdle()
        }
    
        def "runners executed concurrently can share the same Gradle user home directory"() {
            when:
            3.times {
                concurrent.start {
                    runner().build()
                }
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

    import org.gradle.testkit.runner.fixtures.InspectsExecutedTasks
    import org.gradle.testkit.runner.fixtures.PluginUnderTest
    import org.gradle.util.GradleVersion
    import org.gradle.util.UsesNativeServices
    
    import static org.gradle.testkit.runner.TaskOutcome.SUCCESS
    import static org.hamcrest.CoreMatchers.anyOf
    import static org.hamcrest.CoreMatchers.containsString
    
    @InjectsPluginClasspath
    @InspectsBuildOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/IncrementalAndroidTestProject.groovy

            }
        }
    
        @Override
        void configureForAbiChange(CrossVersionPerformanceTestRunner runner) {
            configure(runner)
            runner.tasksToRun = [taskToRunForChange]
            runner.addBuildMutator { invocationSettings ->
                new ApplyAbiChangeToSourceFileMutator(getFileToChange(invocationSettings))
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ArchiveTreePerformanceTest.groovy

        )
        def "visiting zip trees"() {
            given:
            runner.tasksToRun = ['visitZip']
            runner.addBuildMutator { createArchive(it, "archive.zip") { contents, output -> contents.zipTo(output) } }
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
        @RunFor(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:42:52 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    After creating and configuring a runner instance, the build can be executed via the link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#build--[GradleRunner.build()] or link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#buildAndFail--[GradleRunner.buildAndFail()] methods depending on the anticipated outcome.
    
    The following demonstrates the usage of the Gradle runner in a Java JUnit test:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docsTest/java/org/gradle/docs/samples/IntegrationTestSamplesRunnerTest.java

     * limitations under the License.
     */
    
    package org.gradle.docs.samples;
    
    import org.gradle.exemplar.model.Command;
    import org.gradle.exemplar.model.Sample;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runner.notification.Failure;
    import org.junit.runner.notification.RunListener;
    import org.junit.runner.notification.RunNotifier;
    import org.junit.runners.JUnit4;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

                    .pluginTypes("org.codelibs.opensearch.extension.ExtensionPlugin"));
            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. subprojects/core/src/testFixtures/groovy/org/gradle/internal/operations/TestBuildOperationExecutor.java

            public final BuildOperationRunner runner;
    
            public TestBuildOperationQueue() {
                this(new TestBuildOperationRunner());
            }
    
            private TestBuildOperationQueue(BuildOperationRunner runner) {
                this.runner = runner;
            }
    
            @Override
            public void add(O operation) {
                runner.run(operation);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 12:12:49 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. tools/bug-report/pkg/content/content.go

    }
    
    // GetClusterContext returns the cluster context.
    func GetClusterContext(runner *kubectlcmd.Runner, kubeConfig string) (string, error) {
    	return runner.RunCmd("config current-context", "", kubeConfig, "", false)
    }
    
    // GetNodeInfo returns node information.
    func GetNodeInfo(p *Params) (map[string]string, error) {
    	out, err := p.Runner.RunCmd("get nodes -o yaml", "", p.KubeConfig, p.KubeContext, p.DryRun)
    	return map[string]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top