- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for invalidPort (0.18 sec)
-
pkg/util/flag/flags_test.go
desc: "valid ipv4 with port", argc: "blah --ipport=0.0.0.0:8080", expectVal: "0.0.0.0:8080", }, { desc: "invalid ipv4 with invalid port", argc: "blah --ipport=0.0.0.0:invalidport", expectErr: true, expectVal: defaultIPPort, }, { desc: "invalid IP with port", argc: "blah --ipport=invalidip:8080", expectErr: true, expectVal: defaultIPPort, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 14 10:45:23 UTC 2021 - 8.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
requestBuilder.url("ftp://hostname/path") }.also { expected -> assertThat(expected.message).isEqualTo("Expected URL scheme 'http' or 'https' but was 'ftp'") } } @Test fun invalidPort() { val requestBuilder = Request.Builder() assertFailsWith<IllegalArgumentException> { requestBuilder.url("http://localhost:65536/") }.also { expected ->
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/testdata/README.md
Keys in this directory are generated for testing purposes only. In this pr validCert(mycertvalid.crt): ``` Validity Not Before: Apr 26 23:26:52 2017 GMT Not After : Apr 2 23:26:52 2117 GMT ``` InvalidCert(mycertinvalid.crt): ``` Validity Not Before: Dec 16 06:46:25 2014 GMT Not After : Dec 16 06:46:25 2015 GMT
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 02 15:22:00 UTC 2021 - 319 bytes - Viewed (0) -
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py
client = TestClient(app, base_url="http://subdomain.example.com") response = client.get("/") assert response.status_code == 200, response.text client = TestClient(app, base_url="http://invalidhost") response = client.get("/")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 570 bytes - Viewed (0) -
security/pkg/k8s/chiron/utils_test.go
k8sCaCertFile string secretNames []string dnsNames []string serviceNamespaces []string secretName string secretNameSpace string invalidCert bool expectFail bool certificateData []byte }{ { name: "read signed cert should succeed", gracePeriodRatio: 0.6, k8sCaCertFile: "./test-data/example-ca-cert.pem",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
guava/src/com/google/common/net/HostAndPort.java
* @throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out * of range. */ public static HostAndPort fromParts(String host, int port) { checkArgument(isValidPort(port), "Port out of range: %s", port); HostAndPort parsedHost = fromString(host); checkArgument(!parsedHost.hasPort(), "Host has a port: %s", host);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Aug 22 20:55:57 UTC 2023 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* @throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out * of range. */ public static HostAndPort fromParts(String host, int port) { checkArgument(isValidPort(port), "Port out of range: %s", port); HostAndPort parsedHost = fromString(host); checkArgument(!parsedHost.hasPort(), "Host has a port: %s", host);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Aug 22 20:55:57 UTC 2023 - 11.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy
result.executionReasons == ["No history is available."] } def "out of date when work fails validation"() { given: execute(unitOfWork) def invalidWork = builder .withValidator { context -> context .forType(UnitOfWork, false) .visitPropertyProblem {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 23.7K bytes - Viewed (0) -
security/pkg/util/certutil_test.go
cert: testCert, now: time.Date(2017, time.August, 24, 16, 0, 0, 40, time.UTC), expectedErr: "got a certificate that should be renewed now", }, "Invalid cert pem": { cert: []byte(`INVALIDCERT`), now: time.Date(2017, time.August, 23, 21, 0, 0, 40, time.UTC), expectedErr: "invalid PEM encoded certificate", }, } cu := NewCertUtil(50) // Grace period percentage is set to 50
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 30 19:33:26 UTC 2023 - 3.1K bytes - Viewed (0) -
cmd/api-errors_test.go
{err: ObjectNotFound{}, errCode: ErrNoSuchKey}, {err: ObjectNameInvalid{}, errCode: ErrInvalidObjectName}, {err: InvalidUploadID{}, errCode: ErrNoSuchUpload}, {err: InvalidPart{}, errCode: ErrInvalidPart}, {err: InsufficientReadQuorum{}, errCode: ErrSlowDownRead}, {err: InsufficientWriteQuorum{}, errCode: ErrSlowDownWrite}, {err: InvalidUploadIDKeyCombination{}, errCode: ErrNotImplemented},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 25 15:13:08 UTC 2023 - 3.4K bytes - Viewed (0)