Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 256 for testPath (0.18 sec)

  1. src/internal/trace/summary_test.go

    }
    
    func TestRelatedGoroutinesV2Trace(t *testing.T) {
    	testPath := "testdata/tests/go122-gc-stress.test"
    	trc, _, err := testtrace.ParseFile(testPath)
    	if err != nil {
    		t.Fatalf("malformed test %s: bad trace file: %v", testPath, err)
    	}
    
    	// Create a reader.
    	r, err := trace.NewReader(trc)
    	if err != nil {
    		t.Fatalf("failed to create trace reader for %s: %v", testPath, err)
    	}
    
    	// Collect all the events.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_client_test.go

    	}{
    		{name: "test ok", volID: "vol-test", targetPath: testPath},
    		{name: "missing volID", targetPath: testPath, mustFail: true},
    		{name: "missing target path", volID: "vol-test", mustFail: true},
    		{name: "bad fs", volID: "vol-test", targetPath: testPath, fsType: "badfs", mustFail: true},
    		{name: "grpc error", volID: "vol-test", targetPath: testPath, mustFail: true, err: errors.New("grpc error")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/gcimporter_test.go

    	}
    
    	for testfile, wantImports := range testfiles {
    		tmpdir := mktmpdir(t)
    		defer os.RemoveAll(tmpdir)
    
    		compile(t, "testdata", testfile, filepath.Join(tmpdir, "testdata"), nil, wantImports...)
    		path := "./testdata/" + strings.TrimSuffix(testfile, ".go")
    
    		if pkg := testPath(t, path, tmpdir); pkg != nil {
    			// The package's Imports list must include all packages
    			// explicitly imported by testfile, plus all packages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. src/internal/trace/trace_test.go

    	// Check if we're on a builder.
    	onBuilder := testenv.Builder() != ""
    	onOldBuilder := !strings.Contains(testenv.Builder(), "gotip") && !strings.Contains(testenv.Builder(), "go1")
    
    	testPath := filepath.Join("./testdata/testprog", progName)
    	testName := progName
    	runTest := func(t *testing.T, stress bool, extraGODEBUG string) {
    		// Run the program and capture the trace, which is always written to stdout.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

    import static org.junit.Assert.assertEquals
    import static org.junit.Assert.assertThrows
    import static org.junit.Assert.fail
    
    class BaseDirFileResolverTest {
        static final String TEST_PATH = 'testpath'
    
        File baseDir
        File testFile
        File testDir
    
        BaseDirFileResolver baseDirConverter
        @Rule public TestNameTestDirectoryProvider rootDir = new TestNameTestDirectoryProvider(getClass())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  6. src/path/filepath/path_windows_test.go

    		if err != nil {
    			t.Errorf("toNorm(%s) failed: %v\n", test.arg, err)
    		} else if got != test.want {
    			t.Errorf("toNorm(%s) returns %s, but %s expected\n", test.arg, got, test.want)
    		}
    	}
    
    	testPath := `{{tmp}}\test\foo\bar`
    
    	testsDir := []struct {
    		wd   string
    		arg  string
    		want string
    	}{
    		// test absolute paths
    		{".", `{{tmp}}\test\foo\bar`, `{{tmp}}\test\foo\bar`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

                    .evaluate("${session.rootDirectory.uri}");
            assertEquals(path.toUri(), result);
        }
    
        @Test
        public void testPath() throws Exception {
            Path path = Paths.get("").toAbsolutePath();
    
            MavenSession mavenSession = createMavenSession(null);
            mavenSession.getRequest().setTopDirectory(path);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

                    .evaluate("${session.rootDirectory.uri}");
            assertEquals(path.toUri(), result);
        }
    
        @Test
        public void testPath() throws Exception {
            Path path = Paths.get("").toAbsolutePath();
    
            MavenSession mavenSession = createMavenSession(null);
            mavenSession.getRequest().setTopDirectory(path);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  9. tests/test_path.py

    Sebastián Ramírez <******@****.***> 1713469257 -0500
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. src/go/build/build_test.go

    	check("XTestDirectives", p.XTestDirectives,
    		`[{"//go:xtest1" "testdata/directives/c_test.go:1:1"} {"//go:xtest2" "testdata/directives/d_test.go:1:1"} {"//go:xtest3" "testdata/directives/d_test.go:2:1"}]`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top