- Sort Score
- Result 10 results
- Languages All
Results 881 - 890 of 1,105 for SuppressWarnings (0.08 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
return QueueTestSuiteBuilder.using( new TestStringQueueGenerator() { @Override // We are testing LinkedList / testing our tests on LinkedList. @SuppressWarnings("JdkObsolete") public Queue<String> create(String[] elements) { return new LinkedList<>(MinimalCollection.of(elements)); } }) .named("LinkedList")
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
CollectionFeature.GENERAL_PURPOSE, CollectionFeature.ALLOWS_NULL_VALUES) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( NavigableSet.class, new Function<NavigableSet, NavigableSet>() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapComputeTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testCompute_absentToPresent() { assertEquals(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked") T caught = (T) t; return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class CollectionIteratorTester<E extends @Nullable Object> extends AbstractCollectionTester<E> { public void testIterator() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} return getNegotiateResponse().isSigningRequired(); } /** * {@inheritDoc} * * @see jcifs.SmbTransport#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override public <T extends SmbTransport> T unwrap(final Class<T> type) { if (type.isAssignableFrom(this.getClass())) { return (T) this; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class MultimapPutTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimapTester<K, V, Multimap<K, V>> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionAddAllTester<E extends @Nullable Object> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_supportedNothing() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
/** * A future whose value is derived from a collection of input futures. * * @param <InputT> the type of the individual inputs * @param <OutputT> the type of the output (i.e. this) future */ @GwtCompatible @SuppressWarnings( // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || "ShortCircuitBoolean") abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 16K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertThrows( NullPointerException.class, () -> builder.addAll((Iterable<String>) iterableWithNulls)); } } // We need to test that asList() really does return the original list. @SuppressWarnings("InlineMeInliner") public void testAsList() { ImmutableList<String> list = ImmutableList.of("a", "b"); assertSame(list, list.asList()); } @GwtIncompatible("builder internals")
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0)