- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for myself (0.14 sec)
-
guava-tests/test/com/google/common/base/AndroidIncompatible.java
* other tests. We want to exclude the other tests (which Android can't handle) while * continuing to run {@code FooTest} itself. This is exactly what happens with {@code * AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code * suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Jul 07 15:40:13 GMT 2023 - 3.9K bytes - Viewed (0) -
android/guava-testlib/pom.xml
<artifactId>guava-testlib</artifactId> <name>Guava Testing Library</name> <description> Guava testlib is a set of java classes used for more convenient unit testing - particularly to assist the tests for Guava itself. </description> <dependencies> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> </dependency> <dependency>
XML - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jul 31 18:55:22 GMT 2023 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardMutableValueGraph.java
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import static com.google.common.graph.GraphConstants.SELF_LOOPS_NOT_ALLOWED; import static com.google.common.graph.Graphs.checkNonNegative; import static com.google.common.graph.Graphs.checkPositive; import static java.util.Objects.requireNonNull;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Oct 21 01:50:30 GMT 2023 - 6.4K bytes - Viewed (0) -
guava-tests/pom.xml
<artifactId>guava-tests</artifactId> <name>Guava Unit Tests</name> <description> The unit tests for the Guava libraries - separated into a separate artifact to allow for the testlibs to depend on guava itself. </description> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>guava-testlib</artifactId> <version>${project.version}</version> <scope>test</scope>
XML - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Aug 07 19:01:53 GMT 2023 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
assertTrue("addAll(n, containsNull) should return true", getList().addAll(0, containsNull)); /* * We need (E) to force interpretation of null as the single element of a * varargs array, not the array itself */ expectAdded(0, (E) null); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES) public void testAddAllAtIndex_nullUnsupported() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (1) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
assertTrue("addAll(containsNull) should return true", collection.addAll(containsNull)); /* * We need (E) to force interpretation of null as the single element of a * varargs array, not the array itself */ expectAdded((E) null); } @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES) public void testAddAll_nullUnsupported() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
"containsAll(sameElements) should return true", collection.containsAll(MinimalCollection.of(createSamplesArray()))); } @SuppressWarnings("ModifyingCollectionWithItself") public void testContainsAll_self() { assertTrue("containsAll(this) should return true", collection.containsAll(collection)); } public void testContainsAll_partialOverlap() { assertFalse(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* .addEqualityGroup(new User("page"), new User("page")) * .addEqualityGroup(new User("sergey")) * .testEquals(); * </pre> * * <p>This tests: * * <ul> * <li>comparing each object against itself returns true * <li>comparing each object against null returns false * <li>comparing each object against an instance of an incompatible class returns false
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
// sanity check on construction of copyOfModifiedSet assertThat(wrappedSet).isEqualTo(copyOfModifiedSet); // setToTest should throw when it calls equals(), or equals is called on it, except for itself assertThat(setToTest).isEqualTo(setToTest); assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet));
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
// sanity check on construction of copyOfModifiedSet assertThat(wrappedSet).isEqualTo(copyOfModifiedSet); // setToTest should throw when it calls equals(), or equals is called on it, except for itself assertThat(setToTest).isEqualTo(setToTest); assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 2.2K bytes - Viewed (0)