- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 116 for scenarios (0.07 sec)
-
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
* Due to the iterator's constructor calling advance() immediately, which requires * the adapt() method to be functional, we test the behavior using simple mock * scenarios that don't require complex filter setups. */ @ExtendWith(MockitoExtension.class) class DirFileEntryAdapterIteratorTest { @Mock private SmbResource mockParent; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// When & Then assertEquals(free, allocInfo.getFree()); } @Test @DisplayName("Should handle overflow scenarios") void shouldHandleOverflowScenarios() { // Given - capacity at max, free space at max TestAllocInfo allocInfo = new TestAllocInfo(Long.MAX_VALUE, Long.MAX_VALUE); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
// But queries would be added again to FacetInfo (distinct handles duplicates) assertTrue(testFacetInfo.getAddedQueries().size() >= firstQueriesCount); } // Test complex scenarios public void test_init_withMixedQueries() { testFileTypeHelper.setTypes(new String[] { "pdf", "doc", "xls" }); facetQueryView.addQuery("label1", "filetype:html");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
assertEquals((byte) 0xFF, dst[1]); assertEquals((byte) 0xFF, dst[2]); assertEquals((byte) 0xFF, dst[3]); } @Test @DisplayName("Test writeUTime with DST scenarios") void testWriteUTimeWithDST() { when(mockConfig.getLocalTimezone()).thenReturn(mockTimeZone); byte[] dst = new byte[4]; long testTime = System.currentTimeMillis();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Security-focused test cases for Smb2NegotiateResponse input validation. * Tests various malformed input scenarios to ensure proper validation and * protection against buffer overflow, integer overflow, and other attacks. */ public class Smb2NegotiateResponseInputValidationTest { private Configuration mockConfig;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
assertEquals(TEST_CAPABILITIES, SMBUtil.readInt4(buffer, offset + 4)); // Capabilities } @Test @DisplayName("Should handle session binding scenarios") void testSessionBindingScenarios() throws Exception { // Test both true and false session binding boolean[] bindingValues = { true, false }; for (boolean binding : bindingValues) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
assertEquals(FileSystemInformation.FS_SIZE_INFO, freshInfo.getFileSystemInformationClass()); } } @Nested @DisplayName("Edge Cases and Real-World Scenarios") class EdgeCasesAndRealWorldTests { @Test @DisplayName("Should handle typical Windows NTFS configuration") void shouldHandleTypicalNTFSConfiguration() throws SMBProtocolDecodingException {
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/SmbTransportPoolTest.java
// Then verify(transportPool).removeTransport(transport); verify(transportPool).removeTransport(transport2); } } @Nested @DisplayName("Integration Scenarios") class IntegrationTests { @Test @DisplayName("Should complete full connection lifecycle") void testFullConnectionLifecycle() throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
* * <p>The job supports selective crawling by specifying configuration IDs for different * types of crawlers (web, file, data). It manages the crawler process lifecycle, * handles timeout scenarios, and ensures proper cleanup of resources.</p> * * <p>Key features:</p> * <ul> * <li>Concurrent crawler process management with configurable limits</li> * <li>Selective crawling based on configuration IDs</li>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
assertEquals(concreteImplementation, cacheMap.get(key)); assertNotEquals(oldEntry, cacheMap.get(key)); } } @Nested @DisplayName("Complex Scenarios Tests") class ComplexScenariosTests { @Test @DisplayName("Should handle multiple fixup operations") void testMultipleFixupOperations() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0)