JAL-3518 separation of ChimeraXManager, pull up of closeViewer etc
[jalview.git] / test / jalview / ext / pymol / PymolCommandsTest.java
index 3eb05f5..f6bad92 100644 (file)
@@ -41,7 +41,7 @@ public class PymolCommandsTest
 {
   private PymolCommands testee;
 
-  @BeforeClass
+  @BeforeClass(alwaysRun = true)
   public void setUp()
   {
     testee = new PymolCommands();
@@ -341,4 +341,10 @@ public class PymolCommandsTest
             "p.jv_side_chain_binding_='<html>metal <a href=\"http:a.b.c/x\"> &#39;ion!'");
     assertEquals(commands.get(0), expected3);
   }
+
+  @Test(groups = "Functional")
+  public void testCloseViewer()
+  {
+    assertEquals(testee.closeViewer(), new StructureCommand("quit"));
+  }
 }