1 19 20 26 27 package org.netbeans.modules.xml.wsdlextui.property; 28 29 import junit.framework.*; 30 import java.io.InputStream ; 31 import org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory; 32 33 37 public class SOAPValidatorSchemaFactoryTest extends TestCase { 38 39 public SOAPValidatorSchemaFactoryTest(String testName) { 40 super(testName); 41 } 42 43 protected void setUp() throws Exception { 44 } 45 46 protected void tearDown() throws Exception { 47 } 48 49 52 public void testGetNamespaceURI() { 53 System.out.println("getNamespaceURI"); 54 55 SOAPValidatorSchemaFactory instance = new SOAPValidatorSchemaFactory(); 56 57 String result = instance.getNamespaceURI(); 58 assertNotNull(result); 59 60 61 } 62 63 66 public void testGetSchemaInputStream() { 67 System.out.println("getSchemaInputStream"); 68 69 SOAPValidatorSchemaFactory instance = new SOAPValidatorSchemaFactory(); 70 71 InputStream result = instance.getSchemaInputStream(); 72 assertNotNull(result); 73 74 } 75 76 } 77 | Popular Tags |