X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Ffts%2Fthreedbeacons%2FTDBeaconsPanelTest.java;fp=test%2Fjalview%2Ffts%2Fthreedbeacons%2FTDBeaconsPanelTest.java;h=7992e3f07762665df0113b36decdaca8a1cf221a;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=dec33e384d03801a554e1937c080e238d21234c4;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;p=jalview.git diff --git a/test/jalview/fts/threedbeacons/TDBeaconsPanelTest.java b/test/jalview/fts/threedbeacons/TDBeaconsPanelTest.java index dec33e3..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); + // } }