- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isPrimitiveOrNullable (0.09 sec)
-
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* static */ private void testParameter( @Nullable Object instance, Invokable<?, ?> invokable, int paramIndex, Class<?> testedClass) { if (isPrimitiveOrNullable(invokable.getParameters().get(paramIndex))) { return; // there's nothing to test } @Nullable Object[] params = buildParamList(invokable, paramIndex); try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* Android VMs and in open-source guava-android. So we skip testing there. */ if (Reflection.getPackageName(testedClass).startsWith("com.google.common")) { return; } if (isPrimitiveOrNullable(invokable.getParameters().get(paramIndex))) { return; // there's nothing to test } @Nullable Object[] params = buildParamList(invokable, paramIndex); try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
for (Method method : nullPointerTester.getInstanceMethodsToTest(c, visibility)) { for (Parameter param : Invokable.from(method).getParameters()) { if (!NullPointerTester.isPrimitiveOrNullable(param)) { return true; } } } return false; } /** * Tests the {@link Object#equals} and {@link Object#hashCode} of {@code cls}. In details: *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0)