- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 245 for testIs (0.09 sec)
-
guava-tests/test/com/google/common/net/MediaTypeTest.java
@J2ktIncompatible @GwtIncompatible // com.google.common.testing.NullPointerTester public void testNullPointer() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicConstructors(MediaType.class); tester.testAllPublicStaticMethods(MediaType.class); tester.testAllPublicInstanceMethods(MediaType.parse("text/plain")); } public void testToString() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
return !disjoint(a, b); } private static Method extractMethod(Test test) { if (test instanceof AbstractTester) { AbstractTester<?> tester = (AbstractTester<?>) test; return getMethod(tester.getClass(), tester.getTestMethodName()); } else if (test instanceof TestCase) { TestCase testCase = (TestCase) test; return getMethod(testCase.getClass(), testCase.getName()); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
private final transient ClassSanityTester tester; SerializableDummyProxy(ClassSanityTester tester) { this.tester = tester; } @Override <R> R dummyReturnValue(TypeToken<R> returnType) { return tester.getDummyValue(returnType); } @Override public boolean equals(@Nullable Object obj) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* </ul> * * <p>In all cases, if {@code C} needs custom logic for testing nulls, you can add an explicit * {@code testNulls()} test in the corresponding {@code CTest} class, and {@code C} will be * excluded from the automated null tests performed by this method. */ @Test public void testNulls() throws Exception { for (Class<?> classToTest : findClassesToTest(loadClassesInPackage(), NULL_TEST_METHOD_NAMES)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
public void testNullEqualityGroup() { EqualsTester tester = new EqualsTester(); assertThrows(NullPointerException.class, () -> tester.addEqualityGroup((Object[]) null)); } public void testNullObjectInEqualityGroup() { EqualsTester tester = new EqualsTester(); NullPointerException e = assertThrows(NullPointerException.class, () -> tester.addEqualityGroup(1, null, 3));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
private final transient ClassSanityTester tester; SerializableDummyProxy(ClassSanityTester tester) { this.tester = tester; } @Override <R> R dummyReturnValue(TypeToken<R> returnType) { return tester.getDummyValue(returnType); } @Override public boolean equals(@Nullable Object obj) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/pom.xml
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- Some tests need reflective access to the internals of these packages. It is only the tests themselves and not the code being tested that needs that access, though there's no obvious way to ensure that. We could consider arranging things so that only the tests we know need this would get the add-opens. Right now that doesn't seem worth the effort, though.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 24.3K bytes - Viewed (0) -
pom.xml
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- Some tests need reflective access to the internals of these packages. It is only the tests themselves and not the code being tested that needs that access, though there's no obvious way to ensure that. We could consider arranging things so that only the tests we know need this would get the add-opens. Right now that doesn't seem worth the effort, though.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 23.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
return big.longValue(); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.setDefault(int.class, 1); tester.setDefault(long.class, 1L); tester.testAllPublicStaticMethods(LongMath.class); } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrimeSmall() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
import java.util.Locale; import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Hashing}. * * <p>TODO(b/33919189): Migrate repeated testing methods to {@link HashTestUtils} and tweak unit * tests to reference them from there. * * @author Dimitris Andreou * @author Kurt Alfred Kluever */ @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2)