com.ibm.wsdl.tck.schema
Class SchemaTest

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

public class SchemaTest
extends junit.framework.TestCase

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

Author:
John Kaputin (kaputin@uk.ibm.com)

Constructor Summary
SchemaTest()
           
 
Method Summary
protected  void setUp()
           
 void testCreateAddGetImport()
          Test Schema.createImport(), Schema.addImport(...) and Schema.getImports().
 void testCreateAddGetInclude()
          Test Schema.createInclude(), Schema.addInclude(...) and Schema.getIncludes().
 void testCreateAddGetRedefine()
          Test Schema.createRedefine(), Schema.addRedefine(...) and Schema.getRedefines().
 void testSetGetDocumentBaseURI()
          Test Schema.setDocumentBaseURI(...) and Schema.getDocumentBaseURI().
 void testSetGetElement()
          Test Schema.setElement(...) and Schema.getElement().
 
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

SchemaTest

public SchemaTest()
Method Detail

setUp

protected void setUp()
              throws javax.wsdl.WSDLException,
                     java.io.IOException
Throws:
javax.wsdl.WSDLException
java.io.IOException

testSetGetDocumentBaseURI

public void testSetGetDocumentBaseURI()
Test Schema.setDocumentBaseURI(...) and Schema.getDocumentBaseURI().


testSetGetElement

public void testSetGetElement()
                       throws javax.wsdl.WSDLException
Test Schema.setElement(...) and Schema.getElement().

Throws:
javax.wsdl.WSDLException

testCreateAddGetImport

public void testCreateAddGetImport()
                            throws javax.wsdl.WSDLException
Test Schema.createImport(), Schema.addImport(...) and Schema.getImports().

Throws:
javax.wsdl.WSDLException

testCreateAddGetInclude

public void testCreateAddGetInclude()
                             throws javax.wsdl.WSDLException
Test Schema.createInclude(), Schema.addInclude(...) and Schema.getIncludes().

Throws:
javax.wsdl.WSDLException

testCreateAddGetRedefine

public void testCreateAddGetRedefine()
                              throws javax.wsdl.WSDLException
Test Schema.createRedefine(), Schema.addRedefine(...) and Schema.getRedefines().

Throws:
javax.wsdl.WSDLException


Copyright © 2003,2006 IBM. All Rights Reserved.