- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testAdvance (0.06 seconds)
-
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new FakeTicker()); } @GwtIncompatible // java.time.Duration public void testAdvance() { FakeTicker ticker = new FakeTicker(); assertEquals(0, ticker.read()); assertThat(ticker.advance(10)).isSameInstanceAs(ticker); assertEquals(10, ticker.read()); ticker.advance(1, MILLISECONDS);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
tester.testAllPublicInstanceMethods(new FakeTicker()); } @GwtIncompatible // java.time.Duration @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents. public void testAdvance() { FakeTicker ticker = new FakeTicker(); assertEquals(0, ticker.read()); assertThat(ticker.advance(10)).isSameInstanceAs(ticker); assertEquals(10, ticker.read()); ticker.advance(1, MILLISECONDS);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
derived.setLength(5); assertEquals(5, derived.getLength()); assertEquals(5, ndrBuffer.getLength()); // Should affect original's deferred length } @Test void testAdvance() { ndrBuffer.advance(10); assertEquals(10, ndrBuffer.getIndex()); assertEquals(10, ndrBuffer.getLength()); ndrBuffer.advance(5); assertEquals(15, ndrBuffer.getIndex());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0)