Adding registry web service and changes to WStester and JWS2Client code. Bugs in...
[jabaws.git] / testsrc / compbio / ws / server / RegistryWSTester.java
1 package compbio.ws.server;\r
2 \r
3 import org.testng.annotations.Test;\r
4 \r
5 import compbio.ws.client.Jws2Client;\r
6 import compbio.ws.client.Services;\r
7 import compbio.ws.client.WSTesterTester;\r
8 \r
9 public class RegistryWSTester {\r
10 \r
11         @Test\r
12         public void testGetSupportedServices() {\r
13                 compbio.data.msa.RegistryWS reg = Jws2Client\r
14                                 .connectToRegistry(WSTesterTester.SERVER);\r
15                 System.out.println(reg.getSupportedServices());\r
16         }\r
17 \r
18         @Test\r
19         public void testTestService() {\r
20                 compbio.data.msa.RegistryWS reg = Jws2Client\r
21                                 .connectToRegistry(WSTesterTester.SERVER);\r
22                 System.out.println(reg.testService(Services.AAConWS));\r
23         }\r
24 \r
25 }\r