Home
last modified time | relevance | path

Searched refs:TestClock (Results 1 – 20 of 20) sorted by relevance

/external/opencensus-java/testing/src/test/java/io/opencensus/testing/common/
DTestClockTest.java34 TestClock clock = TestClock.create(Timestamp.create(1, 2)); in setAndGetTime()
42 TestClock clock = TestClock.create(Timestamp.create(1, 500 * 1000 * 1000)); in advanceTime()
49 TestClock clock = TestClock.create(Timestamp.create(10, 1)); in measureElapsedTime()
58 TestClock.create(Timestamp.create(Long.MAX_VALUE / NUM_NANOS_PER_SECOND + 1, 0)); in catchOverflow()
63 TestClock.create(Timestamp.create(Long.MIN_VALUE / NUM_NANOS_PER_SECOND - 1, 0)); in catchNegativeOverflow()
/external/opencensus-java/testing/src/main/java/io/opencensus/testing/common/
DTestClock.java32 public final class TestClock extends Clock { class
38 private TestClock() {} in TestClock() method in TestClock
47 public static TestClock create() { in create()
48 return new TestClock(); in create()
58 public static TestClock create(Timestamp time) { in create()
59 TestClock clock = new TestClock(); in create()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DMeasureToViewMapTest.java31 import io.opencensus.testing.common.TestClock;
60 TestClock clock = TestClock.create(Timestamp.create(10, 20)); in testRegisterAndGetView()
DStatsComponentImplBaseTest.java24 import io.opencensus.testing.common.TestClock;
38 new StatsComponentImplBase(new SimpleEventQueue(), TestClock.create());
DStatsRecorderImplTest.java51 import io.opencensus.testing.common.TestClock;
80 private final TestClock testClock = TestClock.create();
DViewManagerImplTest.java59 import io.opencensus.testing.common.TestClock;
117 private final TestClock clock = TestClock.create();
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/
DNoopRunningSpanStoreImplTest.java27 import io.opencensus.testing.common.TestClock;
53 private final TestClock testClock = TestClock.create(timestamp);
DNoopSampledSpanStoreImplTest.java27 import io.opencensus.testing.common.TestClock;
58 private final TestClock testClock = TestClock.create(timestamp);
DInProcessSampledSpanStoreImplTest.java26 import io.opencensus.testing.common.TestClock;
67 private final TestClock testClock = TestClock.create(Timestamp.create(12345, 54321));
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DMetricsComponentImplBaseTest.java22 import io.opencensus.testing.common.TestClock;
31 new MetricsComponentImplBase(TestClock.create());
DDerivedLongGaugeImplTest.java31 import io.opencensus.testing.common.TestClock;
58 private final TestClock testClock = TestClock.create(TEST_TIME);
DDerivedDoubleGaugeImplTest.java31 import io.opencensus.testing.common.TestClock;
57 private final TestClock testClock = TestClock.create(TEST_TIME);
DLongGaugeImplTest.java33 import io.opencensus.testing.common.TestClock;
62 private final TestClock testClock = TestClock.create(TEST_TIME);
DDoubleGaugeImplTest.java33 import io.opencensus.testing.common.TestClock;
62 private final TestClock testClock = TestClock.create(TEST_TIME);
DMetricRegistryImplTest.java38 import io.opencensus.testing.common.TestClock;
65 private final TestClock testClock = TestClock.create(TEST_TIME);
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DTracerImplTest.java23 import io.opencensus.testing.common.TestClock;
47 new TracerImpl(new SecureRandomHandler(), startEndHandler, TestClock.create(), traceConfig); in setUp()
DSpanBuilderImplTest.java24 import io.opencensus.testing.common.TestClock;
52 private final TestClock testClock = TestClock.create();
DRecordEventsSpanImplTest.java25 import io.opencensus.testing.common.TestClock;
63 private final TestClock testClock = TestClock.create(timestamp);
/external/deqp/execserver/tools/
DxsTest.cpp143 class TestClock class
146 inline TestClock (void) in TestClock() function in xs::TestClock
388 TestClock clock; in runClient()
428 TestClock clock; in runClient()
487 TestClock clock; in runClient()
549 TestClock clock; in runClient()
641 TestClock clock; in runClient()
733 TestClock clock; in runClient()
/external/libcxx/test/libcxx/input.output/filesystems/
Dconvert_file_time.sh.cpp268 struct TestClock { struct
272 typedef std::chrono::time_point<TestClock> time_point; argument
279 using TestFileTimeT = time_point<TestClock<duration<IntType, Period> > >; argument