- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 120 for succeeds (1.27 sec)
-
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
} @Test public void testReconnectHandleSuccess() throws Exception { when(mockManager.getHandleForReconnect("/test/file.txt")).thenReturn(testHandle); // Create a test reconnector that succeeds TestHandleReconnector testReconnector = new TestHandleReconnector(mockManager, true); CompletableFuture<HandleInfo> future = testReconnector.reconnectHandle("/test/file.txt", new IOException("Network error"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
verify(handle, times(1)).release(); verifyNoMoreInteractions(handle); } @Test @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds") void ensureDFSResolved_success() throws Exception { // Arrange: default mock does nothing // Act: call method under test handle.ensureDFSResolved();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java
} /** * Retrieves an extractor for the specified key. * If multiple extractors are associated with the key, returns a composite extractor * that tries each extractor in order until one succeeds. * * @param key the key to look up * @return the extractor for the key, or null if not found */ public Extractor getExtractor(final String key) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
return DcerpcError.DCERPC_FAULT_OP_RNG_ERROR; } }).when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); // Subsequent call for MsrpcSamrConnect2 should succeed doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect2.class)); try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) { assertNotNull(handle);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
int rid = 100; // Mock the behavior of sendrecv for MsrpcSamrOpenAlias doAnswer(invocation -> { MsrpcSamrOpenAlias rpc = invocation.getArgument(0); rpc.retval = 0; // Simulate success return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenAlias.class)); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java
import org.junit.jupiter.params.provider.CsvSource; @DisplayName("NbtException Tests") class NbtExceptionTest { @Test @DisplayName("getErrorString success returns SUCCESS") void testSuccess() { assertEquals("SUCCESS", NbtException.getErrorString(NbtException.SUCCESS, 0)); } @Test @DisplayName("getErrorString for name service error with known code") void testNameServiceKnown() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/elevateword/admin_elevateword_upload.jsp
<la:form action="/admin/elevateword/upload/" enctype="multipart/form-data"> <div class="row"> <div class="col-md-12"> <div class="card card-outline card-success"> <div class="card-header"> <h3 class="card-title"> <la:message key="labels.elevate_word_link_upload"/> </h3>Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtException.java
*/ public class NbtException extends CIFSException { /** * */ private static final long serialVersionUID = 492638554095148960L; // error classes /** Success status code */ public static final int SUCCESS = 0; /** Name service error class */ public static final int ERR_NAM_SRVC = 0x01; /** Session service error class */ public static final int ERR_SSN_SRVC = 0x02;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
executor.shutdown(); // Then - All operations should succeed assertTrue(exceptions.isEmpty(), "No exceptions should occur"); assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed"); } /** * Test that buffer cache handles allocation when cache is full. */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji_upload.jsp
<la:hidden property="dictId"/> <div class="row"> <div class="col-md-12"> <div class="card card-outline card-success"> <div class="card-header"> <h3 class="card-title"> <la:message key="labels.dict_kuromoji_link_upload"/>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 6.4K bytes - Viewed (0)