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

Method copyChanges

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

Source from the content-addressed store, hash-verified

98 }
99
100 @Test
101 public void copyChanges() throws Exception {
102 final Tree tree = buildTestTree();
103 final Tree tree2 = buildTestTree();
104 tree2.setName("Different Tree");
105 assertTrue(tree.copyChanges(tree2, false));
106 assertEquals("Different Tree", tree.getName());
107 }
108
109 @Test
110 public void copyChangesNone() throws Exception {

Callers

nothing calls this directly

Calls 4

buildTestTreeMethod · 0.95
setNameMethod · 0.95
copyChangesMethod · 0.95
getNameMethod · 0.95

Tested by

no test coverage detected