verifytestcase.java

来自「Java有关XML编程需要用到axis 的源代码 把里面bin下的包导入相应」· Java 代码 · 共 30 行

JAVA
30
字号
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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?