X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fdatamodel%2FPDBEntryTest.java;fp=test%2Fjalview%2Fdatamodel%2FPDBEntryTest.java;h=a0068339de7e4a05960925265ab891cde0e9a89a;hb=3459a8a691cb22508d7067f240b7254e588e77d3;hp=80b7376644f5f6e3e15b439507261f30c7fc1801;hpb=5b27f1062b2203c4c31702e205f4c78e1992063e;p=jalview.git diff --git a/test/jalview/datamodel/PDBEntryTest.java b/test/jalview/datamodel/PDBEntryTest.java index 80b7376..a006833 100644 --- a/test/jalview/datamodel/PDBEntryTest.java +++ b/test/jalview/datamodel/PDBEntryTest.java @@ -90,7 +90,7 @@ public class PDBEntryTest PDBEntry case9 = new PDBEntry("1xyz", "A", null, "x/y/z/File"); // different file only PDBEntry case10 = new PDBEntry("1xyz", "A", null, "a/b/c/File"); - + /* * assertEquals will invoke PDBEntry.equals() */ @@ -208,7 +208,7 @@ public class PDBEntryTest assertTrue(pdb1.updateFrom(pdb2)); assertEquals(pdb1.getFile(), "filePath"); assertEquals(pdb1.getType(), Type.FILE.toString()); - assertEquals(pdb1.getChainCode(),"B"); + assertEquals(pdb1.getChainCode(), "B"); /* * change of file is not allowed */ @@ -269,7 +269,7 @@ public class PDBEntryTest pdb2.setProperty("hello", "moon"); assertTrue(pdb1.updateFrom(pdb2)); assertEquals(pdb1.getProperty("hello"), "moon"); - + /* * different id but authoritative */ @@ -282,8 +282,8 @@ public class PDBEntryTest // can update pdb1 (authoritative) from pdb2 (non-authoritative) assertTrue(pdb1.updateFrom(pdb2)); // but the ID must remain the same - assertEquals(pdb1.getId(),"af:1xyz"); - + assertEquals(pdb1.getId(), "af:1xyz"); + } @Test(groups = { "Functional" })