treePanel = aptx.getMainPanel().getCurrentTreePanel();
tree = treePanel.getPhylogeny();
+
+ tree.printExtNodes();
}
@Override
+ public void testTreeTitle()
+ {
+ // TODO Auto-generated method stub
+
+ }
+ @Override
public void testChildNodesCount()
{
// TODO Auto-generated method stub
}
+ @Test(
+ groups = "Functional",
+ expectedExceptions = IllegalArgumentException.class)
+ public void testInvalidBranchName()
+ {
+ tree.getNode("I shouldn't exist");
+
+ }
+
@Override
public void testNodeToRootBranchLength()
{
}
- @Test(
- groups = "Functional",
- expectedExceptions = IllegalArgumentException.class)
- public void testInvalidBranchName()
- {
- // TODO Auto-generated method stub
- }
@Override
public void testExistingBranchName()
// TODO Auto-generated method stub
}
+
}
ancestor1Node.setDistanceToParent(36);
ancestor2Node.setDistanceToParent(42);
+ inputTree.setName("test");
inputTree.setRoot(rootNode);
inputTree.setRooted(true);
assertTrue(treePanel != null);
}
+ @Override
+ public void testTreeTitle()
+ {
+ assertTrue(tree.getName().equals("test"));
+
+ }
+
@Test(
groups = "Functional",
expectedExceptions = IllegalArgumentException.class)
+
}
public abstract void testTreeLoaded();
@Test(groups = "Functional")
+ public abstract void testTreeTitle();
+
+ @Test(groups = "Functional")
public abstract void testExistingBranchName();
@Test(groups = "Functional")