X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Ffts%2Fthreedbeacons%2FTDBeaconsPanelTest.java;h=7992e3f07762665df0113b36decdaca8a1cf221a;hb=e9a1c2c372f4bbf6cf658de3dba73ef326b20c20;hp=1397944c1576a965ae1032e56d09d9ed5983797b;hpb=0b4e71bc98cc0071159b05a0358e1e36b6bb1361;p=jalview.git diff --git a/test/jalview/fts/threedbeacons/TDBeaconsPanelTest.java b/test/jalview/fts/threedbeacons/TDBeaconsPanelTest.java index 1397944..7992e3f 100644 --- a/test/jalview/fts/threedbeacons/TDBeaconsPanelTest.java +++ b/test/jalview/fts/threedbeacons/TDBeaconsPanelTest.java @@ -1,6 +1,25 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ 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.fts.threedbeacons; - import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertTrue; @@ -18,7 +37,6 @@ import org.testng.annotations.Test; import junit.extensions.PA; - public class TDBeaconsPanelTest { @BeforeClass(alwaysRun = true) @@ -45,24 +63,26 @@ public class TDBeaconsPanelTest assertTrue(searchPanel.getCmbSearchTarget().getItemCount() > 0); searchPanel.populateCmbSearchTargetOptions(); } - + @Test - public void getFTSframeTitleTest() { + public void getFTSframeTitleTest() + { TDBeaconsFTSPanel searchPanel = new TDBeaconsFTSPanel(null); System.out.println(searchPanel.getFTSFrameTitle()); } - + @Test - public void testgetUNIPROTid() { + public void testgetUNIPROTid() + { String outcome = TDBeaconsFTSPanel.decodeSearchTerm("P01308"); System.out.println(outcome); } - - @Test - public void queryTest() { - int outcome = TDBeaconsFTSPanel.executeParse("P01308"); - //System.out.println("query outcome :" + outcome); - int expected_length = 110; - assertEquals(outcome, expected_length); - } + // + // @Test + // public void queryTest() { + // int outcome = TDBeaconsFTSPanel.executeParse("P01308"); + // //System.out.println("query outcome :" + outcome); + // int expected_length = 110; + // assertEquals(outcome, expected_length); + // } }