com.ibm.wsdl.tck
Class WSDLWriterTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.ibm.wsdl.tck.WSDLWriterTest
All Implemented Interfaces:
junit.framework.Test

public class WSDLWriterTest
extends junit.framework.TestCase

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

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

Constructor Summary
WSDLWriterTest()
           
 
Method Summary
protected  void setUp()
           
 void testWriteWSDL()
          Test each variation of WSDLWriter.writeWSDL(...), and WSDLWriter.getDocument(...), to ensure that round-tripped definitions still contain the same information.
 void testWriteWSDLWithSchemas()
          Added for the JWSDL 1.1 Maintenance Release.
 
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

WSDLWriterTest

public WSDLWriterTest()
Method Detail

setUp

protected void setUp()
              throws javax.wsdl.WSDLException
Throws:
javax.wsdl.WSDLException

testWriteWSDL

public void testWriteWSDL()
                   throws javax.wsdl.WSDLException
Test each variation of WSDLWriter.writeWSDL(...), and WSDLWriter.getDocument(...), to ensure that round-tripped definitions still contain the same information.

Throws:
javax.wsdl.WSDLException

testWriteWSDLWithSchemas

public void testWriteWSDLWithSchemas()
                              throws javax.wsdl.WSDLException
Added for the JWSDL 1.1 Maintenance Release. Test writing a wsdl definition that has imported, included and redefined schemas.

Throws:
javax.wsdl.WSDLException


Copyright © 2003,2006 IBM. All Rights Reserved.