- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 37 for BOGUS (0.02 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
before.assertRun(); after.assertRun(); } @SuppressWarnings("nullness") // test of a bogus call public void testNullListener() { assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor())); } @SuppressWarnings("nullness") // test of a bogus call public void testNullExecutor() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
before.assertRun(); after.assertRun(); } @SuppressWarnings("nullness") // test of a bogus call public void testNullListener() { assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor())); } @SuppressWarnings("nullness") // test of a bogus call public void testNullExecutor() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
} public void testPadStart_negativeMinLength() { assertThat(Strings.padStart("x", -1, '-')).isSameInstanceAs("x"); } @SuppressWarnings("nullness") // test of a bogus call public void testPadStart_null() { assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0')); } public void testPadEnd_noPadding() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 11.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/StringsTest.java
} public void testPadStart_negativeMinLength() { assertThat(Strings.padStart("x", -1, '-')).isSameInstanceAs("x"); } @SuppressWarnings("nullness") // test of a bogus call public void testPadStart_null() { assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0')); } public void testPadEnd_noPadding() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
import org.jspecify.annotations.NullUnmarked; /** * @author David Beaumont */ @GwtCompatible @NullUnmarked public class ArrayBasedEscaperMapTest extends TestCase { @SuppressWarnings("nullness") // test of a bogus call public void testNullMap() { assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null)); } public void testEmptyMap() { Map<Character, String> map = ImmutableMap.of();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
assertThat(e.escape("foo%7Cbar")).isEqualTo("foo%7Cbar"); // idempotent } /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */ @SuppressWarnings("nullness") // test of a bogus call public void testBadArguments_null() { assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false)); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/UrlEscaperTesting.java
/** * Helper to assert common expected behaviour of uri escapers. You should call * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'. */ @SuppressWarnings("nullness") // test of a bogus call static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) { // URL escapers should throw null pointer exceptions for null input try { e.escape((String) null);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 3.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
assertThrows(IllegalArgumentException.class, () -> escapeAsString(SIMPLE_ESCAPER, test)); } @SuppressWarnings("nullness") // test of bogus call public void testNullInput() { UnicodeEscaper e = SIMPLE_ESCAPER; assertThrows(NullPointerException.class, () -> e.escape((String) null)); } public void testBadStrings() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java
/** * Helper to assert common expected behaviour of uri escapers. You should call * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'. */ @SuppressWarnings("nullness") // test of a bogus call static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) { // URL escapers should throw null pointer exceptions for null input try { e.escape((String) null);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 3.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
protected static String formatFeatureSet(Set<? extends Feature<?>> features) { List<String> temp = new ArrayList<>(); for (Feature<?> feature : features) { Object featureAsObject = feature; // to work around bogus JDK warning if (featureAsObject instanceof Enum) { Enum<?> f = (Enum<?>) featureAsObject; temp.add(f.getDeclaringClass().getSimpleName() + "." + feature); } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 10.4K bytes - Click Count (0)