- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 2,482 for 2test (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
} @Test public void testWriteParameterWordsWireFormat() { // This method is expected to do nothing and return 0 int result = smbComQueryInformation.writeParameterWordsWireFormat(new byte[0], 0); assertEquals(0, result); } @Test public void testWriteBytesWireFormat() { // Test the writing of bytes to a byte array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K 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/jcifs/smb1/smb1/SmbConstantsTest.java
import org.junit.jupiter.api.Test; import jcifs.SmbConstants; /** * Basic unit tests for {@link SmbConstants}. The interface only * provides {@code static final} constants, so the test suite focuses on * value correctness, bit‑mask logic, and some derived properties. * * <p>Mockito is exercised in a dummy scenario to satisfy the * request for an interaction test. The mock represents a
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
} // Test main method with valid arguments public void test_main_validArguments() { // Cannot directly test main as it calls System.exit // Test options parsing instead SuggestCreator.Options options = new SuggestCreator.Options(); options.sessionId = "test-session"; options.name = "test-name"; assertEquals("test-session", options.sessionId);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
} super.tearDown(); } // Test basic initialization public void test_hookInitialization() { assertNotNull(apiFailureHook); } // Test API result status codes public void test_apiResultStatusCodes() { // Test OK status ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
assertTrue(result.contains(pipeName), "toString should contain pipe name"); } @Test public void testMultiplePipeNames() { // Test with various pipe names String[] pipeNames = { "\\\\pipe\\test", "\\\\pipe\\PIPE\\sql\\query", "\\\\pipe\\spoolss", "\\\\pipe\\winreg" }; for (String pipeName : pipeNames) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt
package okhttp3 import java.util.Locale import kotlin.test.assertEquals import kotlin.test.assertNull import okhttp3.MediaType.Companion.toMediaType import okhttp3.internal.platform.Platform.Companion.isAndroid import org.junit.jupiter.api.Test class MediaTypeJvmTest : MediaTypeGetTest() { override fun MediaType.charsetName(): String? = this.charset()?.name() @Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
assertEquals("mail.subject.test.prefix", FessEnv.MAIL_SUBJECT_TEST_PREFIX); assertEquals("mail.return.path", FessEnv.MAIL_RETURN_PATH); } // Test default values public void xtest_defaultValues() { // Disabled due to initialization issues // Test getLastaDiSmartDeployMode assertEquals("warm", fessEnv.getLastaDiSmartDeployMode()); // Test getDevelopmentHere and isDevelopmentHere
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
}); } @Test @DisplayName("Test inherited behavior from parent class") void testInheritedBehavior() { // Test that response inherits from SmbComTransactionResponse assertTrue(response.hasMoreElements()); assertNotNull(response.nextElement()); // Test reset behavior response.reset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)