- Sort Score
- Result 10 results
- Languages All
Results 1131 - 1140 of 1,595 for Tests (0.1 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull import okio.buffer import okio.source import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** Runs the web platform URL tests against Java URL models. */ class WebPlatformUrlTest { class TestDataParamProvider : SimpleProvider() { override fun arguments() = ArrayList<Any>(loadTests()) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
import java.math.RoundingMode; import java.util.SortedMap; import java.util.SortedSet; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link MultimapBuilder}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class MultimapBuilderTest extends TestCase { @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link SmbComLogoffAndX}. */ @ExtendWith(MockitoExtension.class) class SmbComLogoffAndXTest { @Test @DisplayName("constructor accepts null andx") void constructorWithNullAndx() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Test class for NtStatus constants */ @DisplayName("NtStatus Tests") class NtStatusTest { @Test @DisplayName("Should define well-known NT status constants") void testWellKnownStatusConstants() { // Verify important NT status constants are defined
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
/* * © 2025 CodeLibs, Inc. */ package jcifs.tests.persistent; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import org.codelibs.curl.Curl; import org.junit.After; import org.junit.Test; /** * Test class for ContentCache. * Tests memory-based and file-based content caching. */ public class ContentCacheTest { private File tempFile; @After public void tearDown() { if (tempFile != null && tempFile.exists()) {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
mockwebserver/README.md
val request3 = server.takeRequest() assertEquals("/v1/chat/messages/3", request3.url.encodedPath) // Shut down the server. Instances cannot be reused. server.close() } ``` Your unit tests might move the `server` into a field so you can shut it down from your test's `tearDown()`. ### API #### MockResponse Mock responses default to an empty response body and a `200` status code.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:40:52 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
fail<Any>() } catch (ioe: IOException) { assertThat(ioe).hasMessage("google.com") assertThat(ioe.cause!!).isInstanceOf<EOFException>() } } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
import jakarta.servlet.http.HttpSession; import jcifs.SmbResourceLocator; import jcifs.context.SingletonContext; import jcifs.smb.NtlmPasswordAuthentication; import jcifs.smb.SmbFile; /** * Unit tests for the NetworkExplorer servlet. * Tests initialization, authentication handling, and servlet lifecycle. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class NetworkExplorerTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java
import java.util.Map.Entry; import java.util.Set; import junit.framework.TestSuite; import org.jspecify.annotations.Nullable; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap * implementation. */ @GwtIncompatible public class SortedMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> { public static <K, V> SortedMapTestSuiteBuilder<K, V> using(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5K bytes - Viewed (0)