Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 985 for SuppressWarnings (1.63 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.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 MultimapAsMapGetTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

          TestSetMultimapGenerator<K, V> generator) {
        SetMultimapTestSuiteBuilder<K, V> result = new SetMultimapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.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 CollectionRemoveTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 21:04:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.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 MapComputeIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfAbsent_supportedAbsent() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       *     anyone from calling {@link #initCause} later, so it is not quite equivalent to using a
       *     constructor that omits the cause.
       */
      @SuppressWarnings("InlineMeSuggester") // b/387265535
      @Deprecated
      protected UncheckedExecutionException(@Nullable String message) {
        super(message);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.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 MapReplaceEntryTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

      }
    
      /**
       * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder
       * changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableValueGraphBuilder_copiesGraphBuilder() {
        ValueGraphBuilder<String, Object> graphBuilder =
            ValueGraphBuilder.directed()
                .allowsSelfLoops(true)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/FunnelsTest.java

        verify(primitiveSink).putLong(1234);
      }
    
      public void testForLongs_null() {
        assertNullsThrowException(Funnels.longFunnel());
      }
    
      public void testSequential() {
        @SuppressWarnings({"unchecked", "DoNotMock"})
        Funnel<Object> elementFunnel = mock(Funnel.class);
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnel<Iterable<?>> sequential = Funnels.sequentialFunnel(elementFunnel);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

            String message, String a1, String a2, String a3, String a4, String a5, String a6) {
          super(message);
        }
    
        public Throwable getAntecedent() {
          return antecedent;
        }
      }
    
      @SuppressWarnings("unused") // we're testing that they're not used
      public static final class ExceptionWithSomePrivateConstructors extends Exception {
        private ExceptionWithSomePrivateConstructors(String a) {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@link EqualsTester}.
     *
     * @author Jim McMaster
     */
    @GwtCompatible
    @SuppressWarnings("MissingTestCall")
    @NullUnmarked
    public class EqualsTesterTest extends TestCase {
      private ValidTestObject reference;
      private EqualsTester equalsTester;
      private ValidTestObject equalObject1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top