@@ -5,40 +5,39 @@
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.apache.myrmidon.components.configurer;
package org.apache.myrmidon.components.configurer.test ;
import java.io.File;
import org.apache.antlib.core.StringToIntegerConverter;
import org.apache.avalon.excalibur.i18n.ResourceManager;
import org.apache.avalon.excalibur.i18n.Resources;
import org.apache.avalon.framework.ExceptionUtil;
import org.apache.avalon.framework.configuration.ConfigurationException;
import org.apache.avalon.framework.configuration.DefaultConfiguration;
import org.apache.myrmidon.api.TaskContext;
import org.apache.myrmidon.components.AbstractComponentTest;
import org.apache.myrmidon.components.configurer.data.ConfigTestAttributeConvert;
import org.apache.myrmidon.components.configurer.data.ConfigTestConfigAdder;
import org.apache.myrmidon.components.configurer.data.ConfigTestContent;
import org.apache.myrmidon.components.configurer.data.ConfigTestEmpty;
import org.apache.myrmidon.components.configurer.data.ConfigTestIdResolve;
import org.apache.myrmidon.components.configurer.data.ConfigTestIgnoreStringMethods;
import org.apache.myrmidon.components.configurer.data.ConfigTestInterfaceAdder;
import org.apache.myrmidon.components.configurer.data.ConfigTestMismatchedRefType;
import org.apache.myrmidon.components.configurer.data.ConfigTestMultipleTypedAdder;
import org.apache.myrmidon.components.configurer.data.ConfigTestNestedErrors;
import org.apache.myrmidon.components.configurer.data.ConfigTestNonInterfaceAdder;
import org.apache.myrmidon.components.configurer.data.ConfigTestPropResolution;
import org.apache.myrmidon.components.configurer.data.ConfigTestReferenceAttribute;
import org.apache.myrmidon.components.configurer.data.ConfigTestReferenceConversion;
import org.apache.myrmidon.components.configurer.data.ConfigTestReferenceElement;
import org.apache.myrmidon.components.configurer.data.ConfigTestSetAttribute;
import org.apache.myrmidon.components.configurer.data.ConfigTestSetElement;
import org.apache.myrmidon.components.configurer.data.ConfigTestTypedAdder;
import org.apache.myrmidon.components.configurer.data.ConfigTestTypedAdderConversion;
import org.apache.myrmidon.components.configurer.data.ConfigTestTypedAdderReference;
import org.apache.myrmidon.components.configurer.data.ConfigTestTypedAdderRole;
import org.apache.myrmidon.components.configurer.data.ConfigTestTypedConfigAdder;
import org.apache.myrmidon.components.configurer.data.ConfigTestUnknownReference;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestAttributeConvert;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestConfigAdder;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestContent;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestEmpty;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestIdResolve;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestIgnoreStringMethods;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestInterfaceAdder;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestMismatchedRefType;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestMultipleTypedAdder;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestNestedErrors;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestNonInterfaceAdder;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestPropResolution;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestReferenceAttribute;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestReferenceConversion;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestReferenceElement;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestSetAttribute;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestSetElement;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestTypedAdder;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestTypedAdderConversion;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestTypedAdderReference;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestTypedAdderRole;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestTypedConfigAdder;
import org.apache.myrmidon.components.configurer.test. data.ConfigTestUnknownReference;
import org.apache.myrmidon.components.workspace.DefaultTaskContext;
import org.apache.myrmidon.framework.DataType;
import org.apache.myrmidon.interfaces.configurer.Configurer;
@@ -49,16 +48,16 @@ import org.apache.myrmidon.interfaces.role.RoleInfo;
*
* @author Adam Murdoch
*/
public class DefaultConfigurerTest
public class DefaultConfigurerTestCase
extends AbstractComponentTest
{
private final static Resources REZ =
ResourceManager.getPackageResources( DefaultConfigurerTest .class );
getResourcesForTested( DefaultConfigurerTestCase .class );
private Configurer m_configurer;
private DefaultTaskContext m_context;
public DefaultConfigurerTest( String name )
public DefaultConfigurerTestCase ( String name )
{
super( name );
}