com.ibm.wsdl.tck
Class BindingTest

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

public class BindingTest
extends junit.framework.TestCase

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

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

Constructor Summary
BindingTest()
           
 
Method Summary
protected  void setUp()
           
 void testAddGetRemoveBindingOperation()
          Test Binding.addBindingOperation(...), Binding.getBindingOperation(...) and Binding.removeBindingOperation(...) specifying the operation name and null for the input and output message names.
 void testAddGetRemoveBindingOperation2()
          Test Binding.addBindingOperation(...), Binding.getBindingOperation(...) and Binding.removeBindingOperation(...) specifying the operation name and the input and output message names.
 void testAddGetRemoveBindingOperation3()
          Test Binding.addBindingOperation(...), Binding.getBindingOperation(...) and Binding.removeBindingOperation(...) specifying the operation name and ":none" for the input and output message names.
 void testIsSetUndefined()
          Test Binding.setUndefined(...) andBinding.isUndefined().
 void testSetGetDocumentationElement()
          Test Binding.setDocumentationElement(...) and Binding.getDocumentationElement().
 void testSetGetPortType()
          Test Binding.setPortType(...) andBinding.getPortType().
 void testSetGetQName()
          Test Binding.setQName(...) andBinding.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

BindingTest

public BindingTest()
Method Detail

setUp

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

testAddGetRemoveBindingOperation

public void testAddGetRemoveBindingOperation()
Test Binding.addBindingOperation(...), Binding.getBindingOperation(...) and Binding.removeBindingOperation(...) specifying the operation name and null for the input and output message names.


testAddGetRemoveBindingOperation2

public void testAddGetRemoveBindingOperation2()
Test Binding.addBindingOperation(...), Binding.getBindingOperation(...) and Binding.removeBindingOperation(...) specifying the operation name and the input and output message names.


testAddGetRemoveBindingOperation3

public void testAddGetRemoveBindingOperation3()
Test Binding.addBindingOperation(...), Binding.getBindingOperation(...) and Binding.removeBindingOperation(...) specifying the operation name and ":none" for the input and output message names.


testSetGetDocumentationElement

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

Throws:
javax.xml.parsers.ParserConfigurationException

testSetGetPortType

public void testSetGetPortType()
Test Binding.setPortType(...) andBinding.getPortType().


testSetGetQName

public void testSetGetQName()
Test Binding.setQName(...) andBinding.getQName().


testIsSetUndefined

public void testIsSetUndefined()
Test Binding.setUndefined(...) andBinding.isUndefined().



Copyright © 2003,2006 IBM. All Rights Reserved.