- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for testType (0.21 sec)
-
cmd/test-utils_test.go
// simple function which returns a message which gives the context of the test // and then followed by the actual error message. failTestStr := func(testType, failMsg string) string { return fmt.Sprintf("MinIO %s: %s fail for \"%s\": \n<Error> %s", instanceType, testType, testName, failMsg) } // httptest Recorder to capture all the response by the http handler. rec := httptest.NewRecorder()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 76.9K bytes - Viewed (0) -
cmd/server_test.go
client *http.Client } type check struct { *testing.T testType string } // Assert - checks if gotValue is same as expectedValue, if not fails the test. func (c *check) Assert(gotValue interface{}, expectedValue interface{}) { c.Helper() if !reflect.DeepEqual(gotValue, expectedValue) { c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 115.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/export_test.go
func testConfigArch(tb testing.TB, arch string) *Conf { ctxt, ok := testCtxts[arch] if !ok { tb.Fatalf("unknown arch %s", arch) } if ctxt.Arch.PtrSize != 8 { tb.Fatal("testTypes is 64-bit only") } c := &Conf{ config: NewConfig(arch, testTypes, ctxt, true, false), tb: tb, } return c } type Conf struct { config *Config tb testing.TB fe Frontend }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/proxy/util/nfacct/handler.go
} // request is an injectable interface representing a netlink request. type request interface { Serialize() []byte AddData(data nl.NetlinkRequestData) AddRawData(data []byte) Execute(sockType int, resType uint16) ([][]byte, error) } // netlinkHandler is an implementation of the handler interface. It maintains a netlink socket // for communication with the NFAcct subsystem. type netlinkHandler struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy
stat.length == 0 assertSameAccessType(stat, VIA_SYMLINK) } @Requires(UnitTestPreconditions.UnixDerivative) def "stats named pipes"() { def pipe = tmpDir.file("testPipe").createNamedPipe() when: accessor.stat(pipe) then: thrown(UncheckedIOException) } @Requires(UnitTestPreconditions.FilePermissions)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/kubelet/network/dns/dns_test.go
pod.Spec.HostNetwork = tc.hostNetwork resType, err := getPodDNSType(pod) if tc.expectedError { if err == nil { t.Errorf("%s: GetPodDNSType(%v) got no error, want error", tc.desc, pod) } return } if resType != tc.expectedDNSType { t.Errorf("%s: GetPodDNSType(%v)=%v, want %v", tc.desc, pod, resType, tc.expectedDNSType) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 25.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go
if r1 == 0 { err = errnoErr(e1) } return } func findResource(module Handle, name uintptr, resType uintptr) (resInfo Handle, err error) { r0, _, e1 := syscall.Syscall(procFindResourceW.Addr(), 3, uintptr(module), uintptr(name), uintptr(resType)) resInfo = Handle(r0) if resInfo == 0 { err = errnoErr(e1) } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 195.8K bytes - Viewed (0)