- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 3,143 for test (0.05 sec)
-
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
*/ package com.google.common.graph; import static com.google.common.truth.Truth.assertThat; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** Tests for {@link ImmutableValueGraph} . */ @RunWith(JUnit4.class) public class ImmutableValueGraphTest { @Test public void immutableValueGraph() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
String datePart = DATE_FILTER.matcher(ts).replaceAll(""); /* Allow for this test running across midnight */ Set<String> expected = new HashSet<>(Arrays.asList(dateBefore, dateAfter)); assertTrue(expected.contains(datePart), "Expected " + datePart + " to be in " + expected); } @Test void buildNumberNotSet() { RemoteSnapshotMetadata metadata =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
} @Test fun stringWithDefaultCharsetAdded() { val contentType = "text/plain".toMediaType() val body = "\u0800".toRequestBody(contentType) assertThat(body.contentType()).isEqualTo("text/plain; charset=utf-8".toMediaType()) assertThat(body.contentLength()).isEqualTo(3) assertThat(bodyToHex(body)).isEqualTo("e0a080") } @Test fun stringWithNonDefaultCharsetSpecified() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
} /** No SNI for literal IPv6 addresses. */ @Test fun ipv6() { val recordedRequest = requestToHostnameViaProxy("2607:f8b0:400b:804::200e") assertThat(recordedRequest.requestUrl!!.host).isEqualTo("2607:f8b0:400b:804::200e") assertThat(recordedRequest.handshakeServerNames).isEmpty() } /** No SNI for literal IPv4 addresses. */ @Test fun ipv4() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/signature-v2_test.go
} for i, test := range testCases { formValues := make(http.Header) formValues.Set("Awsaccesskeyid", test.accessKey) formValues.Set("Signature", test.signature) formValues.Set("Policy", test.policy) _, errCode := doesPolicySignatureV2Match(formValues) if errCode != test.errCode { t.Fatalf("(%d) expected to get %s, instead got %s", i+1, niceError(test.errCode), niceError(errCode)) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 14 10:08:40 UTC 2022 - 8K bytes - Viewed (0) -
cmd/bucket-replication-utils_test.go
t.Errorf("Test%d (%s): Internal replication status got %s , want %s", i+1, test.name, repStatusStr, test.expectedReplicationStatusInternal) } if repStatus := rinfos.ReplicationStatus(); repStatus != test.expectedReplicationStatus { t.Errorf("Test%d (%s): ReplicationStatus got %s , want %s", i+1, test.name, repStatus, test.expectedReplicationStatus) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 08 20:27:40 UTC 2023 - 9.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
assertEquals("test", artifact.getScope(), "Check scope"); artifact = getArtifact(project, "maven-test-test", "scope-runtime"); assertEquals("test", artifact.getScope(), "Check scope"); // check all transitive deps of a provided dependency are provided scope, except for test checkGroupIdScope(project, "provided", "maven-test-provided");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/kms-handlers_test.go
} }) } // Test when the GlobalKMS is configured but the credentials are invalid GlobalKMS = kms.NewStub("default-test-key") for _, test := range tests { t.Run(test.name+" invalid credentials", func(t *testing.T) { req := buildKMSRequest(t, test.method, test.path, userAccessKey, userSecretKey, test.query) rec := httptest.NewRecorder()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 22.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt
import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory import kotlin.test.assertFailsWith import okhttp3.internal.applyConnectionSpec import okhttp3.internal.platform.Platform.Companion.isAndroid import okhttp3.testing.PlatformRule import okhttp3.testing.PlatformVersion.majorVersion import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class ConnectionSpecTest {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.7K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
} @Test void testGetVersionReturnsResolvedVersionOnSnapshot() { assertEquals(snapshotResolvedVersion, snapshotArtifact.getVersion()); // this is FOUL! // snapshotArtifact.isSnapshot(); assertEquals(snapshotSpecVersion, snapshotArtifact.getBaseVersion()); } @Test void testGetDependencyConflictId() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0)