Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 804 for fRunner (0.27 sec)

  1. platforms/documentation/docs/src/snippets/configurationCache/testKit/groovy/src/test/groovy/org/example/BuildLogicFunctionalTest.groovy

    package org.example
    
    import org.gradle.testkit.runner.GradleRunner
    import spock.lang.Specification
    import spock.lang.TempDir
    
    import static org.gradle.testkit.runner.TaskOutcome.*
    
    class BuildLogicFunctionalTest extends Specification {
    
        @TempDir File testProjectDir
        File buildFile
    
        def setup() {
            new File(testProjectDir, 'settings.gradle') << ""
            buildFile = new File(testProjectDir, 'build.gradle')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/AbstractCrossVersionPerformanceTest.groovy

                    buildContext
            )
            runner.workingDir = temporaryFolder.testDirectory
            runner.current = new UnderDevelopmentGradleDistribution(buildContext)
            performanceTestIdProvider.testSpec = runner
        }
    
        CrossVersionPerformanceTestRunner getRunner() {
            runner
        }
    
        void applyDevelocityPlugin() {
            runner.addBuildMutator { invocationSettings ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AndroidTestProject.groovy

            def version = AGP_VERSIONS.latestStableOrRC
            configureForAgpVersion(runner, version)
            version
        }
    
        private static void configureForAgpVersion(CrossVersionPerformanceTestRunner runner, String agpVersion) {
            runner.args.add("-DagpVersion=${agpVersion}")
    
            def javaVersion = AGP_VERSIONS.getMinimumJavaVersionFor(agpVersion)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/AbstractIncrementalExecutionPerformanceTest.groovy

        def setup() {
            runner.useToolingApi = true
            if (OperatingSystem.current().linux) {
                runner.warmUpRuns = 10
                runner.runs = 40
            } else {
                // Reduce the number of iterations on Windows and macOS, since the performance tests are slower there
                runner.warmUpRuns = 5
                runner.runs = 20
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

    import org.junit.After
    import org.junit.Before
    import org.junit.BeforeClass
    import org.junit.Ignore
    import org.junit.Test
    import org.junit.runner.Description
    import org.junit.runner.RunWith
    import org.junit.runner.Runner
    import org.junit.runner.notification.Failure
    import org.junit.runner.notification.RunNotifier
    import org.junit.runners.Parameterized
    import org.junit.runners.Suite
    import org.junit.runners.model.RunnerBuilder
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. pkg/volume/flexvolume/plugin.go

    		},
    		runner:   runner,
    		spec:     spec,
    		readOnly: readOnly,
    	}, nil
    }
    
    // NewUnmounter is part of the volume.VolumePlugin interface.
    func (plugin *flexVolumePlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return plugin.newUnmounterInternal(volName, podUID, plugin.host.GetMounter(plugin.GetPluginName()), plugin.runner)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

    import java.util.stream.Collectors;
    
    import org.apache.maven.api.model.InputSource;
    import org.openjdk.jmh.annotations.*;
    import org.openjdk.jmh.runner.Runner;
    import org.openjdk.jmh.runner.RunnerException;
    import org.openjdk.jmh.runner.options.Options;
    import org.openjdk.jmh.runner.options.OptionsBuilder;
    
    /**
     * <p>Xpp3DomPerfTest class.</p>
     */
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 20 07:14:01 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerConfigurationIntegrationTest.groovy

     */
    
    package org.gradle.testkit.runner
    
    import org.gradle.testkit.runner.fixtures.NoDebug
    import org.gradle.testkit.runner.fixtures.NonCrossVersion
    
    @NonCrossVersion
    @NoDebug
    class GradleRunnerConfigurationIntegrationTest extends BaseGradleRunnerIntegrationTest {
    
        def "throws exception if no project dir was specified"() {
            given:
            def runner = GradleRunner.create().withTestKitDir(testKitDir)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerDaemonIntegrationTest.groovy

     */
    
    package org.gradle.testkit.runner
    
    import org.gradle.integtests.fixtures.executer.DaemonGradleExecuter
    import org.gradle.test.fixtures.ConcurrentTestUtil
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    import org.gradle.testkit.runner.fixtures.CustomDaemonDirectory
    import org.gradle.testkit.runner.fixtures.NoDebug
    import org.gradle.util.GradleVersion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/buildcache/LocalTaskOutputCacheCrossBuildPerformanceTest.groovy

                    }
                }
            """.stripIndent()
    
            given:
            runner.addBuildMutator { invocationSettings ->
                new ClearBuildCacheMutator(invocationSettings.gradleUserHome, AbstractCleanupMutator.CleanupSchedule.SCENARIO)
            }
            runner.testGroup = "task output cache"
            runner.buildSpec {
                displayName("always-miss pull-only cache")
                invocation {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top