MCPcopy Create free account
hub / github.com/akeranen/the-one / doRelay

Method doRelay

test/ProphetRouterTest.java:124–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 }
123
124 private void doRelay() {
125 clock.advance(10);
126 updateAllNodes();
127 assertTrue(mc.next());
128 assertEquals(mc.TYPE_RELAY, mc.getLastType());
129 }
130
131 public void testAging() {
132 ProphetRouter r4 = (ProphetRouter)h4.getRouter();

Callers 1

testRoutingMethod · 0.95

Calls 4

advanceMethod · 0.80
updateAllNodesMethod · 0.80
nextMethod · 0.80
getLastTypeMethod · 0.80

Tested by

no test coverage detected