- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 164 for dashes (2.07 sec)
-
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
assertEquals(0x123456, target.getPipeType()); assertEquals("\\\\pipe\\\\my-pipe", target.getUncPath()); } @Test @DisplayName("ensureTreeConnected caches tree and acquires on each call") void testEnsureTreeConnectedCaching() throws CIFSException { // Arrange: first ensureTreeConnected comes from pipe when(pipe.ensureTreeConnected()).thenReturn(tree);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
assertFalse(auth.isAnonymous()); assertFalse(auth.isGuest()); } @ParameterizedTest @EnumSource(SubjectVariant.class) @DisplayName("getSubject: caches results and refresh resets cache") void testGetSubjectLoginFailuresCacheAndRefresh(SubjectVariant variant) throws Exception { JAASAuthenticator auth = buildAuthenticator(variant);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java
* {@link SmbException#getStatusByCode(int)}. */ @DisplayName("SmbAuthException Tests") class SmbAuthExceptionTest { /** * Provides a set of error codes covering normal, edge and unknown cases. */ static Stream<Arguments> errorCodes() { return Stream.of( // Known NT status code - NT_STATUS_UNSUCCESSFULRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
/** * Tests for SmbFilenameFilter interface behaviors via simple implementations. * Each test creates a concrete filter to validate expected contract semantics * including normal operation, null handling, edge cases, and exception flow. */ @ExtendWith(MockitoExtension.class) class SmbFilenameFilterTest { @Mock SmbFile mockDir; /** * Happy-path: a filter that accepts any name. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
import org.codelibs.fess.crawler.exception.ExtractException; import org.dbflute.utflute.core.PlainTestCase; /** * Enhanced test class for TextExtractor covering improved error messages and edge cases. */ public class TextExtractorEnhancedTest extends PlainTestCase { private TextExtractor textExtractor; @Override protected void setUp() throws Exception { super.setUp();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
verify(mockAllocInfo, times(1)).getCapacity(); verify(mockAllocInfo, times(1)).getFree(); } /** * Parameterised test of capacity values, including edge cases such as * zero and negative capacities. */ @ParameterizedTest @ValueSource(longs = { 0L, -1L, Long.MAX_VALUE }) @DisplayName("capacity may be any long value")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt
Sitemap: not-a-valid-url # Case 12: Malformed lines that should be completely ignored This line is completely invalid :NoKey NoValue: ::: : # Case 13: Numeric crawl-delay edge cases User-agent: NumericBot Crawl-delay: 0 Crawl-delay: 999999999 Crawl-delay: 1.23e10 # Case 14: Tab characters instead of spaces User-agent: TabBot Disallow: /tab1/ Allow: /tab2/
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("send(request, response, varargs) forwards directly") void sendRequestResponseVarargsDelegates() throws Exception { // Confirms varargs overload passes through to the underlying connection CommonServerMessageBlockRequest request = mock(CommonServerMessageBlockRequest.class); CommonServerMessageBlockResponse response = mock(CommonServerMessageBlockResponse.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import org.junit.jupiter.api.Test; /** * Security-focused test cases for BufferCache to verify buffer overflow protection. */ public class BufferCacheSecurityTest { /** * Test that buffer allocation validates size to prevent overflow. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
assertTrue(negotiationResponse.isSigningRequired()); assertTrue(negotiationResponse.isSigningNegotiated()); } @Test @DisplayName("Test buffer size edge cases") void testBufferSizeEdgeCases() { // Test minimum buffer sizes when(negotiationResponse.getSendBufferSize()).thenReturn(1); when(negotiationResponse.getReceiveBufferSize()).thenReturn(1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0)