- Sort Score
- Result 10 results
- Languages All
Results 41 - 45 of 45 for testClone (0.16 sec)
-
src/crypto/tls/handshake_server_test.go
s.Close() var opErr *net.OpError if !errors.As(err, &opErr) || opErr.Err != error(alertUnknownCA) { t.Errorf("Got error: %s; expected: %s", err, error(alertUnknownCA)) } } func TestClose(t *testing.T) { c, s := localPipe(t) go c.Close() err := Server(s, testConfig).Handshake() s.Close() if err != io.EOF { t.Errorf("Got error: %s; expected: %s", err, io.EOF) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
src/net/http/serve_test.go
6: {"/testThree?foo", "CONNECT", "foo", true}, 7: {"/testThree/?foo", "CONNECT", "foo:bar", true}, // canonicalization or not 8: {"/testOne/foo/..?foo", "GET", "foo", true}, 9: {"/testOne/foo/..?foo", "CONNECT", "404 page not found\n", false}, } for i, tt := range tests { req, _ := NewRequest(tt.method, ts.URL+tt.path, nil) res, err := ts.Client().Do(req) if err != nil { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/encoding/xml/marshal_test.go
EndElement{Name{"", "foo"}}, }, want: `<foo></foo>`, }, { desc: "directive", toks: []Token{ Directive("foo"), }, want: `<!foo>`, }} func TestClose(t *testing.T) { for _, tt := range closeTests { tt := tt t.Run(tt.desc, func(t *testing.T) { var out strings.Builder enc := NewEncoder(&out) for j, tok := range tt.toks {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 66K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
status = file->Tell(&position); EXPECT_EQ(status.code(), Code::OK); EXPECT_EQ(position, test_data.size()); } TEST_P(ModularFileSystemTest, TestClose) { const std::string filename = GetURIForPath("a_file"); std::unique_ptr<WritableFile> file; Status status = env_->NewWritableFile(filename, &file); if (!status.ok())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 27 20:25:58 UTC 2022 - 71K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
} got := f.ListPlugins() if diff := cmp.Diff(tt.want, got); diff != "" { t.Errorf("unexpected plugins (-want,+got):\n%s", diff) } }) } } func TestClose(t *testing.T) { tests := []struct { name string plugins *config.Plugins wantErr error }{ { name: "close doesn't return error", plugins: &config.Plugins{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0)