- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,515 for batch (0.16 sec)
-
guava-tests/test/com/google/common/base/JoinerTest.java
try { J.join(ITERABLE_NULL); fail(); } catch (NullPointerException expected) { } try { J.join(ITERABLE_1_NULL_2); fail(); } catch (NullPointerException expected) { } try { J.join(ITERABLE_NULL.iterator()); fail(); } catch (NullPointerException expected) { } try { J.join(ITERABLE_1_NULL_2.iterator());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TableCollectorsTest.java
fail("Expected NullPointerException"); } catch (NullPointerException expected) { } collector = TableCollectors.toImmutableTable(Cell::getRowKey, Cell::getColumnKey, Cell::getValue); try { Stream.of(immutableCell("one", "uno", 1), immutableCell("one", "uno", (Integer) null)) .collect(collector); fail("Expected NullPointerException"); } catch (NullPointerException expected) { } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Mar 05 16:03:18 GMT 2024 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
return new ThrowingCreator(); } // Don't merge these catch() blocks, let alone use ReflectiveOperationException directly: // b/65343391 } catch (NoSuchFieldException e) { // The JELLY_BEAN field doesn't exist because we're running on a version before Jelly Bean :) return new ThrowingCreator(); } catch (ClassNotFoundException e) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 12.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
} catch (NullPointerException tolerated) { } } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveAll_nullCollectionReferenceNonEmptySubject() { try { collection.removeAll(null); fail("removeAll(null) should throw NullPointerException"); } catch (NullPointerException expected) { } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
try { iter.hasNext(); fail("No exception thrown"); } catch (Exception e) { if (!(e instanceof SomeCheckedException)) { throw e; } } // But the second time, AbstractIterator itself throws an ISE try { iter.hasNext(); fail("No exception thrown"); } catch (IllegalStateException expected) { } } public void testException() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java
try { iter.hasNext(); fail("No exception thrown"); } catch (Exception e) { if (!(e instanceof SomeCheckedException)) { throw e; } } // But the second time, AbstractIterator itself throws an ISE try { iter.hasNext(); fail("No exception thrown"); } catch (IllegalStateException expected) { } } public void testException() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu May 04 09:41:29 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
fail("Expected ConcurrentModificationException"); } catch (ConcurrentModificationException expected) { // success } } @MapFeature.Require(absent = SUPPORTS_PUT) public void testPut_unsupportedNotPresent() { try { put(e3()); fail("put(notPresent, value) should throw"); } catch (UnsupportedOperationException expected) { } expectUnchanged();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 9.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
} catch (ComponentLookupException e) { throw new PluginConfigurationException( mojoDescriptor.getPluginDescriptor(), "Unable to retrieve component configurator " + configuratorId + " for configuration of mojo " + mojoDescriptor.getId(), e); } catch (NoClassDefFoundError e) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
try { Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); getMap().remove(k0()); iterator.next(); fail("Expected ConcurrentModificationException"); } catch (ConcurrentModificationException expected) { // success } } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } } assertEquals(expectHost, hp.getHost()); // Check the post-withDefaultPort() instance (if any). if (!badDefaultPort) { try { int port = hp2.getPort(); assertTrue(expectPort != -1); assertEquals(expectPort, port); } catch (IllegalStateException e) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 10K bytes - Viewed (0)