Class OutletConfigurationTest
java.lang.Object
org.apache.torque.generator.configuration.outlet.OutletConfigurationTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests that one cannot add a outlet with the same name twicevoidTests that getOutlets returns the correct result.voidChecks that resolveMergepointMappings adds the mergepoint to the correct outlet.voidChecks that resolveMergepointMappings throws an error if a mergepoint does not contain a namespace.voidChecks that resolveMergepointMappings throws an error if the outlet name cannot be resolved.
-
Constructor Details
-
OutletConfigurationTest
public OutletConfigurationTest()
-
-
Method Details
-
testGetOutlets
Tests that getOutlets returns the correct result.- Throws:
ConfigurationException- if an error occurs.
-
testConstructorWithSameOutletName
Tests that one cannot add a outlet with the same name twice- Throws:
ConfigurationException- if OutletConfiguration cannot be created,
-
testResolveMergepointMappings
Checks that resolveMergepointMappings adds the mergepoint to the correct outlet.- Throws:
ConfigurationException
-
testResolveMergepointMappingsNotExistingOutlet
Checks that resolveMergepointMappings throws an error if the outlet name cannot be resolved.- Throws:
ConfigurationException
-
testResolveMergepointMappingsNoNamespace
Checks that resolveMergepointMappings throws an error if a mergepoint does not contain a namespace.- Throws:
ConfigurationException
-