org.jomc.ant.test
Class CommitClassesTaskTest

Package class diagram package CommitClassesTaskTest
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.ClassFileProcessorTaskTest
                  extended by org.jomc.ant.test.CommitClassesTaskTest

public class CommitClassesTaskTest
extends ClassFileProcessorTaskTest

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

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

Constructor Summary
CommitClassesTaskTest()
          Creates a new CommitClassesTaskTest instance.
 
Method Summary
protected  String getBuildFileName()
          Gets the name of the build file backing the test.
 CommitClassesTask getJomcTask()
          Gets the JomcTask instance tests are performed with.
protected  CommitClassesTask newJomcTask()
          Creates a new JomcTask instance to test.
 void testClassProcessingDisabled()
           
 void testCommitAntTasks()
           
 void testCommitAntTasksAllAttributes()
           
 void testCommitAntTasksBrokenModel()
           
 void testCommitAntTasksWithClasspathref()
           
 void testCommitAntTasksWithNestedClasspath()
           
 void testCommitAntTasksWithNoopStylesheet()
           
 void testCommitAntTasksWithRedundantResources()
           
 void testCommitOneImplementation()
           
 void testCommitOneImplementationWithNoopStylesheet()
           
 void testCommitOneModule()
           
 void testCommitOneModuleWithNoopStylesheet()
           
 void testCommitOneSpecification()
           
 void testCommitOneSpecificationWithNoopStylesheet()
           
 void testImplementationNotFound()
           
 void testMissingClassesDirectory()
           
 void testModuleNotFound()
           
 void testOptionalStylesheetNotFound()
           
 void testSpecificationNotFound()
           
 void testStylesheetMissingLocationKey()
           
 void testStylesheetNotFound()
           
 
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

CommitClassesTaskTest

public CommitClassesTaskTest()
Creates a new CommitClassesTaskTest instance.

Method Detail

getJomcTask

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

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

newJomcTask

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

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

testMissingClassesDirectory

public final void testMissingClassesDirectory()
                                       throws Exception
Throws:
Exception

testStylesheetMissingLocationKey

public final void testStylesheetMissingLocationKey()
                                            throws Exception
Throws:
Exception

testStylesheetNotFound

public final void testStylesheetNotFound()
                                  throws Exception
Throws:
Exception

testOptionalStylesheetNotFound

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

testClassProcessingDisabled

public final void testClassProcessingDisabled()
                                       throws Exception
Throws:
Exception

testCommitAntTasks

public final void testCommitAntTasks()
                              throws Exception
Throws:
Exception

testCommitAntTasksWithNoopStylesheet

public final void testCommitAntTasksWithNoopStylesheet()
                                                throws Exception
Throws:
Exception

testCommitAntTasksWithRedundantResources

public final void testCommitAntTasksWithRedundantResources()
                                                    throws Exception
Throws:
Exception

testCommitOneSpecification

public final void testCommitOneSpecification()
                                      throws Exception
Throws:
Exception

testCommitOneImplementation

public final void testCommitOneImplementation()
                                       throws Exception
Throws:
Exception

testCommitOneModule

public final void testCommitOneModule()
                               throws Exception
Throws:
Exception

testCommitOneSpecificationWithNoopStylesheet

public final void testCommitOneSpecificationWithNoopStylesheet()
                                                        throws Exception
Throws:
Exception

testCommitOneImplementationWithNoopStylesheet

public final void testCommitOneImplementationWithNoopStylesheet()
                                                         throws Exception
Throws:
Exception

testCommitOneModuleWithNoopStylesheet

public final void testCommitOneModuleWithNoopStylesheet()
                                                 throws Exception
Throws:
Exception

testCommitAntTasksWithClasspathref

public final void testCommitAntTasksWithClasspathref()
                                              throws Exception
Throws:
Exception

testCommitAntTasksWithNestedClasspath

public final void testCommitAntTasksWithNestedClasspath()
                                                 throws Exception
Throws:
Exception

testCommitAntTasksAllAttributes

public final void testCommitAntTasksAllAttributes()
                                           throws Exception
Throws:
Exception

testCommitAntTasksBrokenModel

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