JAL-2886 trivial unit test fix
authorkiramt <k.mourao@dundee.ac.uk>
Fri, 12 Jan 2018 11:37:03 +0000 (11:37 +0000)
committerkiramt <k.mourao@dundee.ac.uk>
Fri, 12 Jan 2018 11:37:03 +0000 (11:37 +0000)
test/jalview/gui/StructureChooserTest.java

index 4535c93..91fe602 100644 (file)
@@ -65,7 +65,7 @@ public class StructureChooserTest
     PDBEntry dbRef = new PDBEntry();
     dbRef.setId("1tim");
 
-    Vector<PDBEntry> pdbIds = new Vector<PDBEntry>();
+    Vector<PDBEntry> pdbIds = new Vector<>();
     pdbIds.add(dbRef);
 
     seq.setPDBId(pdbIds);
@@ -133,7 +133,7 @@ public class StructureChooserTest
     assertTrue(sc.getCmbFilterOption().getSelectedItem() != null);
     FilterOption filterOpt = (FilterOption) sc.getCmbFilterOption()
             .getSelectedItem();
-    assertEquals("Cached PDB Entries", filterOpt.getName());
+    assertEquals("Cached Structures", filterOpt.getName());
   }
 
   @Test(groups = { "Network" })