- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 2,907 for xtest (0.02 sec)
-
src/test/java/jcifs/http/NtlmHttpFilterTest.java
} @Test void testDestroy() { // Test that destroy method executes without errors assertDoesNotThrow(() -> filter.destroy()); } @Test void testDoFilter_noAuthorizationHeader_shouldChallengeClient() throws Exception { // Initialize filter first initializeFilter();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
} } @Test void testReadDataWireFormatWithEmptyData() throws SMBProtocolDecodingException { byte[] buffer = new byte[100]; int result = response.readDataWireFormat(buffer, 0, 0); assertEquals(0, result); } @Test void testReadDataWireFormatAtBufferBoundary() throws SMBProtocolDecodingException { // Test with data exactly matching output buffer size
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// This is a weak check, but better than nothing. // A more robust test would require a real SMB1SigningDigest. assertTrue(writtenTime != 0 || lastWriteTime == 0); } /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeBytesWireFormat(byte[], int)}. */ @Test public void testWriteBytesWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import jcifs.BaseTest; /** * Test class for SmbException functionality */ @DisplayName("SmbException Tests") class SmbExceptionTest extends BaseTest { @Test @DisplayName("Should create SmbException with NT status code")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
} @Test @DisplayName("Test decode with different buffer offset") void testDecodeWithDifferentOffset() throws SMBProtocolDecodingException { // Prepare test data with different offset byte[] buffer = new byte[100]; int bufferIndex = 50; // Set test values int testCapabilities = 0xABCDEF00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
// Setup mock name lenient().when(mockName.writeWireFormat(any(byte[].class), anyInt())).thenReturn(34); mockName.hexCode = 0x20; mockName.name = "TEST"; mockName.scope = "test.scope"; } @Test void constructor_shouldInitializeFieldsCorrectly() throws Exception { // Act nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName); // Assert
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/internal/smb2/rdma/RdmaIntegrationTest.java
* (that require system properties to be set for execution). * * Integration tests require system properties: * - rdma.test.enabled=true (to enable RDMA integration tests) * - rdma.test.server=hostname/IP (target server for testing) * - rdma.test.port=445 (target port, defaults to 445) */ public class RdmaIntegrationTest { private String testServer; private int testPort;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
IntervalControlHelper helper = new IntervalControlHelper(); // Test default state assertTrue(helper.isCrawlerRunning()); // Test setting to false helper.setCrawlerRunning(false); assertFalse(helper.isCrawlerRunning()); // Test setting back to true helper.setCrawlerRunning(true); assertTrue(helper.isCrawlerRunning()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
validator.initialize(annotation); // Test null context - should return true for null value regardless of context assertTrue(validator.isValid(null, null)); } public void test_initialize_withValidParameters() { final CustomSize annotation = createBasicAnnotation(); validator.initialize(annotation); // Test that initialization completes without exception }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt
* */ package okhttp.android.test import assertk.all import assertk.assertFailure import assertk.assertions.cause import assertk.assertions.hasClass import assertk.assertions.hasMessage import assertk.assertions.isNotNull import java.io.IOException import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.JUnit4 /** * Android test running with only stubs. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.6K bytes - Viewed (0)