- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 325 for extentions (0.08 sec)
-
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
this.commandDestroyTimeout = commandDestroyTimeout; } /** * Gets file extension from MIME type for creating temp files with proper extensions. * This helps ImageMagick correctly identify file formats. * @param mimeType The MIME type of the content. * @return The file extension including the dot (e.g., ".gif"), or empty string if unknown. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 04 08:02:36 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
import jcifs.CIFSException; import jcifs.SmbTransport; import jcifs.SmbTree; /** * Tests for SmbSessionInternal interface using Mockito to exercise * method contracts, checked exceptions, and interactions with collaborators. */ @ExtendWith(MockitoExtension.class) public class SmbSessionInternalTest { @Mock private SmbSessionInternal session; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
assertTrue(Arrays.asList(clazz.getInterfaces()).contains(SmbResourceLocator.class), "Should extend SmbResourceLocator"); // shouldForceSigning(): boolean, no params, no checked exceptions Method m1 = clazz.getMethod("shouldForceSigning"); assertEquals(boolean.class, m1.getReturnType()); assertEquals(0, m1.getParameterCount()); assertEquals(0, m1.getExceptionTypes().length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@DisplayName("close method should not declare exceptions") void testCloseMethodExceptions() throws NoSuchMethodException { // Given Method closeMethod = SmbResource.class.getMethod("close"); // When Class<?>[] exceptions = closeMethod.getExceptionTypes(); // Then assertEquals(0, exceptions.length, "close() should not declare any exceptions");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.SmbSession; /** * Tests for SmbTransportInternal interface using Mockito mocks to * exercise method contracts, checked exceptions, and interactions. */ @ExtendWith(MockitoExtension.class) public class SmbTransportInternalTest { @Mock private SmbTransportInternal transport; @Mock private jcifs.CIFSContext ctx;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
verify(fd, never()).markClosed(); } @Test @DisplayName("available() wraps SmbException to IOException") void available_wrapsException() throws Exception { // Verify exceptions from th.send are converted to IOException via seToIoe SmbPipeInputStream stream = newStreamWithMinimalStubs(true); when(handle.ensureOpen()).thenReturn(fd); when(fd.getTree()).thenReturn(tree);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/ExtensionPlugin.java
import org.codelibs.opensearch.extension.analysis.KanjiNumberFilterFactory; import org.codelibs.opensearch.extension.analysis.NGramSynonymTokenizerFactory; import org.codelibs.opensearch.extension.analysis.NumberConcatenationFilterFactory; import org.codelibs.opensearch.extension.analysis.PatternConcatenationFilterFactory; import org.codelibs.opensearch.extension.analysis.PosConcatenationFilterFactory;
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Tue Jul 08 14:37:06 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
byte[] b = new byte[] { 10, 11, 12 }; spyTarget.send(b, 1, 2); verify(out).writeDirect(b, 1, 2, 1); } @Test @DisplayName("sendrecv with null buffers throws relevant exceptions") void testSendRecvInvalidInputs() throws CIFSException { // Null out buffer for SMB2 path -> expect NPE when building request 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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java
/** * Checks if exceptions during the delay process should be ignored. * @return true if exceptions should be ignored, false otherwise. */ public boolean isIgnoreException() { return ignoreException; } /** * Sets whether to ignore exceptions. * @param ignoreException true to ignore exceptions, false otherwise. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout"); executor.shutdown(); // Then - Verify no exceptions occurred if (!exceptions.isEmpty()) { fail("Concurrent operations caused exceptions: " + exceptions.get(0)); } assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed"); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0)