com.objectwave.configuration
Class PropertyObjects.Test
java.lang.Object
|
+--com.objectwave.test.UnitTestBaseImpl
|
+--com.objectwave.configuration.PropertyObjects.Test
- All Implemented Interfaces:
- PropertySource, UnitTest
- Enclosing class:
- PropertyObjects
- public static class PropertyObjects.Test
- extends UnitTestBaseImpl
- implements PropertySource
- Version:
- $Id: PropertyObjects.java,v 2.2 2002/07/31 15:55:22 dave_hoag Exp $
- Author:
- dhoag
Method Summary |
java.lang.Class |
getExpectedClass()
Gets the ExpectedClass attribute of the Test object |
java.lang.String |
getName()
A single property source may be used to managed a list several instances of
property detail. |
static void |
main(java.lang.String[] args)
The main program for the Test class |
void |
testAddDetail()
A unit test for JUnit |
void |
testCreate()
|
void |
testGetConfigClass()
|
void |
testGetDetail()
Most of the testing of getDetail is done elsewhere, just make sure it
won't blow up on a new PropertyObjects |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyObjects.Test
public PropertyObjects.Test()
main
public static void main(java.lang.String[] args)
- The main program for the Test class
- Parameters:
args
- The command line arguments
getExpectedClass
public java.lang.Class getExpectedClass()
- Gets the ExpectedClass attribute of the Test object
- Specified by:
getExpectedClass
in interface PropertySource
- Returns:
- The ExpectedClass value
getName
public java.lang.String getName()
- Description copied from interface:
PropertySource
- A single property source may be used to managed a list several instances of
property detail. Each instance is a 'named' instance. When a detail is
being located, the name of the desired instance will be requested.
- Specified by:
getName
in interface PropertySource
- Returns:
- The name value
testGetDetail
public void testGetDetail()
throws java.lang.Exception
- Most of the testing of getDetail is done elsewhere, just make sure it
won't blow up on a new PropertyObjects
- Throws:
java.lang.Exception
testAddDetail
public void testAddDetail()
throws java.lang.Exception
- A unit test for JUnit
- Throws:
java.lang.Exception
testGetConfigClass
public void testGetConfigClass()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreate
public void testCreate()
throws java.lang.Exception
- Throws:
java.lang.Exception