- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 31 for assertRun (0.09 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
future.setFuture(delegate); future.addListener(inBetween, directExecutor()); delegate.set(1); future.addListener(after, directExecutor()); before.assertRun(); inBetween.assertRun(); after.assertRun(); } public void testListenLaterSetAsynchronouslyLaterDelegateFailed() { CountingRunnable before = new CountingRunnable(); CountingRunnable inBetween = new CountingRunnable();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 15.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
check(rule.startsWith(WILDCARD_CHAR)) { """Wildcard Assertion Failure: '$rule' A wildcard rule was added with a wildcard that is not in leftmost position! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this.""" } check(rule.indexOf(WILDCARD_CHAR, 1) == -1) { """Wildcard Assertion Failure: '$rule'
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Aug 06 05:33:11 GMT 2025 - 6.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
/** Annotates a public method that declares subtype assertion. */ @RequiredModifiers(modifier = Modifier.PUBLIC) @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @Keep @interface TestSubtype { /** Suppresses the assertion on {@link TypeToken#getSubtype}. */ boolean suppressGetSubtype() default false; /** Suppresses the assertion on {@link TypeToken#getSupertype}. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 25 23:29:58 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
/** Annotates a public method that declares subtype assertion. */ @RequiredModifiers(modifier = Modifier.PUBLIC) @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @Keep @interface TestSubtype { /** Suppresses the assertion on {@link TypeToken#getSubtype}. */ boolean suppressGetSubtype() default false; /** Suppresses the assertion on {@link TypeToken#getSupertype}. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 25 23:29:58 GMT 2025 - 6.2K bytes - Click Count (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt
assertThat(test.dispatcherB.closed).isTrue() assertThat(test.dispatcherC.closed).isFalse() // Never started. } testInstances.clear() // No assertion that serverC and serverD are closed, because the MockWebServerExtension // runs after this callback. if (false) { assertThat(dispatcherD.closed).isTrue()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 11:13:17 GMT 2025 - 3.3K bytes - Click Count (1) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageAssert.java
import static java.util.stream.Collectors.joining; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * JUnit custom assertion to help create fluent assertions about {@link ProjectBuildingResult} instances. */ class ProjectBuildingResultWithProblemMessageAssert { private final ProjectBuildingResult actual;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithLocationAssert.java
import static java.util.stream.Collectors.joining; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * JUnit custom assertion to help create fluent assertions about {@link ProjectBuildingResult} instances. */ class ProjectBuildingResultWithLocationAssert { private final ProjectBuildingResult actual;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
return "z"; } @Override protected String getValueNotInPopulatedMap() throws UnsupportedOperationException { return "26"; } /** Helper assertion comparing two maps */ private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { assertEquals(expected, map); assertEquals(expected.hashCode(), map.hashCode());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
return "z"; } @Override protected String getValueNotInPopulatedMap() throws UnsupportedOperationException { return "26"; } /** Helper assertion comparing two maps */ private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { assertEquals(expected, map); assertEquals(expected.hashCode(), map.hashCode());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
// is cancelled. future1.cancel(false); // Give the second task a chance to (incorrectly) start up while the first task is running. // (This is the assertion that fails.) assertThat(future2.isDone()).isFalse(); // Stop the first task. The second task should then run. blockingCallable.stop(); executor.shutdown();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 16.2K bytes - Click Count (0)