Added branch name tests
[jalview.git] / test / jalview / ext / archaeopteryx / TreeViewTest.java
index 972263d..013663e 100644 (file)
@@ -27,6 +27,9 @@ public abstract class TreeViewTest
     Jalview.main(args);
   }
 
+  @BeforeClass(dependsOnMethods = { "setUpJalview", "setUpTree" })
+  public abstract void createTreeView();
+
   @Test(groups = "Functional")
   public void testTreeViewExists()
   {
@@ -45,10 +48,18 @@ public abstract class TreeViewTest
     assertTrue(treeView.isShowing());
   }
 
+  @Test(
+    groups = "Functional",
+    expectedExceptions = IllegalArgumentException.class)
+  public abstract void testInvalidBranchName();
+
   @Test(groups = "Functional")
   public abstract void testTreeLoaded();
 
   @Test(groups = "Functional")
+  public abstract void testExistingBranchName();
+
+  @Test(groups = "Functional")
   public abstract void testChildNodesCount();
 
   @Test(groups = "Functional")