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

Method checkTransferStart

test/AbstractRouterTest.java:97–103  ·  view source on GitHub ↗
(DTNHost from, DTNHost to, String msgId)

Source from the content-addressed store, hash-verified

95 }
96
97 protected void checkTransferStart(DTNHost from, DTNHost to, String msgId) {
98 assertTrue(mc.next());
99 assertEquals(mc.TYPE_START, mc.getLastType());
100 assertEquals(msgId, mc.getLastMsg().getId());
101 assertEquals(from, mc.getLastFrom());
102 assertEquals(to, mc.getLastTo());
103 }
104
105 protected void checkDelivered(DTNHost from, DTNHost to, String msgId,
106 boolean isFirstDelivery) {

Callers 2

deliverMessageMethod · 0.95
testThresholdMethod · 0.80

Calls 6

nextMethod · 0.80
getLastTypeMethod · 0.80
getIdMethod · 0.80
getLastMsgMethod · 0.80
getLastFromMethod · 0.80
getLastToMethod · 0.80

Tested by

no test coverage detected