- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 2,907 for xtest (0.01 sec)
-
src/test/java/jcifs/util/CryptoTest.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 Crypto utility functionality */ @DisplayName("Crypto Utility Tests") class CryptoTest extends BaseTest { @Test @DisplayName("Should calculate MD4 hash correctly")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
assertEquals("", basePath); basePath = virtualHostHelper.getVirtualHostBasePath(null, new HtmlNext("/test")); assertEquals("", basePath); basePath = virtualHostHelper.getVirtualHostBasePath(" ", new HtmlNext("/test")); assertEquals("", basePath); // StringUtil.isBlank considers whitespace as blank }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
} catch (Exception e) { throw new RuntimeException("Failed to access field " + fieldName, e); } } /** * Test that the constructor initializes all fields correctly */ @Test public void testConstructor() { // Arrange int fid = 0x1234; int offset = 100; int remaining = 50; byte[] buffer = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
import java.util.Properties; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; import jcifs.BaseTest; import jcifs.CIFSException; import jcifs.DialectVersion; import jcifs.ResolverType; /** * Test class for PropertyConfiguration functionality */ @DisplayName("PropertyConfiguration Tests")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
*/ @Test void testConstructor() { // Given String serverName = "test-server"; // When MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum(serverName); // Then assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null."); // The server name is stored in a protected field without a public getter, so we cannot directly test it.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
// Test with null username String username = null; FessUserNotFoundException exception = new FessUserNotFoundException(username); assertNotNull(exception); assertEquals("User is not found: null", exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withSpecialCharacters() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertDoesNotThrow(() -> InputValidator.validateBufferSize(0, 1000, "test")); assertDoesNotThrow(() -> InputValidator.validateBufferSize(1000, 1000, "test")); } @Test @DisplayName("Test invalid buffer size validation") void testInvalidBufferSize() { assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(-1, 1000, "test"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
class ConstructorTests { @Test @DisplayName("Should create response with configuration") void testConstructor() { Smb2WriteResponse writeResponse = new Smb2WriteResponse(mockConfig); assertNotNull(writeResponse); // Note: getConfig() is protected, cannot test directly } @Test @DisplayName("Should initialize count to zero")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
} super.tearDown(); } // Test getType method public void test_getType() { assertEquals("mapping", charMappingFile.getType()); } // Test getPath method public void test_getPath() { assertEquals(testFile.getAbsolutePath(), charMappingFile.getPath()); } // Test getSimpleName method public void test_getSimpleName() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
} @Test @DisplayName("Should test isErrorResponseStatus with various status codes") void testIsErrorResponseStatus() throws Exception { // Test with NT_STATUS_NOTIFY_ENUM_DIR - should not be error setStatus(response, NtStatus.NT_STATUS_NOTIFY_ENUM_DIR); assertFalse(response.isErrorResponseStatus()); // Test with success statusRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0)