JAL-1925 update source version in license
[jalview.git] / test / jalview / datamodel / xdb / embl / EmblFileTest.java
index 2d9b713..fa0c5b6 100644 (file)
@@ -1,3 +1,23 @@
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
+ * 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 <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ */
 package jalview.datamodel.xdb.embl;
 
 import static org.testng.AssertJUnit.assertEquals;
@@ -15,8 +35,7 @@ import org.testng.annotations.Test;
 public class EmblFileTest
 {
   // adapted from http://www.ebi.ac.uk/Tools/dbfetch/dbfetch/embl/x53828/emblxml
-  private static final String TESTDATA = 
-          "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
+  private static final String TESTDATA = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
           + "<EMBL_Services>"
           + "<entry accession=\"X53828\" version=\"3\" lastUpdated=\"2005-04-18\" releaseCreated=\"25\" releaseLastUpdated=\"83\">"
           + "<description>Chicken LDH-A mRNA for lactate dehydrogenase A chain (EC 1.1.1.27)</description>"
@@ -26,12 +45,12 @@ public class EmblFileTest
           + "<qualifier name=\"note\"><value>L-lactate dehydrogenase A-chain</value><value>pickle</value></qualifier>"
           + "<qualifier name=\"translation\"><value>MSLKDHLIHN</value><evidence>Keith</evidence></qualifier>"
           + "<location type=\"single\" complement=\"true\">"
-              + "<locationElement type=\"range\" accession=\"X53828\" version=\"1\" complement=\"false\">"
+          + "<locationElement type=\"range\" accession=\"X53828\" version=\"1\" complement=\"false\">"
           + "<basePosition type=\"simple\">60</basePosition><basePosition type=\"join\">1058</basePosition>"
-              + "</locationElement></location></feature>"
+          + "</locationElement></location></feature>"
           + "<sequence type=\"mRNA\" version=\"2\">GTGACG</sequence></entry></EMBL_Services>";
 
-  @Test
+  @Test(groups = { "Functional" })
   public void testGetEmblFile()
   {
     Vector<EmblEntry> entries = EmblFile.getEmblFile(