- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for nonexistent1 (0.2 sec)
-
cmd/xl-storage_test.go
// TestXLStorages xlStorage.getDiskInfo() func TestXLStorageGetDiskInfo(t *testing.T) { path := t.TempDir() testCases := []struct { diskPath string expectedErr error }{ {path, nil}, {"/nonexistent-dir", errDiskNotFound}, } // Check test cases. for _, testCase := range testCases { if _, err := getDiskInfo(testCase.diskPath); err != testCase.expectedErr {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 11 17:45:28 UTC 2024 - 66.7K bytes - Viewed (0) -
src/testing/testing.go
// created by a test, each numbered sequentially. c.tempDirMu.Lock() var nonExistent bool if c.tempDir == "" { // Usually the case with js/wasm nonExistent = true } else { _, err := os.Stat(c.tempDir) nonExistent = os.IsNotExist(err) if err != nil && !nonExistent { c.Fatalf("TempDir: %v", err) } } if nonExistent { c.Helper()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
tests/test_application.py
@pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/api_route", 200, {"message": "Hello World"}), ("/non_decorated_route", 200, {"message": "Hello World"}), ("/nonexistent", 404, {"detail": "Not Found"}), ], ) def test_get_path(path, expected_status, expected_response): response = client.get(path) assert response.status_code == expected_status
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 52.2K bytes - Viewed (0) -
pilot/pkg/model/telemetry_logging_test.go
}, }, }, }, } disabled := &tpb.Telemetry{ AccessLogging: []*tpb.AccessLogging{ { Disabled: &wrappers.BoolValue{Value: true}, }, }, } nonExistant := &tpb.Telemetry{ AccessLogging: []*tpb.AccessLogging{ { Providers: []*tpb.ProviderRef{ { Name: "custom-provider", }, }, }, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 54K bytes - Viewed (0) -
src/os/os_test.go
} if _, err := rdfs.ReadDir("nonexistent"); err == nil { t.Error("fs.ReadDir of nonexistent directory succeeded") } // Test that the error message does not contain a backslash, // and does not contain the DirFS argument. const nonesuch = "dir/nonesuch" _, err := fsys.Open(nonesuch) if err == nil { t.Error("fs.Open of nonexistent file succeeded") } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AlignmentIntegrationTest.groovy
} } } } /** * This test is a variant of the previous one where there's an additional catch: one * of the modules (annotations) is supposedly nonexistent in 2.7.9 (say, it appeared in 2.9.x) */ def "can align heterogeneous versions with new modules appearing in later releases"() { repository { path 'databind:2.7.9 -> core:2.7.9'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 59.6K bytes - Viewed (0) -
plugin/pkg/admission/noderestriction/admission_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 73.2K bytes - Viewed (0) -
src/go/build/build.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
func BenchmarkGoLookupIPNoSuchHost(b *testing.B) { testHookUninstaller.Do(uninstallTestHooks) ctx := context.Background() b.ReportAllocs() for i := 0; i < b.N; i++ { goResolver.LookupIPAddr(ctx, "some.nonexistent") } } func BenchmarkGoLookupIPWithBrokenNameServer(b *testing.B) { testHookUninstaller.Do(uninstallTestHooks) conf, err := newResolvConfTest() if err != nil { b.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
r.pkg = make([]uint32, npkg) for i := 1; i < npkg; i++ { // PkgIdx 0 is a dummy invalid package pkg := r.Pkg(i) objidx, ok := l.objByPkg[pkg] if !ok { log.Fatalf("%v: reference to nonexistent package %s", r.unit.Lib, pkg) } r.pkg[i] = objidx } // load flags of package refs for i, n := 0, r.NRefFlags(); i < n; i++ { rf := r.RefFlags(i) gi := l.resolve(r, rf.Sym())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0)