org.apache.torque.generator.configuration.outlet
Class OutletConfigurationTest

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

public class OutletConfigurationTest
extends Object


Constructor Summary
OutletConfigurationTest()
           
 
Method Summary
 void testConstructorWithSameOutletName()
          Tests that one cannot add a outlet with the same name twice
 void 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutletConfigurationTest

public OutletConfigurationTest()
Method Detail

testGetOutlets

public void testGetOutlets()
                    throws org.apache.torque.generator.configuration.ConfigurationException
Tests that getOutlets returns the correct result.

Throws:
org.apache.torque.generator.configuration.ConfigurationException - if an error occurs.

testConstructorWithSameOutletName

public void testConstructorWithSameOutletName()
                                       throws org.apache.torque.generator.configuration.ConfigurationException
Tests that one cannot add a outlet with the same name twice

Throws:
org.apache.torque.generator.configuration.ConfigurationException - if OutletConfiguration cannot be created,

testResolveMergepointMappings

public void testResolveMergepointMappings()
                                   throws org.apache.torque.generator.configuration.ConfigurationException
Checks that resolveMergepointMappings adds the mergepoint to the correct outlet.

Throws:
org.apache.torque.generator.configuration.ConfigurationException

testResolveMergepointMappingsNotExistingOutlet

public void testResolveMergepointMappingsNotExistingOutlet()
                                                    throws org.apache.torque.generator.configuration.ConfigurationException
Checks that resolveMergepointMappings throws an error if the outlet name cannot be resolved.

Throws:
org.apache.torque.generator.configuration.ConfigurationException

testResolveMergepointMappingsNoNamespace

public void testResolveMergepointMappingsNoNamespace()
                                              throws org.apache.torque.generator.configuration.ConfigurationException
Checks that resolveMergepointMappings throws an error if a mergepoint does not contain a namespace.

Throws:
org.apache.torque.generator.configuration.ConfigurationException


Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.