- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for TestNode (0.12 sec)
-
src/net/http/clientserver_test.go
"net/url" "os" "reflect" "runtime" "slices" "strings" "sync" "sync/atomic" "testing" "time" ) type testMode string const ( http1Mode = testMode("h1") // HTTP/1.1 https1Mode = testMode("https1") // HTTPS/1.1 http2Mode = testMode("h2") // HTTP/2 ) type testNotParallelOpt struct{} var ( testNotParallel = testNotParallelOpt{} )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 46.6K bytes - Viewed (0) -
src/net/http/transport_test.go
// Two subsequent requests and verify their response is the same. // The response from the server is our own IP:port func TestTransportKeepAlives(t *testing.T) { run(t, testTransportKeepAlives, []testMode{http1Mode}) } func testTransportKeepAlives(t *testing.T, mode testMode) { ts := newClientServerTest(t, mode, hostPortHandler).ts c := ts.Client() for _, disableKeepAlive := range []bool{false, true} {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
src/net/http/client_test.go
`DELETE / "c308"`, `DELETE /?code=404 "c404"`, } want := strings.Join(wantSegments, "\n") run(t, func(t *testing.T, mode testMode) { testRedirectsByMethod(t, mode, "DELETE", deleteRedirectTests, want) }) } func testRedirectsByMethod(t *testing.T, mode testMode, method string, table []redirectTest, want string) { var log struct { sync.Mutex bytes.Buffer } var ts *httptest.Server
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
src/net/http/fs_test.go
// in "Range": "bytes=-N", and should reject "bytes=--2". func TestServeFileRejectsInvalidSuffixLengths(t *testing.T) { run(t, testServeFileRejectsInvalidSuffixLengths, []testMode{http1Mode, https1Mode, http2Mode}) } func testServeFileRejectsInvalidSuffixLengths(t *testing.T, mode testMode) { cst := newClientServerTest(t, mode, FileServer(Dir("testdata"))).ts tests := []struct { r string wantCode int wantBody string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0) -
okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt
/** * Validates which environment is used by the IDE. */ class PlatformRuleTest { @RegisterExtension @JvmField val platform = PlatformRule() @Test fun testMode() { println(PlatformRule.getPlatformSystemProperty()) println(Platform.get().javaClass.simpleName) } @Test fun testGreenCase() { } @Test fun testGreenCaseFailingOnLater() {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 1.3K bytes - Viewed (0) -
src/net/http/request_test.go
b.Fatalf("Failed to copy %d bytes: %v", n, err) } run(b, func(b *testing.B, mode testMode) { runFileAndServerBenchmarks(b, mode, f, n) }, []testMode{http1Mode, https1Mode, http2Mode}) } func runFileAndServerBenchmarks(b *testing.B, mode testMode, f *os.File, n int64) { handler := HandlerFunc(func(rw ResponseWriter, req *Request) { defer req.Body.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy
// For example, when using PTS/TD for running this test, the JUnit Platform Launcher classes from the GE plugin take precedence toolingApi.requireDaemons() testCode() } boolean supportsEfficientClassFiltering() { return getTargetVersion() >= GradleVersion.version('4.7') } void launchTests(Collection<TestOperationDescriptor> testsToLaunch) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 08:42:44 UTC 2024 - 19.9K bytes - Viewed (0) -
src/net/http/transport_dial_test.go
t *testing.T connID int // distinguished Dials in logs ready chan error // sent on to complete the Dial net.Conn } func newTransportDialTester(t *testing.T, mode testMode) *transportDialTester { t.Helper() dt := &transportDialTester{ t: t, dials: make(chan *transportDialTesterConn), }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:11:57 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go
NL80211_MULTICAST_GROUP_REG = "regulatory" NL80211_MULTICAST_GROUP_SCAN = "scan" NL80211_MULTICAST_GROUP_TESTMODE = "testmode" NL80211_MULTICAST_GROUP_VENDOR = "vendor" NL80211_NAN_FUNC_ATTR_MAX = 0x10 NL80211_NAN_FUNC_CLOSE_RANGE = 0x9
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 251K bytes - Viewed (0)