com.ibm.wsdl.tck
Class WSDLReaderTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.ibm.wsdl.tck.WSDLReaderTest

public class WSDLReaderTest
extends junit.framework.TestCase

This class implements a series of tests used to check javax.wsdl.xml.WSDLReader implementations for compliance with the JWSDL specification.

Author:
Matthew J. Duftler (duftler@us.ibm.com)

Constructor Summary
WSDLReaderTest()
           
 
Method Summary
protected  void setUp()
           
 void testReadWSDL()
          Test each variation of WSDLReader.readWSDL(...) to ensure that definitions can be retrieved and parsed.
 void testSetGetExtensionRegistry()
          Test WSDLReader.setExtensionRegistry(...) and WSDLReader.getExtensionRegistry().
 void testSetGetFeature()
          Test WSDLReader.setFeature(...) and WSDLReader.getFeature(...).
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WSDLReaderTest

public WSDLReaderTest()
Method Detail

setUp

protected void setUp()
              throws javax.wsdl.WSDLException
Overrides:
setUp in class junit.framework.TestCase

testSetGetExtensionRegistry

public void testSetGetExtensionRegistry()
Test WSDLReader.setExtensionRegistry(...) and WSDLReader.getExtensionRegistry().

testSetGetFeature

public void testSetGetFeature()
Test WSDLReader.setFeature(...) and WSDLReader.getFeature(...). Test for recognition of both specification-mandated features.

testReadWSDL

public void testReadWSDL()
                  throws javax.wsdl.WSDLException,
                         java.io.IOException,
                         javax.xml.parsers.ParserConfigurationException,
                         org.xml.sax.SAXException
Test each variation of WSDLReader.readWSDL(...) to ensure that definitions can be retrieved and parsed. Test navigating the definition by starting with the port and walking all the way back to the message parts. Test retrieving a document that contains an <import>.


Copyright © 2003 IBM. All Rights Reserved.