com.objectwave.configuration
Class DefaultConfigurationService.Test

java.lang.Object
  |
  +--com.objectwave.test.UnitTestBaseImpl
        |
        +--com.objectwave.configuration.DefaultConfigurationService.Test
All Implemented Interfaces:
PropertySource, UnitTest
Enclosing class:
DefaultConfigurationService

public static class DefaultConfigurationService.Test
extends UnitTestBaseImpl
implements PropertySource

Author:
dhoag

Field Summary
 int testValue
           
 
Fields inherited from class com.objectwave.test.UnitTestBaseImpl
testContext
 
Constructor Summary
DefaultConfigurationService.Test()
           
 
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 setTestValue(int usedForTesting)
          Sets the TestValue attribute of the Test object
 void testFindValueToSet()
          A unit test for JUnit
 void testGetCategoryId()
          A unit test for JUnit
 void testGetOrCreate()
          A unit test for JUnit
 void testGetPropertyHolder()
          A unit test for JUnit
 void testSetValues()
          A unit test for JUnit
 
Methods inherited from class com.objectwave.test.UnitTestBaseImpl
createTest, removeFile, setUp, tearDown, writeFile, writeFileResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testValue

public int testValue
Constructor Detail

DefaultConfigurationService.Test

public DefaultConfigurationService.Test()
Method Detail

main

public static void main(java.lang.String[] args)
The main program for the Test class

Parameters:
args - The command line arguments

setTestValue

public void setTestValue(int usedForTesting)
Sets the TestValue attribute of the Test object

Parameters:
usedForTesting - The new TestValue value

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

testGetPropertyHolder

public void testGetPropertyHolder()
                           throws java.lang.Exception
A unit test for JUnit

Throws:
java.lang.Exception

testGetOrCreate

public void testGetOrCreate()
                     throws ConfigurationException
A unit test for JUnit

Throws:
ConfigurationException

testSetValues

public void testSetValues()
                   throws java.lang.Exception
A unit test for JUnit

Throws:
java.lang.Exception

testGetCategoryId

public void testGetCategoryId()
A unit test for JUnit


testFindValueToSet

public void testFindValueToSet()
A unit test for JUnit