- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 148 for testLog (0.97 sec)
-
src/test/java/jcifs/SmbWatchHandleTest.java
} /** * Test call() method as Callable in executor service */ @Test void testCallAsCallable() throws Exception { // Create a real implementation for testing Callable behavior SmbWatchHandle realHandle = new SmbWatchHandle() { private int callCount = 0; @Override public List<FileNotifyInformation> watch() throws CIFSException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (1) -
src/test/java/jcifs/internal/RequestTest.java
} @Test @DisplayName("Test Request with concrete implementation") void testConcreteImplementation() { // Create a concrete implementation for testing TestRequest testRequest = new TestRequest(); // Test initResponse CommonServerMessageBlockResponse testResponse = testRequest.initResponse(context); assertNotNull(testResponse);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
private SMB1SigningDigest mockDigest; @Mock private ServerMessageBlock mockResponse; private TestServerMessageBlock testBlock; /** * Test implementation of ServerMessageBlock for testing */ private static class TestServerMessageBlock extends ServerMessageBlock { private int paramWordsWritten = 0; private int bytesWritten = 0; private int paramWordsRead = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
*/ @Test public void testRetryLogicMaxRetryCount() throws Exception { fesenClient.setMaxRetryCount(5); fesenClient.setRetryInterval(10L); // Short interval for testing final AtomicInteger attemptCount = new AtomicInteger(0); final ActionFuture<String> mockFuture = mock(ActionFuture.class); // Fail 5 times, succeed on 6th attemptRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
class NtTransQuerySecurityDescTest { @Mock private Configuration mockConfig; private NtTransQuerySecurityDesc querySecurityDesc; // Security information flag constants for testing private static final int OWNER_SECURITY_INFORMATION = 0x00000001; private static final int GROUP_SECURITY_INFORMATION = 0x00000002; private static final int DACL_SECURITY_INFORMATION = 0x00000004;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
when(context.getConfig()).thenReturn(config); when(config.isDirectoryNotificationsEnabled()).thenReturn(false); // Create real lease manager for integration testing baseLeaseManager = new LeaseManager(context); directoryLeaseManager = new DirectoryLeaseManager(context, baseLeaseManager); } @AfterEach public void tearDown() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
class ImplementationTests { @Test @DisplayName("Test concrete implementation of FileNotifyInformation") void testConcreteImplementation() { // Create a simple implementation for testing FileNotifyInformation impl = new FileNotifyInformation() { private final int action = FileNotifyInformation.FILE_ACTION_MODIFIED;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
assertNotNull(readings); assertEquals(1, readings.size()); assertEquals("TEST", readings.get(0)); } /** * Test implementation of ReadingConverter for testing purposes */ private static class TestReadingConverter implements ReadingConverter { private boolean initialized = false; private int initCount = 0;Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
assertTrue(conn instanceof Handler.StorageURLConnection); Handler.StorageURLConnection storageConn = (Handler.StorageURLConnection) conn; // Use reflection to access private fields for testing assertEquals("mybucket", getField(storageConn, "bucketName")); assertEquals("path/to/object.txt", getField(storageConn, "objectName")); } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
@ExtendWith(MockitoExtension.class) @DisplayName("DcerpcMessage Tests") class DcerpcMessageTest { @Mock private NdrBuffer mockBuffer; private TestDcerpcMessage message; // Concrete implementation for testing abstract DcerpcMessage private static class TestDcerpcMessage extends DcerpcMessage { private int opnumValue; public TestDcerpcMessage(int opnumValue) { this.opnumValue = opnumValue;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0)