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

Method copyChangesOverride

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

Source from the content-addressed store, hash-verified

114 }
115
116 @Test
117 public void copyChangesOverride() throws Exception {
118 final Tree tree = buildTestTree();
119 final Tree tree2 = new Tree(1);
120 assertTrue(tree.copyChanges(tree2, true));
121 assertTrue(tree.getName().isEmpty());
122 assertTrue(tree.getDescription().isEmpty());
123 assertTrue(tree.getNotes().isEmpty());
124 }
125
126 @Test
127 public void serialize() throws Exception {

Callers

nothing calls this directly

Calls 6

buildTestTreeMethod · 0.95
copyChangesMethod · 0.95
getNameMethod · 0.95
getDescriptionMethod · 0.95
getNotesMethod · 0.95
isEmptyMethod · 0.80

Tested by

no test coverage detected