2 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1)
3 * Copyright (C) 2014 The Jalview Authors
5 * This file is part of Jalview.
7 * Jalview is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
11 * Jalview is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
17 * The Jalview Authors are detailed in the 'AUTHORS' file.
19 package jalview.ws.jabaws;
21 import static org.junit.Assert.*;
22 import jalview.ws.jws2.Jws2Discoverer;
24 import java.util.Vector;
26 import org.junit.AfterClass;
27 import org.junit.BeforeClass;
28 import org.junit.Test;
30 public class JalviewJabawsTestUtils
34 public static void setUpBeforeClass() throws Exception
39 public static void tearDownAfterClass() throws Exception
46 public static String[] serviceUrls = new String[]
47 { "http://localhost:8080/jabaws" };
50 public void testAnnotExport()
52 fail("Not yet implemented");
55 public static jalview.ws.jws2.Jws2Discoverer getJabawsDiscoverer() {
56 jalview.ws.jws2.Jws2Discoverer disc = jalview.ws.jws2.Jws2Discoverer
60 Vector<String> services = new Vector<String>();
61 for (String url : JalviewJabawsTestUtils.serviceUrls)
67 Jws2Discoverer.setServiceUrls(services);
75 fail("Aborting. Problem discovering services. Tried "+svcurls);
77 assertTrue("Failed to discover any services at ",
78 disc.getServices().size() > 0);