Klasse OutletConfigurationTest
java.lang.Object
org.apache.torque.generator.configuration.outlet.OutletConfigurationTest
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Tests that one cannot add a outlet with the same name twicevoid
Tests that getOutlets returns the correct result.void
Checks that resolveMergepointMappings adds the mergepoint to the correct outlet.void
Checks that resolveMergepointMappings throws an error if a mergepoint does not contain a namespace.void
Checks that resolveMergepointMappings throws an error if the outlet name cannot be resolved.
-
Konstruktordetails
-
OutletConfigurationTest
public OutletConfigurationTest()
-
-
Methodendetails
-
testGetOutlets
public void testGetOutlets() throws org.apache.torque.generator.configuration.ConfigurationExceptionTests that getOutlets returns the correct result.- Löst aus:
org.apache.torque.generator.configuration.ConfigurationException
- if an error occurs.
-
testConstructorWithSameOutletName
public void testConstructorWithSameOutletName() throws org.apache.torque.generator.configuration.ConfigurationExceptionTests that one cannot add a outlet with the same name twice- Löst aus:
org.apache.torque.generator.configuration.ConfigurationException
- if OutletConfiguration cannot be created,
-
testResolveMergepointMappings
public void testResolveMergepointMappings() throws org.apache.torque.generator.configuration.ConfigurationExceptionChecks that resolveMergepointMappings adds the mergepoint to the correct outlet.- Löst aus:
org.apache.torque.generator.configuration.ConfigurationException
-
testResolveMergepointMappingsNotExistingOutlet
public void testResolveMergepointMappingsNotExistingOutlet() throws org.apache.torque.generator.configuration.ConfigurationExceptionChecks that resolveMergepointMappings throws an error if the outlet name cannot be resolved.- Löst aus:
org.apache.torque.generator.configuration.ConfigurationException
-
testResolveMergepointMappingsNoNamespace
public void testResolveMergepointMappingsNoNamespace() throws org.apache.torque.generator.configuration.ConfigurationExceptionChecks that resolveMergepointMappings throws an error if a mergepoint does not contain a namespace.- Löst aus:
org.apache.torque.generator.configuration.ConfigurationException
-