- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 119 for unsuccessful (2.96 sec)
-
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP); when(locator.getURL()).thenReturn(createSmbURL("smb://")); // Mock successful but empty response when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { // The response is the second argument Object response = invocation.getArgument(1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessorTest.java
assertTrue(processor.isSuccessful(responseData)); responseData.setHttpStatusCode(100); assertFalse(processor.isSuccessful(responseData)); responseData.setHttpStatusCode(304); assertFalse(processor.isSuccessful(responseData)); responseData.setHttpStatusCode(404); assertFalse(processor.isSuccessful(responseData)); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterResponse.java
public WitnessUnregisterResponse() { // Default constructor } private int returnCode; private String error; /** * Checks if the unregistration was successful. * * @return true if successful */ public boolean isSuccess() { return returnCode == 0; } /** * Gets a human-readable error description. * * @return the error description
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
void testClose_Successful() throws IOException { // Test case: close() when opened and successful MsrpcSamrCloseHandle String server = "testServer"; int access = 123; // Setup for successful constructor doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); // Setup for successful close
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/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
@Test void testUnregistration() throws Exception { // Setup successful registration WitnessRegisterResponse registerResponse = mock(WitnessRegisterResponse.class); lenient().when(registerResponse.isSuccess()).thenReturn(true); lenient().when(registerResponse.getRegistrationId()).thenReturn("test-reg-123"); // Setup successful unregistrationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
} @Test void constructor_shouldOpenDomainSuccessfully() throws IOException { // Arrange int access = 0x01; // Example access value // Simulate successful RPC call doAnswer(invocation -> { MsrpcSamrOpenDomain rpc = invocation.getArgument(0); rpc.retval = 0; // Success return null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
}); } /** * Upload a stopwords file. * * @param form the upload form containing the file and dictionary ID * @return HTML response redirecting to the list page after successful upload */ @Execute @Secured({ ROLE }) public HtmlResponse upload(final UploadForm form) { validate(form, messages -> {}, () -> uploadpage(form.dictId));Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
/** * Tests for the {@link ASN1Util} class. */ class ASN1UtilTest { // --- as(Class, Object) --- @Test void testAs_Object_Success() throws PACDecodingException { // Test successful casting String expected = "test string"; Object obj = expected; String result = ASN1Util.as(String.class, obj); assertSame(expected, result); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
**Key Test Areas**: - Resource closure on successful extraction (MS Office extractors) - Resource closure on failed extraction - Improved error messages with context - Input validation using `validateInputStream()` **Covered Extractors**: - MsWordExtractor - MsExcelExtractor - MsPowerPointExtractor - TextExtractor **Test Count**: 8 tests **Key Scenarios**: - ✅ Successful extraction closes resources properly
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0)