org.jomc.ant.test
Class ManageSourcesTaskTest

Package class diagram package ManageSourcesTaskTest
java.lang.Object
  extended by org.jomc.ant.test.JomcTaskTest
      extended by org.jomc.ant.test.JomcModelTaskTest
          extended by org.jomc.ant.test.JomcToolTaskTest
              extended by org.jomc.ant.test.SourceFileProcessorTaskTest
                  extended by org.jomc.ant.test.ManageSourcesTaskTest

public class ManageSourcesTaskTest
extends SourceFileProcessorTaskTest

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

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

Constructor Summary
ManageSourcesTaskTest()
          Creates a new ManageSourcesTaskTest instance.
 
Method Summary
protected  String getBuildFileName()
          Gets the name of the build file backing the test.
 ManageSourcesTask getJomcTask()
          Gets the JomcTask instance tests are performed with.
protected  ManageSourcesTask newJomcTask()
          Creates a new JomcTask instance to test.
 void testImplementationNotFound()
           
 void testManageAntTaskSources()
           
 void testManageAntTaskSourcesAllAttributes()
           
 void testManageAntTaskSourcesBrokenModel()
           
 void testManageAntTaskSourcesWithClasspathref()
           
 void testManageAntTaskSourcesWithNestedClasspath()
           
 void testManageAntTaskSourcesWithRedundantResources()
           
 void testManageOneImplementation()
           
 void testManageOneModule()
           
 void testManageOneSpecification()
           
 void testMissingSourcesDirectory()
           
 void testModuleNotFound()
           
 void testSourceProcessingDisabled()
           
 void testSpecificationNotFound()
           
 
Methods inherited from class org.jomc.ant.test.JomcToolTaskTest
testConfigureJomcTool, testGetImplementation, testGetModule, testGetSpecification, testInvalidMultipleLocaleElements, testTemplateParameterMissingKey, testTemplateParameterResourceMissingLocation, testVelocityPropertyMissingKey, 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

ManageSourcesTaskTest

public ManageSourcesTaskTest()
Creates a new ManageSourcesTaskTest instance.

Method Detail

getJomcTask

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

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

newJomcTask

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

Overrides:
newJomcTask in class SourceFileProcessorTaskTest
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 SourceFileProcessorTaskTest
Returns:
The the name of the build file backing the test.
See Also:
JomcTaskTest.newProject()

testMissingSourcesDirectory

public final void testMissingSourcesDirectory()
                                       throws Exception
Throws:
Exception

testSpecificationNotFound

public final void testSpecificationNotFound()
                                     throws Exception
Throws:
Exception

testImplementationNotFound

public final void testImplementationNotFound()
                                      throws Exception
Throws:
Exception

testModuleNotFound

public final void testModuleNotFound()
                              throws Exception
Throws:
Exception

testSourceProcessingDisabled

public final void testSourceProcessingDisabled()
                                        throws Exception
Throws:
Exception

testManageAntTaskSources

public final void testManageAntTaskSources()
                                    throws Exception
Throws:
Exception

testManageAntTaskSourcesWithRedundantResources

public final void testManageAntTaskSourcesWithRedundantResources()
                                                          throws Exception
Throws:
Exception

testManageOneSpecification

public final void testManageOneSpecification()
                                      throws Exception
Throws:
Exception

testManageOneImplementation

public final void testManageOneImplementation()
                                       throws Exception
Throws:
Exception

testManageOneModule

public final void testManageOneModule()
                               throws Exception
Throws:
Exception

testManageAntTaskSourcesWithClasspathref

public final void testManageAntTaskSourcesWithClasspathref()
                                                    throws Exception
Throws:
Exception

testManageAntTaskSourcesWithNestedClasspath

public final void testManageAntTaskSourcesWithNestedClasspath()
                                                       throws Exception
Throws:
Exception

testManageAntTaskSourcesAllAttributes

public final void testManageAntTaskSourcesAllAttributes()
                                                 throws Exception
Throws:
Exception

testManageAntTaskSourcesBrokenModel

public final void testManageAntTaskSourcesBrokenModel()
                                               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.