com.ibm.wsdl.tck
Class FactoryTest

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

public class FactoryTest
extends junit.framework.TestCase

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

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

Constructor Summary
FactoryTest()
           
 
Method Summary
protected  void setUp()
           
static void storePropFile(java.util.Properties properties, java.io.File propFile)
           
protected  void tearDown()
           
 void testNewInstance()
          Test WSDLFactory.newInstance() to ensure that factory instances can be retrieved by specifying the javax.wsdl.factory.WSDLFactory system property.
 void testNewInstance2()
          Test WSDLFactory.newInstance() to ensure that factory instances can be retrieved by providing a lib/wsdl.properties file in the JRE directory.
 void testNewInstance3()
          Test WSDLFactory.newInstance() to ensure that factory instances can be retrieved by relying on a platform default.
 void testNewInstance4()
          Test WSDLFactory.newInstance(...) to ensure that factory instances can be retrieved by specifying an explicit factory implementation to use.
 void testNewInstance5()
          Test WSDLFactory.newInstance(...) to ensure that factory instances can be retrieved by specifying an explicit factory implementation and classloader to use.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

FactoryTest

public FactoryTest()
Method Detail

setUp

protected void setUp()
              throws java.io.IOException
Throws:
java.io.IOException

tearDown

protected void tearDown()
                 throws java.io.IOException
Throws:
java.io.IOException

testNewInstance

public void testNewInstance()
                     throws javax.wsdl.WSDLException
Test WSDLFactory.newInstance() to ensure that factory instances can be retrieved by specifying the javax.wsdl.factory.WSDLFactory system property.

Throws:
javax.wsdl.WSDLException

testNewInstance2

public void testNewInstance2()
                      throws javax.wsdl.WSDLException,
                             java.io.IOException
Test WSDLFactory.newInstance() to ensure that factory instances can be retrieved by providing a lib/wsdl.properties file in the JRE directory.

Throws:
javax.wsdl.WSDLException
java.io.IOException

testNewInstance3

public void testNewInstance3()
                      throws javax.wsdl.WSDLException
Test WSDLFactory.newInstance() to ensure that factory instances can be retrieved by relying on a platform default.

Throws:
javax.wsdl.WSDLException

testNewInstance4

public void testNewInstance4()
                      throws javax.wsdl.WSDLException
Test WSDLFactory.newInstance(...) to ensure that factory instances can be retrieved by specifying an explicit factory implementation to use.

Throws:
javax.wsdl.WSDLException

testNewInstance5

public void testNewInstance5()
                      throws javax.wsdl.WSDLException
Test WSDLFactory.newInstance(...) to ensure that factory instances can be retrieved by specifying an explicit factory implementation and classloader to use.

Throws:
javax.wsdl.WSDLException

storePropFile

public static void storePropFile(java.util.Properties properties,
                                 java.io.File propFile)
                          throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003,2006 IBM. All Rights Reserved.