File: VerifyTestCase.java

package info (click to toggle)
axis 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 52,100 kB
  • sloc: java: 129,124; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (29 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package test.wsdl.opStylesDoc;

import junit.framework.AssertionFailedError;
import junit.framework.TestCase;

import javax.xml.rpc.ServiceException;
import javax.xml.rpc.Stub;
import java.rmi.RemoteException;

public class VerifyTestCase extends junit.framework.TestCase {
    public VerifyTestCase(String name) {
        super(name);
    }

    public void testOpStyles() throws Exception {
        OpStyles binding;
        try {
            binding = new OpStyleDocServiceLocator().getOpStylesDoc();
        }
        catch (ServiceException jre) {
            throw new AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }

        binding.requestResponse();
        binding.requestResponse2();
        binding.requestResponse3(null);

   } // testOpStyles
} // class VerifyTestCase