- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for testAllPublicStaticMethods (0.5 sec)
-
android/guava-tests/test/com/google/common/io/ResourcesTest.java
} } @AndroidIncompatible // .class files aren't available public void testNulls() { new NullPointerTester() .setDefault(URL.class, classfile(ResourcesTest.class)) .testAllPublicStaticMethods(Resources.class); } private static URL classfile(Class<?> c) { return c.getResource(c.getSimpleName() + ".class"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeNonGwtTest.java
* @see RangeTest */ public class RangeNonGwtTest extends TestCase { public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Range.class); tester.testAllPublicStaticMethods(Range.class); tester.testAllPublicInstanceMethods(Range.all()); tester.testAllPublicInstanceMethods(Range.open(1, 3)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
.addEqualityGroup(new TypeParameter<B>() {}) .testEquals(); } public void testNullPointers() { new NullPointerTester().testAllPublicStaticMethods(TypeParameter.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class)); tester.testAllPublicStaticMethods(MoreObjects.class); tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass())); } /** Test class for testing formatting of inner classes. */ private static class TestClass {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/MoreObjectsTest.java
public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class)); tester.testAllPublicStaticMethods(MoreObjects.class); tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass())); } /** Test class for testing formatting of inner classes. */ private static class TestClass {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/PrimitivesTest.java
} @GwtIncompatible @J2ktIncompatible public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Primitives.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SortedListsTest.java
absentBehavior); } } } } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(SortedLists.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
return HostSpecifier.fromValid(specifier); } public void testNulls() { final NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(HostSpecifier.class); tester.testAllPublicInstanceMethods(HostSpecifier.fromValid("google.com")); } private void assertGood(String spec) throws ParseException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 18 15:33:20 UTC 2022 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
assertSame(canonical, internerFunction.apply(canonical)); assertSame(canonical, internerFunction.apply(not)); } public void testNullPointerExceptions() { new NullPointerTester().testAllPublicStaticMethods(Interners.class); } public void testConcurrencyLevel_zero() { Interners.InternerBuilder builder = Interners.newBuilder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
return HostSpecifier.fromValid(specifier); } public void testNulls() { final NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(HostSpecifier.class); tester.testAllPublicInstanceMethods(HostSpecifier.fromValid("google.com")); } private void assertGood(String spec) throws ParseException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 18 15:33:20 UTC 2022 - 3.7K bytes - Viewed (0)