Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 251 for Runner (0.09 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/FilteringClassLoaderTest.groovy

            given:
            cannotSeePackage('org.junit')
            cannotSeePackage('org.junit.runner')
    
            and:
            withSpec { FilteringClassLoader.Spec spec ->
                spec.allowPackage('org.junit')
            }
    
            expect:
            canSeePackage('org.junit')
            canSeePackage('org.junit.runner')
        }
    
        void passesThroughDefaultPackage() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.testcleanup
    
    import org.gradle.internal.impldep.org.apache.commons.lang.StringUtils
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.TaskOutcome
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertTrue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            Map<String, String> envVars = [:],
            Closure<Void> runner = this::configurationCacheRun
        ) {
            def allArgs = tasks + getEncryptionOptions(kind) + additionalArgs + ["-s"]
            // envVars overrides encryption env vars
            def allVars = getEncryptionEnvVars(kind) + envVars
            executer.withEnvironmentVars(allVars)
            runner(*allArgs)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/cmd/internal/moddeps/moddeps_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Logf("copied GOROOT from %s to %s", testenv.GOROOT(t), gorootCopyDir)
    	return gorootCopyDir
    }
    
    type runner struct {
    	Dir string
    	Env []string
    }
    
    // run runs the command and requires that it succeeds.
    func (r runner) run(t *testing.T, args ...string) {
    	t.Helper()
    	cmd := testenv.Command(t, args[0], args[1:]...)
    	cmd.Dir = r.Dir
    	cmd.Env = slices.Clip(r.Env)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

    /*
     * Copyright 2013 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  6. pkg/registry/core/rest/storage_core.go

    		// apiserver if we can't repair them.
    		wg := sync.WaitGroup{}
    		wg.Add(2)
    		runner := async.NewRunner(
    			func(stopCh chan struct{}) { p.startServiceClusterIPRepair(wg.Done, stopCh) },
    			func(stopCh chan struct{}) { p.startServiceNodePortsRepair(wg.Done, stopCh) },
    		)
    		runner.Start()
    		go func() {
    			defer runner.Stop()
    			<-context.StopCh
    		}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  7. pkg/test/framework/test.go

    		panic("call to scope without running the test framework")
    	}
    
    	ctx, span := tracing.Start(rt.suiteContext().traceContext, t.Name())
    
    	runner := &testImpl{
    		tc:     ctx,
    		ts:     span,
    		s:      rt.suiteContext(),
    		goTest: t,
    	}
    
    	return runner
    }
    
    func (t *testImpl) Label(labels ...label.Instance) Test {
    	t.labels = append(t.labels, labels...)
    	return t
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

    class JUnitPlatformIntegrationTest extends JUnitPlatformIntegrationSpec {
    
        def 'can work with junit-platform-runner'() {
            given:
            buildFile << """
            dependencies {
                testImplementation 'org.junit.platform:junit-platform-runner:1.0.3'
            }
            """
            createSimpleJupiterTest()
    
            expect:
            succeeds('test')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. pkg/kubelet/prober/prober_manager.go

    func NewManager(
    	statusManager status.Manager,
    	livenessManager results.Manager,
    	readinessManager results.Manager,
    	startupManager results.Manager,
    	runner kubecontainer.CommandRunner,
    	recorder record.EventRecorder) Manager {
    
    	prober := newProber(runner, recorder)
    	return &manager{
    		statusManager:    statusManager,
    		prober:           prober,
    		readinessManager: readinessManager,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  10. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientConfigurer.java

         *
         * @implNote To support the Gradle embedded test runner, this method's return value should not be cached in a static field.
         */
        private String[] determineHttpsProtocols() {
            /*
             * System property retrieval is executed within the constructor to support the Gradle embedded test runner.
             */
            String httpsProtocols = System.getProperty(HTTPS_PROTOCOLS);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 18.5K bytes
    - Viewed (0)
Back to top