X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Fjalview%2Fws%2Fdbsources%2FUniprotTest.java;h=ec637fef880edfb11f43ec477bf0a1960b77ab7b;hb=57dd16688caa6dacaeaf465bab3ee8b6126e1a51;hp=c89324ba7fdc8d26a91c2e6b8daac47a139f85ad;hpb=fddf3084802b37e5cee17829e32692a4aac3e60d;p=jalview.git diff --git a/test/jalview/ws/dbsources/UniprotTest.java b/test/jalview/ws/dbsources/UniprotTest.java index c89324b..ec637fe 100644 --- a/test/jalview/ws/dbsources/UniprotTest.java +++ b/test/jalview/ws/dbsources/UniprotTest.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9) + * Copyright (C) 2015 The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.ws.dbsources; import static org.testng.AssertJUnit.assertEquals; @@ -35,7 +55,7 @@ public class UniprotTest /** * Test the method that unmarshals XML to a Uniprot model */ - @Test(groups ={ "Functional" }) + @Test(groups = { "Functional" }) public void testGetUniprotEntries() { Uniprot u = new Uniprot(); @@ -53,8 +73,7 @@ public class UniprotTest /* * UniprotSequence drops any space characters */ - assertEquals("MHAPLVSKDL", entry.getUniprotSequence() - .getContent()); + assertEquals("MHAPLVSKDL", entry.getUniprotSequence().getContent()); assertEquals(2, entry.getProtein().getName().size()); assertEquals("Mitogen-activated protein kinase 13", entry.getProtein() @@ -108,7 +127,7 @@ public class UniprotTest /** * Test the method that formats the sequence name in Fasta style */ - @Test(groups ={ "Functional" }) + @Test(groups = { "Functional" }) public void testConstructSequenceFastaHeader() { Uniprot u = new Uniprot();