1
2
3
4
5
6
7
8
9
10
11 package org.astrogrid.datacenter.deployed.vizier;
12
13 import junit.framework.TestCase;
14 import org.astrogrid.datacenter.impl.cds.generated.aladinimage.AladinImage;
15 import org.astrogrid.datacenter.impl.cds.generated.aladinimage.AladinService;
16 import org.astrogrid.datacenter.impl.cds.generated.aladinimage.AladinServiceLocator;
17 import javax.xml.rpc.ServiceException;
18
19 /*** Not currently running - CDS have just documented this web service, and want people to send an email before using it - probably
20 * because it loads the servers more. hence, it seems unfair to thrash it in a unit test. will leave for now.
21 * @todo check the wsdl has not changed, write a delegate to wrap it nicely.
22 * @author Noel Winstanley nw@jb.man.ac.uk 16-Oct-2003
23 *
24 */
25 public class AladinImageTest extends TestCase {
26
27 /***
28 * Constructor for AladinImageTest.
29 * @param arg0
30 */
31 public AladinImageTest(String arg0) {
32 super(arg0);
33 }
34
35 public void testItsThere() throws ServiceException {
36 AladinService service = new AladinServiceLocator();
37 AladinImage imageClient = service.getAladinImage();
38
39
40 }
41
42 public static void main(String[] args) {
43 junit.textui.TestRunner.run(AladinImageTest.class);
44 }
45
46 }
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75