- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,023 for IllegalStateException (0.2 sec)
-
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,
Registered: 2024-06-12 16:38 - Last Modified: 2023-09-06 17:04 - 23.4K 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());
Registered: 2024-06-12 16:38 - Last Modified: 2023-09-06 17:04 - 29.3K 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());
Registered: 2024-06-12 16:38 - Last Modified: 2023-09-06 17:04 - 29.3K bytes - Viewed (0) -
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/artifact/NormalizedIvyArtifact.java
throw new IllegalStateException(); } @Override public File getFile() { return file; } @Override public void builtBy(Object... tasks) { throw new IllegalStateException(); } @Nonnull @Override public TaskDependency getBuildDependencies() { throw new IllegalStateException(); } @Override
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-12 14:02 - 3.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/util/ConcurrentSpecificationTest.groovy
when: executed.started { executor.execute { action.run() } } then: 1 * action.run() >> { executed.done() } } @FailsWithMessage(type = IllegalStateException, message = 'Expected async action to complete, but it did not.') def "async action fails when expected mock method is never called"() { Runnable action = Mock() def executed = startsAsyncAction()
Registered: 2024-06-12 18:38 - Last Modified: 2021-04-07 08:18 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
public void testSampleVariance() { assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleVariance()); assertThrows( IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyIterable.sampleVariance()); assertThrows( IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyStats.sampleVariance()); assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleVariance());
Registered: 2024-06-12 16:38 - Last Modified: 2023-09-06 17:04 - 34K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/cache/DefaultCacheConfigurationsTest.groovy
then: def e = thrown(IllegalStateException) assertCannotConfigureErrorIsThrown(e, "removeUnusedEntriesOlderThan") when: cacheConfigurations.downloadedResources.setRemoveUnusedEntriesAfterDays(1) then: e = thrown(IllegalStateException) assertCannotConfigureErrorIsThrown(e, "removeUnusedEntriesOlderThan") when:
Registered: 2024-06-12 18:38 - Last Modified: 2024-05-09 20:26 - 9.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableModuleComponentMetaDataResolveResultTest.groovy
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-10 21:10 - 4.2K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy
withLock { if (startThread == null) { def e = new IllegalStateException("Action has not been started.") e.printStackTrace() throw e } if (Thread.currentThread() == startThread) { def e = new IllegalStateException("Cannot wait for action to complete from the thread that is executing it.") e.printStackTrace()
Registered: 2024-06-12 18:38 - Last Modified: 2024-04-04 07:21 - 22.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/GradleInternal.java
* @return the settings for this build * @throws IllegalStateException when the build is not loaded yet, see {@link #attachSettings(SettingsState)} */ SettingsInternal getSettings() throws IllegalStateException; /** * Called by the BuildLoader after the settings are loaded. * Until the BuildLoader is executed, {@link #getSettings()} will throw {@link IllegalStateException}. *
Registered: 2024-06-12 18:38 - Last Modified: 2024-03-12 02:21 - 5.7K bytes - Viewed (0)