MCPcopy Create free account
hub / github.com/grpc/grpc-java / compareTo_same

Method compareTo_same

api/src/test/java/io/grpc/DeadlineTest.java:271–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269 }
270
271 @Test
272 public void compareTo_same() {
273 Deadline d1 = Deadline.after(10, TimeUnit.SECONDS, ticker);
274 Deadline d2 = Deadline.after(10, TimeUnit.SECONDS, ticker);
275 Truth.assertThat(d1).isEquivalentAccordingToCompareTo(d2);
276 }
277
278 @Test
279 public void tickersDontMatch() {

Callers

nothing calls this directly

Calls 1

afterMethod · 0.95

Tested by

no test coverage detected