- Sort Score
- Result 10 results
- Languages All
Results 1491 - 1500 of 1,632 for testLong (0.07 sec)
-
src/test/java/jcifs/SmbWatchHandleTest.java
} /** * Test call() method as Callable in executor service */ @Test void testCallAsCallable() throws Exception { // Create a real implementation for testing Callable behavior SmbWatchHandle realHandle = new SmbWatchHandle() { private int callCount = 0; @Override public List<FileNotifyInformation> watch() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
} @Test @DisplayName("Test Request with concrete implementation") void testConcreteImplementation() { // Create a concrete implementation for testing TestRequest testRequest = new TestRequest(); // Test initResponse CommonServerMessageBlockResponse testResponse = testRequest.initResponse(context); assertNotNull(testResponse);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
import okhttp3.MediaType.Companion.toMediaType import okhttp3.RequestBody.Companion.toRequestBody import okhttp3.ResponseBody.Companion.toResponseBody import okhttp3.internal.closeQuietly import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import org.bouncycastle.tls.TlsFatalAlert import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 12.2K bytes - Viewed (1) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
import javax.net.ssl.HttpsURLConnection import kotlin.test.assertFailsWith import okhttp3.Headers import okhttp3.Protocol import okhttp3.RecordingHostnameVerifier import okhttp3.TestUtil.assumeNotWindows import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assertions.fail import org.junit.jupiter.api.BeforeEach
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
private DfsReferralDataInternal concreteImplementation; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); // Using concrete implementation for integration testing // Note: DfsReferralDataImpl default constructor creates an object with null server/share/path // Some methods like fixupHost/fixupDomain require these to be set via combine() or fromReferral()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectorsTest.java
import com.google.common.base.Equivalence; import com.google.common.base.Function; import com.google.common.base.MoreObjects; import com.google.common.collect.Table.Cell; import com.google.common.testing.CollectorTester; import java.util.function.BiPredicate; import java.util.function.BinaryOperator; import java.util.stream.Collector; import java.util.stream.Stream; import junit.framework.TestCase;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows; import com.google.common.base.Predicate; import com.google.common.base.Predicates; import com.google.common.testing.EqualsTester; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.NavigableSet;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
assertArrayEquals(newFileId, actualFileId); assertEquals(96, bytesWritten); // 32 bytes header + 64 bytes info } // Helper interface for testing private interface TestFileInformation extends FileInformation, Encodable { }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
// This is a valid Type 3 message with proper structure private final String type3MessageBase64 = createValidType3Message(); /** * Creates a valid Type 3 NTLM message for testing */ private static String createValidType3Message() { // Build a properly formatted Type 3 message byte[] message = new byte[200]; // NTLMSSP signature
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
} @Test @DisplayName("Should handle invalid protocol ID length") void testInvalidProtocolIdLength() { // Protocol ID is a constant in transform header, not settable // Testing invalid protocol ID during decode instead byte[] invalidBuffer = new byte[52]; // Write invalid protocol ID invalidBuffer[0] = 0x00; invalidBuffer[1] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0)