Class OutletConfigurationTest

java.lang.Object
org.apache.torque.generator.configuration.outlet.OutletConfigurationTest

public class OutletConfigurationTest extends Object
  • Constructor Details

    • OutletConfigurationTest

      public OutletConfigurationTest()
  • Method Details

    • 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