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 void
testConstructorWithSameOutletName()
Tests that one cannot add a outlet with the same name twicevoid
testGetOutlets()
Tests that getOutlets returns the correct result.void
testResolveMergepointMappings()
Checks that resolveMergepointMappings adds the mergepoint to the correct outlet.void
testResolveMergepointMappingsNoNamespace()
Checks that resolveMergepointMappings throws an error if a mergepoint does not contain a namespace.void
testResolveMergepointMappingsNotExistingOutlet()
Checks that resolveMergepointMappings throws an error if the outlet name cannot be resolved.
-
-
-
Method Detail
-
testGetOutlets
public void testGetOutlets() throws ConfigurationException
Tests that getOutlets returns the correct result.- Throws:
ConfigurationException
- if an error occurs.
-
testConstructorWithSameOutletName
public void testConstructorWithSameOutletName() throws ConfigurationException
Tests that one cannot add a outlet with the same name twice- Throws:
ConfigurationException
- if OutletConfiguration cannot be created,
-
testResolveMergepointMappings
public void testResolveMergepointMappings() throws ConfigurationException
Checks that resolveMergepointMappings adds the mergepoint to the correct outlet.- Throws:
ConfigurationException
-
testResolveMergepointMappingsNotExistingOutlet
public void testResolveMergepointMappingsNotExistingOutlet() throws ConfigurationException
Checks that resolveMergepointMappings throws an error if the outlet name cannot be resolved.- Throws:
ConfigurationException
-
testResolveMergepointMappingsNoNamespace
public void testResolveMergepointMappingsNoNamespace() throws ConfigurationException
Checks that resolveMergepointMappings throws an error if a mergepoint does not contain a namespace.- Throws:
ConfigurationException
-
-