Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 87 for addTestSuite (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTestSuite(ImmutableSetTest.class);
    
        return suite;
      }
    
      @Override
      protected <E extends Comparable<? super E>> Set<E> of() {
        return ImmutableSet.of();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.REMOVE_OPERATIONS,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
        suite.addTestSuite(TreeMultisetTest.class);
        return suite;
      }
    
      public void testCreate() {
        TreeMultiset<String> multiset = TreeMultiset.create();
        multiset.add("foo", 2);
        multiset.add("bar");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/HashBiMapTest.java

                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.GENERAL_PURPOSE)
                .createTestSuite());
        suite.addTestSuite(HashBiMapTest.class);
        return suite;
      }
    
      public void testMapConstructor() {
        /* Test with non-empty Map. */
        Map<String, String> map =
            ImmutableMap.of(
                "canada", "dollar",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

        }
    
        @Override
        public int size() {
          return standardSize();
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingMultisetTest.class);
        suite.addTest(
            MultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
    
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        @Override
        public @Nullable Entry<K, V> lastEntry() {
          return standardLastEntry();
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingNavigableMapTest.class);
        suite.addTest(
            NavigableMapTestSuiteBuilder.using(
                    new TestStringSortedMapGenerator() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .named("ConcurrentSkipListMultiset")
                .createTestSuite());
        suite.addTestSuite(ConcurrentHashMultisetTest.class);
        return suite;
      }
    
      private static TestStringMultisetGenerator concurrentHashMultisetGenerator() {
        return new TestStringMultisetGenerator() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

                  asCharSource));
          suite.addTest(
              ByteSourceTester.tests(
                  "ByteSource.empty[]", SourceSinkFactories.emptyByteSourceFactory(), asCharSource));
        }
        suite.addTestSuite(ByteSourceTest.class);
        return suite;
      }
    
      private static final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSource source;
    
      @Override
      protected void setUp() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                      }
                    })
                .named("set - disjoint")
                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTestSuite(SetOperationsTest.class);
        return suite;
      }
    
      Set<String> friends;
      Set<String> enemies;
    
      @Override
      public void setUp() {
        friends = newHashSet("Tom", "Joe", "Dave");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharSourceTest.java

                  asByteSource));
          suite.addTest(
              CharSourceTester.tests(
                  "CharSource.empty[]", SourceSinkFactories.emptyCharSourceFactory(), asByteSource));
        }
        suite.addTestSuite(CharSourceTest.class);
        return suite;
      }
    
      private static final String STRING = ASCII + I18N;
      private static final String LINES = "foo\nbar\r\nbaz\rsomething";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSourceTest.java

                  asByteSource));
          suite.addTest(
              CharSourceTester.tests(
                  "CharSource.empty[]", SourceSinkFactories.emptyCharSourceFactory(), asByteSource));
        }
        suite.addTestSuite(CharSourceTest.class);
        return suite;
      }
    
      private static final String STRING = ASCII + I18N;
      private static final String LINES = "foo\nbar\r\nbaz\rsomething";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top