- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 2,324 for TEST (0.03 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt
* limitations under the License. */ package okhttp3.internal import assertk.assertThat import assertk.assertions.isEqualTo import kotlin.test.Test class HostnamesTest { @Test fun canonicalizeInetAddressNotMapped() { val addressA = decodeIpv6("::1")!! assertThat(canonicalizeInetAddress(addressA)).isEqualTo(addressA) val addressB = byteArrayOf(127, 0, 0, 1)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
} } @Nested @DisplayName("Strategy Ordering") class StrategyOrderingTests { @Test @DisplayName("should execute strategies in priority order") void shouldExecuteStrategiesInPriorityOrder() throws Exception { // This test verifies that strategies are executed in the order they are provided // The actual priority ordering is handled by dependency injectionCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
internal/dsync/drwmutex_test.go
} }() mu := NewDRWMutex(ds, "test") mu.Unlock(t.Context()) } // Borrowed from rwmutex_test.go func TestUnlockPanic2(t *testing.T) { mu := NewDRWMutex(ds, "test-unlock-panic-2") defer func() { if recover() == nil { t.Fatalf("unlock of unlocked RWMutex did not panic") } mu.RUnlock(t.Context()) // Unlock, so -test.count > 1 works }() mu.RLock(id, source)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
* test what OkHttp does when both are reachable, or if only one is reachable. * * This test only runs on host machines that have both IPv4 and IPv6 addresses for localhost. */ @Timeout(30) class FastFallbackTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() // Don't use JUnit 5 test rules for these; otherwise we can't bind them to a single local IP.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java
import java.io.File; import java.io.InputStream; import java.net.URL; import java.util.Scanner; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; class UrlSourceTest { @Test void testUrlSource() { NullPointerException e = assertThrows(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (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()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 22.3K bytes - Click Count (0) -
cmd/endpoint-ellipses_test.go
if err != nil && testCase.success { t.Fatalf("Test %d: unexpected error: %v", i+1, err) } _, _, err = createServerEndpoints(testCase.serverAddr, srvCtxt.Layout.pools, srvCtxt.Layout.legacy) if err != nil && testCase.success { t.Errorf("Test %d: Expected success but failed instead %s", i+1, err) } if err == nil && !testCase.success { t.Errorf("Test %d: Expected failure but passed instead", i+1) } }) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.1K bytes - Click Count (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) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 9.3K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
import okhttp3.Request import org.junit.jupiter.api.Assumptions.assumeTrue import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Tests for SNI overriding on Android. */ @Tag("Remote") class SniOverrideTest { var client = OkHttpClient .Builder() .build() @Test fun getWithCustomSocketFactory() { assumeTrue(Build.VERSION.SDK_INT >= 24) class CustomSSLSocketFactory(Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt
} }) class FlakyTestQuarantineProject( model: CIBuildModel, stage: Stage, val os: Os, ) : Project({ id("${model.projectId}_FlakyQuarantine_${os.asName()}") name = "Flaky Test Quarantine - ${os.asName()}" model.stages .filter { it.stageName <= StageName.READY_FOR_RELEASE } .flatMap { it.functionalTests }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 5.6K bytes - Click Count (0)