- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 335 for IllegalStateException (0.36 sec)
-
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16)); assertThrows(IllegalStateException.class, () -> builder.maximumSize(16)); } @GwtIncompatible // maximumWeight public void testMaximumWeight_withoutWeigher() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumWeight(1); assertThrows(IllegalStateException.class, () -> builder.build(identityLoader()));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 23.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
assertFalse(iterator.hasNext()); try { iterator.next(); fail(); } catch (NoSuchElementException expected) { } try { iterable.iterator(); fail(); } catch (IllegalStateException expected) { } } public void testOf_one() { Iterable<String> iterable = MinimalIterable.of("a"); Iterator<String> iterator = iterable.iterator(); assertTrue(iterator.hasNext());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
StopFailingService service = new StopFailingService(); assertThrows(IllegalStateException.class, () -> service.failureCause()); service.startAsync().awaitRunning(); assertThrows(IllegalStateException.class, () -> service.failureCause()); IllegalStateException e = assertThrows(IllegalStateException.class, () -> service.stopAsync().awaitTerminated()); assertEquals(EXCEPTION, service.failureCause());
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 29.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
public void testSampleCovariance() { assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleCovariance()); assertThrows( IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyPairedStats.sampleCovariance()); assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleCovariance()); assertThrows( IllegalStateException.class,
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 23.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
public void testSampleCovariance() { assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleCovariance()); assertThrows( IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyPairedStats.sampleCovariance()); assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleCovariance()); assertThrows( IllegalStateException.class,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 23.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
StopFailingService service = new StopFailingService(); assertThrows(IllegalStateException.class, () -> service.failureCause()); service.startAsync().awaitRunning(); assertThrows(IllegalStateException.class, () -> service.failureCause()); IllegalStateException e = assertThrows(IllegalStateException.class, () -> service.stopAsync().awaitTerminated()); assertEquals(EXCEPTION, service.failureCause());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 29.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfModifiedSet)); assertThrows(IllegalStateException.class, () -> wrappedSet.equals(setToTest)); assertThrows(IllegalStateException.class, () -> copyOfWrappedSet.equals(setToTest));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfModifiedSet)); assertThrows(IllegalStateException.class, () -> wrappedSet.equals(setToTest)); assertThrows(IllegalStateException.class, () -> copyOfWrappedSet.equals(setToTest));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 2.2K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
throw IllegalStateException("Can't find the contributors section in the release notes $releaseNotes.") } val contributorSectionEndIndex = (contributorSectionBeginIndex until releaseNotesLines.size).firstOrNull { val line = releaseNotesLines[it].trim() line.isNotEmpty() && !line.startsWith("[")
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Mon May 16 05:03:11 GMT 2022 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16)); assertThrows(IllegalStateException.class, () -> builder.maximumSize(16)); } @GwtIncompatible // maximumWeight public void testMaximumWeight_withoutWeigher() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumWeight(1); assertThrows(IllegalStateException.class, () -> builder.build(identityLoader()));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 25.5K bytes - Viewed (0)