- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 699 for fail (0.15 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
filtered.put("a", 1); filtered.put("b", 2); assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered); try { filtered.put("yyy", 3); fail(); } catch (IllegalArgumentException expected) { } } public void testFilteredKeysIllegalPutAll() { Map<String, Integer> unfiltered = createUnfiltered();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 7.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
Iterator<Object> empty = new EmptyAbstractSequentialIterator<>(); assertFalse(empty.hasNext()); try { empty.next(); fail(); } catch (NoSuchElementException expected) { } try { empty.remove(); fail(); } catch (UnsupportedOperationException expected) { } } public void testBroken() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 17:19:08 GMT 2024 - 4.7K bytes - Viewed (0) -
internal/bucket/lifecycle/delmarker-expiration_test.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
try { diff1.entriesInCommon().put(7, "x"); fail(); } catch (UnsupportedOperationException expected) { } try { diff1.entriesOnlyOnLeft().put(7, "x"); fail(); } catch (UnsupportedOperationException expected) { } try { diff1.entriesOnlyOnRight().put(7, "x"); fail(); } catch (UnsupportedOperationException expected) { } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 64.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
} public void testNullListener() { try { future.addListener(null, directExecutor()); fail(); } catch (NullPointerException expected) { } } public void testNullExecutor() { try { future.addListener(doNothing(), null); fail(); } catch (NullPointerException expected) { } } public void testNullTimeUnit() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 15.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ArrayTableTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ArrayTableTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:54:11 GMT 2024 - 17.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
expectMissing(e0()); } @CollectionFeature.Require({SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION}) @CollectionSize.Require(SEVERAL) public void testRemovePresentConcurrentWithIteration() { try { Iterator<E> iterator = collection.iterator(); assertTrue(collection.remove(e0())); iterator.next(); fail("Expected ConcurrentModificationException");
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 5.6K bytes - Viewed (0) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 2.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
try { getList().addAll(0, null); fail("addAll(n, null) should throw"); } catch (NullPointerException expected) { } expectUnchanged(); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) public void testAddAllAtIndex_negative() { try { getList().addAll(-1, MinimalCollection.of(e3())); fail("addAll(-1, e) should throw");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (1)