- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 1,603 for best (0.02 sec)
-
src/test/java/jcifs/EmptyIteratorTest.java
import java.util.Iterator; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.RepeatedTest; import org.junit.jupiter.api.Test; /** * Comprehensive test suite for EmptyIterator class. * Tests the implementation of CloseableIterator for empty collections. */ @DisplayName("EmptyIterator Tests") class EmptyIteratorTest extends BaseTest {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
import okio.Buffer import okio.BufferedSink import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test @Tag("Slowish") class MultipartReaderTest { @Test fun `parse multipart`() { val multipart = """ |--simple boundary |Content-Type: text/plain; charset=utf-8 |Content-ID: abc | |abcd |efgh |--simple boundaryRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
assertNotNull(type3.getNTResponse()); }); } @Test @DisplayName("Should handle special characters in credentials") void testSpecialCharacters() throws Exception { // Given Type2Message type2 = createMockType2Message(); String specialDomain = "TEST-DOMAIN_123"; String specialUser = "test******@****.***"; String specialPassword = "P@ssw0rd!#$%";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
} public void test_getQueryClassName() { // Test that getQueryClassName returns the correct class name String className = matchAllQueryCommand.getQueryClassName(); assertEquals("MatchAllDocsQuery", className); assertEquals(MatchAllDocsQuery.class.getSimpleName(), className); } public void test_execute() { // Test execute method with normal parametersRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
} @Test @DisplayName("getFlags delegates to underlying mechanism context") void testGetFlagsDelegates() { SpnegoContext ctx = newContext(); when(this.mechContext.getFlags()).thenReturn(0xCAFE); assertEquals(0xCAFE, ctx.getFlags()); verify(this.mechContext, times(1)).getFlags(); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.ValueSource; import jcifs.internal.AllocInfo; import jcifs.internal.SMBProtocolDecodingException; /** * Test suite for FileFsSizeInformation class */ class FileFsSizeInformationTest {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
assertEquals(16, hash.length); } // Test unescape method @ParameterizedTest @CsvSource({ "'test%20string', 'test string'", "'test%25string', 'test%string'", "'test', 'test'", "'' , ''" }) void testUnescape(String input, String expected) throws Exception { assertEquals(expected, NtlmPasswordAuthentication.unescape(input)); } // Test getAnsiHash always returns 24 bytes regardless of lmCompatibility
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Test interface method byte level = mockFileInfo.getFileInformationLevel(); assertEquals(FileInformation.FILE_BASIC_INFO, level); // Verify interaction verify(mockFileInfo).getFileInformationLevel(); } /** * Test FileInformation as Decodable */ @Test @DisplayName("Test FileInformation decode method")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertTrue(transaction.maxParameterCount > 0); } @Test @DisplayName("Test setMaxBufferSize") void testSetMaxBufferSize() { transaction.setMaxBufferSize(8192); assertEquals(8192, transaction.maxBufferSize); } @Test @DisplayName("Test setMaxDataCount") void testSetMaxDataCount() { transaction.setMaxDataCount(4096);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0)