Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testLoader (0.09 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

      private FakeTicker fakeTicker;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        fakeTicker = new FakeTicker();
      }
    
      public void testLoader() throws ExecutionException {
    
        final Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
        Callable<Integer> loader =
            new Callable<Integer>() {
              private int i = 0;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
        assertEquals(STRING, sink.getString());
      }
    
      public void testWriteFromStream_doesNotCloseThatStream() throws IOException {
        TestReader in = new TestReader();
        assertFalse(in.closed());
        sink.writeFrom(in);
        assertFalse(in.closed());
      }
    
      public void testWriteLines_withSpecificSeparator() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top