- Sort Score
- Result 10 results
- Languages All
Results 731 - 740 of 2,907 for 2test (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
private var client = clientTestRule.newClient() @AfterEach internal fun tearDown() { factory.close() } @Test fun nonRetryableIOException() { val exception = IOException("Non-handshake exception") assertThat(retryTlsHandshake(exception)).isFalse() } @Test fun nonRetryableSSLHandshakeException() { val exception = SSLHandshakeException("Certificate handshake exception").apply {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/QueryRescorerTest.java
} return null; } }; // Test with string parameter Map<String, Object> stringParams = new HashMap<>(); stringParams.put("string", "test"); assertNotNull(queryRescorer.evaluate(stringParams)); // Test with number parameter Map<String, Object> numberParams = new HashMap<>(); numberParams.put("number", 123);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
// Guard to ensure test remains valid if constants change in future for (int c : WinError.WINERR_CODES) { assertNotEquals(unknownCode, c, "Chosen unknown code unexpectedly clashes with a known code"); } assertTrue(lookupMessage(unknownCode).isEmpty()); } @Test @DisplayName("Codes: all non-negative and unique")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
} @Test @DisplayName("Test initial indexNumber value is 0") void testInitialIndexNumber() { assertEquals(0L, fileInternalInfo.getIndexNumber()); } @Test @DisplayName("Test size method returns 8") void testSize() { assertEquals(8, fileInternalInfo.size()); } @Test @DisplayName("Test decode with valid data")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; public class AvFlagsTest { /** * Test constructor with raw bytes. */ @Test void testAvFlagsByteArrayConstructor() { // Test with a positive integer byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} /** * Test toString method behavior - requires valid configuration */ @Test @DisplayName("Test toString requires valid configuration") public void testToStringRequiresValidConfig() { // Constructor with null config throws exception, so we can't test toString with null config // Instead, test that toString works with a valid config // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(map.indexOf(null), is(0)); assertThat(map.indexOf("test3"), is(-1)); } /** * @throws Exception */ @Test public void testGet() throws Exception { assertThat(map.get("1"), is("test")); assertThat(map.get(null), is(nullValue())); assertThat(map.get("test3"), is(nullValue()));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
instance = new SmbComFindClose2(mockConfig, TEST_SID); } @Test void testConstructorAndToString() { String s = instance.toString(); // toString includes the class name and the sid field assertTrue(s.startsWith("SmbComFindClose2[")); assertTrue(s.contains("sid=" + TEST_SID)); } @Test void testWriteParameterWordsWireFormatLittleEndian() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
} /** * Test basic session lifecycle management */ @Test @Timeout(5) public void testSessionLifecycle() throws Exception { SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Test initial state - session starts with usage count > 0 due to transport.acquire()Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0)