Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 678 for Runner (0.12 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/IgnoredTestDescriptorProviderTest.groovy

    import org.junit.runner.Description
    import org.junit.runner.RunWith
    import org.junit.runner.Runner
    import org.junit.runner.notification.RunNotifier
    import spock.lang.Specification
    
    import java.lang.annotation.IncompleteAnnotationException
    
    /**
     * Tests {@link IgnoredTestDescriptorProvider}.
     */
    class IgnoredTestDescriptorProviderTest extends Specification {
    
        def "can get individual test descriptions for ignored test classes"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy

        def setup() {
            runner.warmUpRuns = 11
            runner.runs = 21
            runner.minimumBaseVersion = "3.5"
        }
    
        def "clean assemble with remote http cache"() {
            setupTestProject(runner)
            protocol = "http"
            pushToRemote = true
            runner.useDaemon = false
            runner.warmUpRuns = 2
            runner.runs = 8
            runner.addBuildMutator { cleanLocalCache() }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaFirstUsePerformanceTest.groovy

            given:
            runner.tasksToRun = ['tasks']
            runner.runs = (runner.testProject == (LARGE_JAVA_MULTI_PROJECT_KOTLIN_DSL.projectName) ? 5 : 10)
            runner.useDaemon = false
            runner.addBuildMutator { invocationSettings ->
                new ClearGradleUserHomeMutator(invocationSettings.gradleUserHome, AbstractCleanupMutator.CleanupSchedule.BUILD)
            }
            runner.addBuildMutator { invocationSettings ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/util/ipvs_linux.go

    func (runner *runner) UpdateVirtualServer(vs *VirtualServer) error {
    	svc, err := toIPVSService(vs)
    	if err != nil {
    		return fmt.Errorf("could not convert local virtual server to IPVS service: %w", err)
    	}
    	runner.mu.Lock()
    	defer runner.mu.Unlock()
    	return runner.ipvsHandle.UpdateService(svc)
    }
    
    // DeleteVirtualServer is part of ipvs.Interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/RunnerFactory.groovy

            def runner = kgpRunner(parallel, kgpVersion, tasks)
            return newAgpRunner(agpVersion, runner)
        }
    
        SmokeTestGradleRunner agpRunner(String agpVersion, String... tasks) {
            return newAgpRunner(agpVersion, runner(tasks))
        }
    
        SmokeTestGradleRunner kgpRunner(boolean parallel, VersionNumber kotlinVersion, String... tasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/inception/BuildSrcApiChangePerformanceTest.groovy

        def setup() {
            runner.minimumBaseVersion = "6.8"
            runner.warmUpRuns = 3
        }
    
        def setupGradleOpts() {
            useG1GarbageCollectorOnJava8(runner)
        }
    
        def "buildSrc abi change"() {
            given:
            setupGradleOpts()
            runner.tasksToRun = ['help']
            runner.runs = determineNumberOfRuns(runner.testProject)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/maven/JavaTestGradleVsMavenPerformanceTest.groovy

            given:
            runner.testGroup = "Gradle vs Maven test build using Java plugin"
            configureMavenOptions(JavaTestProject.projectFor(runner.testProject))
            runner.gradleTasks = ["clean", gradleTask]
            runner.equivalentMavenTasks = ["clean", mavenTask]
            if (mavenTask == "package") {
                runner.mvnArgs << "-Dmaven.test.skip=true"
            }
            runner.warmUpRuns = 2
            runner.runs = 5
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestDryRunner.java

            this.runner = runner;
        }
    
        @Override
        public Description getDescription() {
            return runner.getDescription();
        }
    
        @Override
        public void run(RunNotifier notifier) {
            LinkedList<Description> queue = new LinkedList<Description>();
            queue.add(runner.getDescription());
            while (!queue.isEmpty()) {
                Description description = queue.removeFirst();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIncrementalExecutionPerformanceTest.groovy

        def "test for non-abi change"() {
            given:
            def testProject = JavaTestProject.projectFor(runner.testProject)
            runner.warmUpRuns = 2
            runner.runs = 6
            runner.tasksToRun = ['test']
            // Pre-4.0 versions run into memory problems with this test
            runner.minimumBaseVersion = "4.0"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/IgnoredTestDescriptorProvider.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.testing.junit;
    
    import org.gradle.api.internal.tasks.testing.TestSuiteExecutionException;
    import org.junit.internal.runners.JUnit38ClassRunner;
    import org.junit.runner.Description;
    import org.junit.runner.Request;
    import org.junit.runner.RunWith;
    import org.junit.runner.Runner;
    import org.junit.runners.AllTests;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top