org.jomc.ant.test
Class JomcToolTaskTest

Package class diagram package JomcToolTaskTest
java.lang.Object
  extended by org.jomc.ant.test.JomcTaskTest
      extended by org.jomc.ant.test.JomcModelTaskTest
          extended by org.jomc.ant.test.JomcToolTaskTest
Direct Known Subclasses:
ClassFileProcessorTaskTest, ResourceFileProcessorTaskTest, SourceFileProcessorTaskTest

public class JomcToolTaskTest
extends JomcModelTaskTest

Test cases for class org.jomc.ant.JomcToolTask.

Version:
$JOMC: JomcToolTaskTest.java 3879 2011-10-24 00:59:27Z schulte2005 $
Author:
Christian Schulte

Constructor Summary
JomcToolTaskTest()
          Creates a new JomcToolTaskTest instance.
 
Method Summary
protected  String getBuildFileName()
          Gets the name of the build file backing the test.
 JomcToolTask getJomcTask()
          Gets the JomcTask instance tests are performed with.
protected  JomcToolTask newJomcTask()
          Creates a new JomcTask instance to test.
 void testConfigureJomcTool()
           
 void testGetImplementation()
           
 void testGetModule()
           
 void testGetSpecification()
           
 void testInvalidMultipleLocaleElements()
           
 void testTemplateParameterMissingKey()
           
 void testTemplateParameterResourceMissingLocation()
           
 void testVelocityPropertyMissingKey()
           
 void testVelocityPropertyResourceMissingLocation()
           
 
Methods inherited from class org.jomc.ant.test.JomcModelTaskTest
testModuleResourceMissingLocation
 
Methods inherited from class org.jomc.ant.test.JomcTaskTest
executeTarget, getAntExecutor, getOutputDirectory, getProject, newAntExecutor, newProject, setUp, tearDown, testAssertKeysNotNull, testAssertLocationsNotNull, testAssertNamesNotNull, testAssertNotNull, testCloneable, testExecuteTask, testExecuteTaskIf, testExecuteTaskUnless, testGetModel, testGetProperties, testGetResource, testGetTransformer, testModelContextAttributeMissingKey, testTransformationOutputPropertyMissingKey, testTransformationParameterMissingKey, testTransformationParameterResourceMissingLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JomcToolTaskTest

public JomcToolTaskTest()
Creates a new JomcToolTaskTest instance.

Method Detail

getJomcTask

public JomcToolTask getJomcTask()
Gets the JomcTask instance tests are performed with.

Overrides:
getJomcTask in class JomcModelTaskTest
Returns:
The JomcTask instance tests are performed with.
See Also:
JomcTaskTest.newJomcTask()

newJomcTask

protected JomcToolTask newJomcTask()
Creates a new JomcTask instance to test.

Overrides:
newJomcTask in class JomcModelTaskTest
Returns:
A new JomcTask instance to test.
See Also:
JomcTaskTest.getJomcTask()

getBuildFileName

protected String getBuildFileName()
Gets the name of the build file backing the test.

Overrides:
getBuildFileName in class JomcModelTaskTest
Returns:
The the name of the build file backing the test.
See Also:
JomcTaskTest.newProject()

testConfigureJomcTool

public final void testConfigureJomcTool()
                                 throws Exception
Throws:
Exception

testGetSpecification

public final void testGetSpecification()
                                throws Exception
Throws:
Exception

testGetImplementation

public final void testGetImplementation()
                                 throws Exception
Throws:
Exception

testGetModule

public final void testGetModule()
                         throws Exception
Throws:
Exception

testVelocityPropertyMissingKey

public final void testVelocityPropertyMissingKey()
                                          throws Exception
Throws:
Exception

testVelocityPropertyResourceMissingLocation

public final void testVelocityPropertyResourceMissingLocation()
                                                       throws Exception
Throws:
Exception

testTemplateParameterMissingKey

public final void testTemplateParameterMissingKey()
                                           throws Exception
Throws:
Exception

testTemplateParameterResourceMissingLocation

public final void testTemplateParameterResourceMissingLocation()
                                                        throws Exception
Throws:
Exception

testInvalidMultipleLocaleElements

public final void testInvalidMultipleLocaleElements()
                                             throws Exception
Throws:
Exception


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.