- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for assertEquals (0.16 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
public void testGetWithTimeoutDoneFuture() throws Exception { AbstractFuture<String> future = new AbstractFuture<String>() { { set("foo"); } }; assertEquals("foo", future.get(0, TimeUnit.SECONDS)); } public void testEvilFuture_setFuture() throws Exception { final RuntimeException exception = new RuntimeException("you didn't say the magic word!");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
public void testGetWithTimeoutDoneFuture() throws Exception { AbstractFuture<String> future = new AbstractFuture<String>() { { set("foo"); } }; assertEquals("foo", future.get(0, TimeUnit.SECONDS)); } public void testEvilFuture_setFuture() throws Exception { final RuntimeException exception = new RuntimeException("you didn't say the magic word!");
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0)