com.ibm.wsdl.tck
Class PortTypeTest

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

public class PortTypeTest
extends junit.framework.TestCase

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

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

Constructor Summary
PortTypeTest()
           
 
Method Summary
protected  void setUp()
           
 void testAddGetRemoveOperation()
          Test PortType.addOperation(...), PortType.getOperation(...) and PortType.removeOperation(...) specifying the operation name and null for the input and output message names.
 void testAddGetRemoveOperation2()
          Test PortType.addOperation(...), PortType.getOperation(...) and PortType.removeOperation(...) specifying the operation name and the input and output message names.
 void testAddGetRemoveOperation3()
          Test PortType.addOperation(...), PortType.getOperation(...) and PortType.removeOperation(...) specifying the operation name and ":none" for the input and output message names.
 void testIsSetUndefined()
          Test PortType.setUndefined(...) and PortType.isUndefined().
 void testSetGetDocumentationElement()
          Test PortType.setDocumentationElement(...) and PortType.getDocumentationElement().
 void testSetGetQName()
          Test PortType.setQName(...) and PortType.getQName().
 
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

PortTypeTest

public PortTypeTest()
Method Detail

setUp

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

testAddGetRemoveOperation

public void testAddGetRemoveOperation()
Test PortType.addOperation(...), PortType.getOperation(...) and PortType.removeOperation(...) specifying the operation name and null for the input and output message names.


testAddGetRemoveOperation2

public void testAddGetRemoveOperation2()
Test PortType.addOperation(...), PortType.getOperation(...) and PortType.removeOperation(...) specifying the operation name and the input and output message names.


testAddGetRemoveOperation3

public void testAddGetRemoveOperation3()
Test PortType.addOperation(...), PortType.getOperation(...) and PortType.removeOperation(...) specifying the operation name and ":none" for the input and output message names.


testSetGetDocumentationElement

public void testSetGetDocumentationElement()
                                    throws javax.xml.parsers.ParserConfigurationException
Test PortType.setDocumentationElement(...) and PortType.getDocumentationElement().

Throws:
javax.xml.parsers.ParserConfigurationException

testSetGetQName

public void testSetGetQName()
Test PortType.setQName(...) and PortType.getQName().


testIsSetUndefined

public void testIsSetUndefined()
Test PortType.setUndefined(...) and PortType.isUndefined().



Copyright © 2003,2006 IBM. All Rights Reserved.