JAL-629 Diagnosis output for failing test
authorBen Soares <b.soares@dundee.ac.uk>
Mon, 24 Apr 2023 09:35:26 +0000 (10:35 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Mon, 24 Apr 2023 09:35:26 +0000 (10:35 +0100)
test/jalview/bin/CommandsTest2.java

index 072d515..34b802e 100644 (file)
@@ -111,8 +111,11 @@ public class CommandsTest2
               .getStructureViewers(ap, null);
       Assert.assertNotNull(openViewers);
       int count = 0;
+      int dcount = 0;
       for (StructureViewerBase svb : openViewers)
       {
+        System.err.println("##### DIAGNOSIS: annotation " + dcount
+                + " is called '" + svb.getName() + "'");
         if (svb.isVisible())
           count++;
       }