- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,174 for Exception (0.07 sec)
-
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
} public void test_initializeProbes() { // Test that initializeProbes doesn't throw exception try { ThumbnailGenerator.initializeProbes(); // If no exception thrown, test passes assertTrue(true); } catch (Exception e) { fail("initializeProbes should not throw exception: " + e.getMessage()); } } public void test_main_withHelp() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
void testGetSessionKey_ThrowsCIFSException() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle(); CIFSException exception = new CIFSException("Test exception"); when(mockSmbPipeHandleInternal.getSessionKey()).thenThrow(exception); assertThrows(CIFSException.class, handle::getSessionKey); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
Exception exception = assertThrows(Exception.class, () -> { new KerberosRelevantAuthData(emptyToken, keys); }, "An exception should be thrown for an empty token."); // The exception could be PACDecodingException or NullPointerException assertTrue(exception instanceof PACDecodingException || exception instanceof NullPointerException,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
// When SmbException exception = new SmbException(ntStatus, false); // Then assertTrue(exception.getMessage().toLowerCase().contains("sharing") || exception.getMessage().toLowerCase().contains("violation") || exception.getMessage().toLowerCase().contains("used") || exception.getMessage().toLowerCase().contains("being used") || exception.getMessage().toLowerCase().contains("process"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
Exception cause = new RuntimeException("Root cause"); DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause); assertEquals(url, exception.getUrl()); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertFalse(exception.aborted()); } public void test_constructor_withUrlMessageExceptionAndAbortTrue() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withNullMessageAndCause() { // Test constructor with null message and null cause SearchEngineClientException exception = new SearchEngineClientException(null, null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} abstract boolean isPermitted(Exception exception); void assertPermitted(Exception exception) { if (!isPermitted(exception)) { String message = "Exception " + exception.getClass().getSimpleName() + " was thrown; expected " + getMessage(); throw new AssertionError(message, exception); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
ScriptEngineException exception = new ScriptEngineException("test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_serialization() { // Test that the exception has the correct serialVersionUID field
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
*/ public class ResourceTraversalTest { private static int count = 0; /** * @throws Exception */ @Before public void setUp() throws Exception { count = 0; } /** * @throws Exception */ @Test public void testForEachFile() throws Exception { final File rootDir = ResourceUtil.getBuildDir(getClass());
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * @param exceptionType the exception type that triggers use of {@code fallback}. The exception * type is matched against this step's exception. "This step's exception" means the cause of * the {@link ExecutionException} thrown by {@link Future#get()} on the {@link Future} * underlying this step or, if {@code get()} throws a different kind of exception, that
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0)