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

Method data

api/src/test/java/io/grpc/DeadlineTest.java:49–56  ·  view source on GitHub ↗

Ticker epochs to vary testing.

()

Source from the content-addressed store, hash-verified

47public class DeadlineTest {
48 /** Ticker epochs to vary testing. */
49 @Parameters
50 public static Iterable<Object[]> data() {
51 return Arrays.asList(new Object[][] {
52 // MAX_VALUE / 2 is important because the signs are generally the same for past and future
53 // deadlines.
54 {Long.MAX_VALUE / 2}, {0}, {Long.MAX_VALUE}, {Long.MIN_VALUE}
55 });
56 }
57
58 private FakeTicker ticker = new FakeTicker();
59

Callers

nothing calls this directly

Calls 1

asListMethod · 0.80

Tested by

no test coverage detected