- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 247 for assertion (0.09 seconds)
-
guava-tests/test/com/google/common/reflect/SubtypeTester.java
@Keep @interface TestSubtype { /** Suppresses the assertion on {@link TypeToken#getSubtype}. */ boolean suppressGetSubtype() default false; /** Suppresses the assertion on {@link TypeToken#getSupertype}. */ boolean suppressGetSupertype() default false; } private @Nullable Method method = null; /** Call this in a {@link TestSubtype} public method asserting subtype relationship. */ final <T> T isSubtype(T sub) {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
@Keep @interface TestSubtype { /** Suppresses the assertion on {@link TypeToken#getSubtype}. */ boolean suppressGetSubtype() default false; /** Suppresses the assertion on {@link TypeToken#getSupertype}. */ boolean suppressGetSupertype() default false; } private @Nullable Method method = null; /** Call this in a {@link TestSubtype} public method asserting subtype relationship. */ final <T> T isSubtype(T sub) {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) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageAssert.java
import org.apache.maven.model.building.ModelProblem; 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
* under the License. */ package org.apache.maven.project; 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) -
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) -
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/collect/AbstractMapsTransformValuesTest.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 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* other code to use these forms too. Only the most typically used JUnit assertion methods are * defined this way, but enough to live with. * <li>If you override {@link #setUp} or {@link #tearDown}, make sure to invoke {@code * super.setUp} and {@code super.tearDown} within them. These methods are used to clear and * check for thread assertion failures.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 37.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
import org.junit.jupiter.params.provider.MethodSource; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests Artifact extraction, computation, and parent resolution functionality. */ @DisplayName("GAVUtils")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0)