- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 796 for Hatch (0.15 sec)
-
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
ImmutableSortedMap.of(n, 1); fail(); } catch (NullPointerException expected) { } try { ImmutableSortedMap.of("one", 1, null, 2); fail(); } catch (NullPointerException expected) { } } public void testOfNullValue() { try { ImmutableSortedMap.of("one", null); fail(); } catch (NullPointerException expected) { } try {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 28.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertSize(3); try { table.put(null, 2, cellValue('d')); fail(); } catch (NullPointerException expected) { } try { table.put("cat", null, cellValue('d')); fail(); } catch (NullPointerException expected) { } if (supportsNullValues()) { assertNull(table.put("cat", 2, null));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
assertFalse(task.isDone()); task.cancel(false); assertTrue(task.isDone()); assertTrue(task.isCancelled()); assertFalse(task.wasInterrupted()); try { getDone(task); fail(); } catch (CancellationException expected) { } verifyThreadWasNotInterrupted(); } public void testFailed() throws Exception { final Exception e = new Exception(); TrustedListenableFutureTask<Integer> task =
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 7.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
fail("unsupported multiset.add(E, int) didn't throw exception"); } catch (UnsupportedOperationException required) { } } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddOccurrencesNegative() { try { getMultiset().add(e0(), -1); fail("multiset.add(E, -1) didn't throw an exception"); } catch (IllegalArgumentException required) { } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 49.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
try { getDone(immediateFailedFuture(failureCause)); fail(); } catch (ExecutionException expected) { assertThat(expected).hasCauseThat().isEqualTo(failureCause); } } public void testCancelled() throws ExecutionException { try { getDone(immediateCancelledFuture()); fail(); } catch (CancellationException expected) { } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 2.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
checkNotNull(s); // expect NPE here on null } public static void staticOneArgThrowsOtherThanNpe(String s) { throw new FooException(); // should catch as failure } public static void staticOneArgShouldThrowNpeButDoesnt(String s) { // should catch as failure } public static void staticOneArgCheckForNullCorrectlyDoesNotThrowNPE( @javax.annotation.CheckForNull String s) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemoveUnsupported() { try { getMultiset().remove(e0(), 2); fail("Expected UnsupportedOperationException"); } catch (UnsupportedOperationException expected) { } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
public void testRemove() { Iterator<String> iterator = create(); assertTrue(iterator.hasNext()); assertEquals("a", iterator.next()); try { iterator.remove(); fail(); } catch (UnsupportedOperationException expected) { } } @SuppressWarnings("DoNotCall") public void testAdd() { ListIterator<String> iterator = create(); assertTrue(iterator.hasNext());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 23.6K bytes - Viewed (0)