Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for testFS (0.16 sec)

  1. src/testing/fstest/testfs.go

    // The contents of fsys must not change concurrently with TestFS.
    //
    // If TestFS finds any misbehaviors, it returns either the first error or a
    // list of errors. Use [errors.Is] or [errors.As] to inspect.
    //
    // Typical usage inside a test is:
    //
    //	if err := fstest.TestFS(myFS, "file/that/should/be/present"); err != nil {
    //		t.Fatal(err)
    //	}
    func TestFS(fsys fs.FS, expected ...string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go

    			if test.initialSeatsExpected != workestimateGot.InitialSeats {
    				t.Errorf("Expected work estimate to match: %d initial seats, but got: %d", test.initialSeatsExpected, workestimateGot.InitialSeats)
    			}
    			if test.finalSeatsExpected != workestimateGot.FinalSeats {
    				t.Errorf("Expected work estimate to match: %d final seats, but got: %d", test.finalSeatsExpected, workestimateGot.FinalSeats)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. test/recover.go

    	test6WithClosures()
    	test7()
    	test8()
    	test9()
    	if !interp {
    		test9reflect1()
    		test9reflect2()
    	}
    	test10()
    	if !interp {
    		test10reflect1()
    		test10reflect2()
    	}
    	test11()
    	if !interp {
    		test11reflect1()
    		test11reflect2()
    	}
    	test111()
    	test12()
    	if !interp {
    		test12reflect1()
    		test12reflect2()
    	}
    	test13()
    	if !interp {
    		test13reflect1()
    		test13reflect2()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy

    }
    dependencies {
        debug 'test:a:1.2'
        release 'test:a:1.2'
    }
    """
            resolve.prepare {
                config("debug")
                config("release")
            }
    
            when:
            run("checkDebug")
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("test:a:1.2") {
                        artifact(classifier: "debug")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ProjectDependencyResolveIntegrationTest.groovy

            then:
            executedAndNotSkipped ":b:jar", ":c:jar"
            resolve.expectGraph {
                root(":a", "test:a:") {
                    project(":b", "test:b:") {
                        project(":c", "test:c:") {
                            project(":a", "test:a:")
                        }
                    }
                }
            }
        }
    
        @NotYetImplemented
        @Issue('GRADLE-3280')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactDeclarationIntegrationTest.groovy

                        compile project(':a')
                    }
                }
            """
    
            expect:
            succeeds "b:checkDeps"
            resolve.expectGraph {
                root(":b", "test:b:") {
                    project(":a", "test:a:") {
                        artifact(name: 'foo', type: '')
                        artifact(name: 'foo', type: 'txt')
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

    class BaseTest : public ::testing::Test {
      // You can inherit all the usual members for a non-parameterized test
      // fixture here.
    };
    
    class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> {
      // The usual test fixture members go here too.
    };
    
    TEST_F(BaseTest, HasFoo) {
      // This is an ordinary non-parameterized test.
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  8. maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        @Test
        void testBadDependencyScope() throws Exception {
            SimpleProblemCollector result = validate("bad-dependency-scope.xml");
    
            assertViolations(result, 0, 0, 2);
    
            assertTrue(result.getWarnings().get(0).contains("test:f"));
    
            assertTrue(result.getWarnings().get(1).contains("test:g"));
        }
    
        @Test
        void testBadDependencyManagementScope() throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy

            given:
            javaLibrary(mavenRepo.module("org.test", "foo", "1.0")).withModuleMetadata().publish()
            javaLibrary(mavenRepo.module("org.test", "bar", "1.0")).withModuleMetadata().publish()
            javaLibrary(mavenRepo.module("org.test", "baz", "1.0+10")).withModuleMetadata().publish()
            javaLibrary(mavenRepo.module("org.test", "qux", "1.0-latest")).withModuleMetadata().publish()
    
            createBuildScripts("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 45.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedArtifactOrderingIntegrationTest.groovy

            when:
            def modD = mavenRepo.module("org.test", "D").publish()
            def modC = mavenRepo.module("org.test", "C").dependsOn(modD).publish()
            def modB = mavenRepo.module("org.test", "B").dependsOn(modD).publish()
            def modA = mavenRepo.module("org.test", "A").dependsOn(modB).dependsOn(modC).publish()
    
            then:
            checkOrdered([modA, modB, modC, modD])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top