- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,896 for exception (0.31 sec)
-
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
} @J2ktIncompatible @GwtIncompatible public void testAsAsyncCallable_exception() throws Exception { final Exception expected = new IllegalArgumentException(); Callable<String> callable = new Callable<String>() { @Override public String call() throws Exception { throw expected; } }; AsyncCallable<String> asyncCallable =
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
@Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ // @Test // public void testToDate_Null() throws Exception { // assertThat(toDate(null, Locale.JAPAN), is(nullValue()));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
Exception exception = new SampleCheckedException(); ExecutionException e = assertThrows( ExecutionException.class, () -> timeLimiter.callWithTimeout( callableThrowing(exception), DELAY_MS, TimeUnit.MILLISECONDS)); assertThat(e.getCause()).isEqualTo(exception); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.2K 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
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 98.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
} /** * @throws Exception */ @Test public void testTimeConverter() throws Exception { assertThat(new CopyOptions().timeConverter("ss").convertValue(new java.sql.Time(0), "aaa", String.class), is((Object) "00")); } /** * @throws Exception */ @Test public void testTimestampConverter() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
public void testFlush_flushableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception on flush. setupFlushable(true); doFlush(mockFlushable, true, false); } public void testFlush_flushableWithThrownException() throws IOException { // make sure that the exception is thrown if 'swallowException' is false
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/StreamsTest.java
RuntimeException exception = null; try (Stream<String> concatenated = Streams.concat(stream1, stream2, stream3)) { } catch (RuntimeException e) { exception = e; } assertThat(exception).isEqualTo(exception1); assertThat(exception.getSuppressed()) .asList() .containsExactly(exception2, exception3) .inOrder(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
Exception exception = new SampleCheckedException(); ExecutionException e = assertThrows( ExecutionException.class, () -> timeLimiter.callWithTimeout( callableThrowing(exception), DELAY_MS, TimeUnit.MILLISECONDS)); assertThat(e.getCause()).isEqualTo(exception); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
import org.codelibs.core.beans.impl.sub.MogeBeanFactory; import org.codelibs.core.exception.IllegalPropertyRuntimeException; import org.junit.Test; /** * @author higa * */ public class PropertyDescImplTest { /** * @throws Exception */ @Test public void testSetValue() throws Exception { final MyBean myBean = new MyBean();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.1K bytes - Viewed (0)