use of org.apache.cxf.tools.java2ws.JavaToWS in project cxf by apache.
the class JavaToWSFlagTest method testNoArg.
@Test
public void testNoArg() {
String[] args = new String[] {};
CommandInterfaceUtils.commandCommonMain();
JavaToWS j2w = new JavaToWS(args);
try {
j2w.run();
} catch (Throwable ex) {
System.err.println("JavaToWS Error: " + ex.toString());
System.err.println();
}
assertEquals(-1, getStdOut().indexOf("Caused by:"));
}
Aggregations