Class OutletConfigurationTest
- java.lang.Object
-
- org.apache.torque.generator.configuration.outlet.OutletConfigurationTest
-
public class OutletConfigurationTest extends Object
-
-
Constructor Summary
Constructors Constructor Description OutletConfigurationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestConstructorWithSameOutletName()Tests that one cannot add a outlet with the same name twicevoidtestGetOutlets()Tests that getOutlets returns the correct result.voidtestResolveMergepointMappings()Checks that resolveMergepointMappings adds the mergepoint to the correct outlet.voidtestResolveMergepointMappingsNoNamespace()Checks that resolveMergepointMappings throws an error if a mergepoint does not contain a namespace.voidtestResolveMergepointMappingsNotExistingOutlet()Checks that resolveMergepointMappings throws an error if the outlet name cannot be resolved.
-
-
-
Method Detail
-
testGetOutlets
public void testGetOutlets() throws ConfigurationExceptionTests that getOutlets returns the correct result.- Throws:
ConfigurationException- if an error occurs.
-
testConstructorWithSameOutletName
public void testConstructorWithSameOutletName() throws ConfigurationExceptionTests that one cannot add a outlet with the same name twice- Throws:
ConfigurationException- if OutletConfiguration cannot be created,
-
testResolveMergepointMappings
public void testResolveMergepointMappings() throws ConfigurationExceptionChecks that resolveMergepointMappings adds the mergepoint to the correct outlet.- Throws:
ConfigurationException
-
testResolveMergepointMappingsNotExistingOutlet
public void testResolveMergepointMappingsNotExistingOutlet() throws ConfigurationExceptionChecks that resolveMergepointMappings throws an error if the outlet name cannot be resolved.- Throws:
ConfigurationException
-
testResolveMergepointMappingsNoNamespace
public void testResolveMergepointMappingsNoNamespace() throws ConfigurationExceptionChecks that resolveMergepointMappings throws an error if a mergepoint does not contain a namespace.- Throws:
ConfigurationException
-
-