MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / addCollision

Method addCollision

test/tree/TestTree.java:171–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 }
170
171 @Test
172 public void addCollision() throws Exception {
173 final Tree tree = buildTestTree();
174 assertNull(tree.getCollisions());
175 tree.addCollision("010203", "AABBCCDD");
176 assertEquals(1, tree.getCollisions().size());
177 }
178
179 @Test (expected = IllegalArgumentException.class)
180 public void addCollisionNull() throws Exception {

Callers

nothing calls this directly

Calls 4

buildTestTreeMethod · 0.95
getCollisionsMethod · 0.95
addCollisionMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected