Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 102 for Ruiter (0.31 sec)

  1. guava-tests/test/com/google/common/io/FilesTest.java

     */
    
    public class FilesTest extends IoTestCase {
    
      @AndroidIncompatible // suites, ByteSourceTester (b/230620681)
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ByteSourceTester.tests(
                "Files.asByteSource[File]", SourceSinkFactories.fileByteSourceFactory(), true));
        suite.addTest(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ExecutorService executor = newSingleThreadExecutor();
        Future<V> waiter =
            executor.submit(
                new Callable<V>() {
                  @Override
                  public V call() throws Exception {
                    return input.get();
                  }
                });
    
        try {
          return getUninterruptibly(waiter, timeout, unit);
        } catch (ExecutionException e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final TestCloseable closeable2 = new TestCloseable("closeable2");
      final TestCloseable closeable3 = new TestCloseable("closeable3");
      final TestCloseable closeable4 = new TestCloseable("closeable4");
    
      final Waiter waiter = new Waiter();
      final CountDownLatch futureCancelled = new CountDownLatch(1);
      final Exception exception = new Exception();
      final Closeable mockCloseable = Mockito.mock(Closeable.class);
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime());
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final Runtime runtime;
    
        Exiter(Runtime runtime) {
          this.runtime = runtime;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/GraphBuilder.java

     * graph.putEdge("chocolate", "peanut butter");
     * graph.putEdge("peanut butter", "jelly");
     *
     * // Building an immutable graph
     * ImmutableGraph<String> immutableGraph =
     *     GraphBuilder.undirected()
     *         .allowsSelfLoops(true)
     *         .<String>immutable()
     *         .putEdge("bread", "bread")
     *         .putEdge("chocolate", "peanut butter")
     *         .putEdge("peanut butter", "jelly")
     *         .build();
     * }</pre>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<@Nullable Void> {
        SUBMAP,
        DESCENDING;
    
        @Override
        public Set<Feature<? super @Nullable Void>> getImpliedFeatures() {
          return Collections.emptySet();
        }
      }
    
      /**
       * Creates a suite whose map has some elements filtered out of view.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Chars;
    import java.util.List;
    
    /**
     * Generates {@code List<Character>} instances for test suites.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestCharacterListGenerator implements TestListGenerator<Character> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        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(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

        this.numElements = numElements;
      }
    
      CollectionSize(Feature<? super Collection>... implied) {
        // Keep the order here, so that PerCollectionSizeTestSuiteBuilder
        // gives a predictable order of test suites.
        this.implied = Helpers.copyToSet(implied);
        this.numElements = null;
      }
    
      @Override
      public Set<Feature<? super Collection>> getImpliedFeatures() {
        return implied;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

                  .createTestSuite());
        }
        suite.addTestSuite(ImmutableIntArrayTest.class);
        return suite;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      private static ImmutableIntArray makeArray(Integer[] values) {
        return ImmutableIntArray.copyOf(Arrays.asList(values));
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be public named
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
Back to top