Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 134 for testOk (0.22 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    			ok = false
    		}
    	}
    	return ok
    }
    
    func isTestingType(typ types.Type, testingType string) bool {
    	// No Unalias here: I doubt "go test" recognizes
    	// "type A = *testing.T; func Test(A) {}" as a test.
    	ptr, ok := typ.(*types.Pointer)
    	if !ok {
    		return false
    	}
    	return analysisutil.IsNamedType(ptr.Elem(), "testing", testingType)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/filter/TestFilterSpec.java

     * limitations under the License.
     */
    package org.gradle.api.internal.tasks.testing.filter;
    
    import java.io.Serializable;
    import java.util.Set;
    
    /**
     * Specification describing a Test's filters. This class is serialized and used in test workers.
     */
    public class TestFilterSpec implements Serializable {
        private final Set<String> includedTests;
        private final Set<String> excludedTests;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/time/internal_test.go

    	defer t.Stop()
    
    	// If this test fails, we will either throw (when siftdownTimer detects
    	// bad when on update), or other timers will hang (if the timer in a
    	// heap is in a bad state). There is no reliable way to test this, but
    	// we wait on a short timer here as a smoke test (alternatively, timers
    	// in later tests may hang).
    	<-After(25 * Millisecond)
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/maven/MavenResolveTestFixture.groovy

     * from the integration test's local maven repository.
     *
     * <p>Intended to verify that POMs published by Gradle can be consumed by Maven. Tests should
     * publish artifacts to {@link AbstractIntegrationSpec#mavenRepo} and then use the resolve exposed
     * by this fixture to run tests against those published artifacts.</p>
     */
    @SelfType(AbstractIntegrationSpec.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskIntegrationTest.groovy

                def leaf = module('org.test', 'leaf', '1.0').publish()
                module('org.test', 'a', '1.0')
                    .dependsOn(leaf, reason: 'first reason')
                    .withModuleMetadata()
                    .publish()
                module('org.test', 'b', '1.0')
                    .dependsOn('org.test', 'c', '1.0').publish()
                module('org.test', 'c')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 15:15:56 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/internal/PluginResolverFactory.java

         * So, order matters.
         * <p>
         * <ol>
         *     <li>{@link NoopPluginResolver} - Only used in tests.</li>
         *     <li>{@link CorePluginResolver} - distributed with Gradle</li>
         *     <li>{@link DefaultInjectedClasspathPluginResolver} - from a TestKit test's ClassPath</li>
         *     <li>Resolvers contributed by this distribution - plugins coming from included builds</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/tasks/testing/TestFailure.java

    import java.util.List;
    
    /**
     * Describes a test failure. Contains a reference to the failure and some structural information retrieved by the test worker.
     *
     * @since 7.6
     */
    @Incubating
    public abstract class TestFailure {
    
        /**
         * Returns the list of causes.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceFlakinessDataProvider.java

         *
         * <pre>
         *  SELECT TESTID, TESTPROJECT, AVG(CONVERT(CASEWHEN(DIFFCONFIDENCE &gt; 0.97, 1, 0), DECIMAL)) AS FAILURE_RATE,
         *  FROM TESTEXECUTION
         *  WHERE (CHANNEL = 'flakiness-detection-master' OR CHANNEL = 'flakiness-detection-release')
         *  GROUP BY TESTID
         * </pre>
         *
         * @return the flakiness rate in DB, null if not exists.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

            run ':a:checkDeps'
    
            then:
            result.assertTasksExecuted(':b:barJar', ':a:checkDeps')
            resolveRelease.expectGraph {
                root(":a", "test:a:") {
                    project(':b', 'test:b:') {
                        variant 'bar', [flavor: 'free', buildType: 'release']
                        artifact name: 'b-bar'
                    }
                }
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  10. testing/performance/src/templates/project-with-source/Test.java

    package ${packageName};
    
    import static org.junit.Assert.*;
    
    public class ${testClassName} {
        private final ${productionClassName} production = new ${productionClassName}("value");
    
        @org.junit.Test
        public void test() {
            assertEquals(production.getProperty(), "value");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 294 bytes
    - Viewed (0)
Back to top