- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for throwException (0.73 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
} public void setThrowException(boolean throwException) { this.throwException = throwException; } public void reset() { transformCallCount = 0; lastResponseData = null; returnedResultData = null; throwException = false; } } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
private boolean throwExceptionOnConvert = false; public void setThrowExceptionOnInit(boolean throwException) { this.throwExceptionOnInit = throwException; } public void setThrowExceptionOnConvert(boolean throwException) { this.throwExceptionOnConvert = throwException; } @Override public void init() throws IOException {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
* @return Integer */ public Integer echo(final Integer arg) { return arg; } /** * */ public void throwException() { throw new IllegalStateException("hoge"); } } /** * */ public class MyBean2 { /** * */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
when(mockDelegate.getResponseTimeout()).thenThrow(testException); // When & Then RuntimeException thrownException = assertThrows(RuntimeException.class, () -> { delegatingConfig.getResponseTimeout(); }); assertSame(testException, thrownException, "Should propagate exception from delegate"); verify(mockDelegate).getResponseTimeout(); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
doThrow(testException).when(mockSession).close(); Exception thrownException = assertThrows(Exception.class, mockSession::close, "close() should propagate exceptions"); assertEquals("Test close exception", thrownException.getMessage()); } } @Nested @DisplayName("Configuration Access Tests") class ConfigurationAccessTest {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0)