Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAutoIncrementStep_returnsSameInstance (0.27 sec)

  1. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        ticker.advance(1, MILLISECONDS);
        assertEquals(1000010L, ticker.read());
        ticker.advance(Duration.ofMillis(1));
        assertEquals(2000010L, ticker.read());
      }
    
      public void testAutoIncrementStep_returnsSameInstance() {
        FakeTicker ticker = new FakeTicker();
        assertSame(ticker, ticker.setAutoIncrementStep(10, NANOSECONDS));
      }
    
      public void testAutoIncrementStep_nanos() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top