Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 675 for addTest (0.04 sec)

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

      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
        // TODO(lowasser): should we force TreeMultimap to be more thorough about checking nulls?
        suite.addTest(
            SortedSetMultimapTestSuiteBuilder.using(
                    new TestStringSetMultimapGenerator() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

          return standardToString();
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingCollectionTest.class);
        suite.addTest(
            CollectionTestSuiteBuilder.using(
                    new TestStringCollectionGenerator() {
                      @Override
                      protected Collection<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
      private static TestSuite suiteForString(
          String name, ByteSinkFactory factory, String string, String desc) {
        byte[] bytes = string.getBytes(UTF_8);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteSinkTester.java

        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
      private static TestSuite suiteForString(
          String name, ByteSinkFactory factory, String string, String desc) {
        byte[] bytes = string.getBytes(UTF_8);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableListOfGenerator())
                .named("ImmutableList")
                .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new BuilderAddAllListGenerator())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          if (testAsByteSource) {
            suite.addTest(
                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          } else {
            suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey()));
          }
        }
        return suite;
      }
    
      static TestSuite suiteForBytes(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/MoreFilesTest.java

        TestSuite suite = new TestSuite();
        suite.addTest(
            ByteSourceTester.tests(
                "MoreFiles.asByteSource[Path]", SourceSinkFactories.pathByteSourceFactory(), true));
        suite.addTest(
            ByteSinkTester.tests(
                "MoreFiles.asByteSink[Path]", SourceSinkFactories.pathByteSinkFactory()));
        suite.addTest(
            ByteSinkTester.tests(
                "MoreFiles.asByteSink[Path, APPEND]",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

      private MapTestSuiteBuilderTests() {}
    
      public static Test suite() {
        TestSuite suite = new TestSuite(MapTestSuiteBuilderTests.class.getSimpleName());
        suite.addTest(testsForHashMapNullKeysForbidden());
        suite.addTest(testsForHashMapNullValuesForbidden());
        suite.addTest(testsForSetUpTearDown());
        return suite;
      }
    
      private abstract static class WrappedHashMapGenerator extends TestStringMapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

                  .suppressing(oneSizeSuppressedTests);
          TestSuite oneSizeSuite = oneSizeBuilder.createTestSuite();
          suite.addTest(oneSizeSuite);
    
          for (TestSuite derivedSuite : createDerivedSuites(oneSizeBuilder)) {
            oneSizeSuite.addTest(derivedSuite);
          }
        }
        return suite;
      }
    
      protected List<TestSuite> createDerivedSuites(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

          return standardSubList(fromIndex, toIndex);
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingListTest.class);
        suite.addTest(
            ListTestSuiteBuilder.using(
                    new TestStringListGenerator() {
    
                      @Override
                      protected List<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top