org.jomc.ant.test
Class MergeModletsTaskTest

Package class diagram package MergeModletsTaskTest
java.lang.Object
  extended by org.jomc.ant.test.JomcTaskTest
      extended by org.jomc.ant.test.MergeModletsTaskTest

public class MergeModletsTaskTest
extends JomcTaskTest

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

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

Constructor Summary
MergeModletsTaskTest()
          Creates a new MergeModletsTaskTest instance.
 
Method Summary
protected  String getBuildFileName()
          Gets the name of the build file backing the test.
 MergeModletsTask getJomcTask()
          Gets the JomcTask instance tests are performed with.
protected  MergeModletsTask newJomcTask()
          Creates a new JomcTask instance to test.
 void testExclusionMissingModletName()
           
 void testInclusionMissingModletName()
           
 void testIsModletExcluded()
           
 void testIsModletIncluded()
           
 void testMergeModlets()
           
 void testMergeModletsAllAttributes()
           
 void testMergeModletsExclusion()
           
 void testMergeModletsInclusion()
           
 void testMergeModletsUnsupportedResource()
           
 void testMergeModletsWithIllegalTransformationResultStylesheet()
           
 void testMergeModletsWithNoopStylesheet()
           
 void testMergeModletsWithRedundantResources()
           
 void testMissingModletFile()
           
 void testMissingModletName()
           
 void testModletResourceMissingLocation()
           
 
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

MergeModletsTaskTest

public MergeModletsTaskTest()
Creates a new MergeModletsTaskTest instance.

Method Detail

getJomcTask

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

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

newJomcTask

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

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

testMissingModletFile

public final void testMissingModletFile()
                                 throws Exception
Throws:
Exception

testMissingModletName

public final void testMissingModletName()
                                 throws Exception
Throws:
Exception

testExclusionMissingModletName

public final void testExclusionMissingModletName()
                                          throws Exception
Throws:
Exception

testInclusionMissingModletName

public final void testInclusionMissingModletName()
                                          throws Exception
Throws:
Exception

testModletResourceMissingLocation

public final void testModletResourceMissingLocation()
                                             throws Exception
Throws:
Exception

testMergeModlets

public final void testMergeModlets()
                            throws Exception
Throws:
Exception

testMergeModletsWithNoopStylesheet

public final void testMergeModletsWithNoopStylesheet()
                                              throws Exception
Throws:
Exception

testMergeModletsWithRedundantResources

public final void testMergeModletsWithRedundantResources()
                                                  throws Exception
Throws:
Exception

testMergeModletsWithIllegalTransformationResultStylesheet

public final void testMergeModletsWithIllegalTransformationResultStylesheet()
                                                                     throws Exception
Throws:
Exception

testMergeModletsUnsupportedResource

public final void testMergeModletsUnsupportedResource()
                                               throws Exception
Throws:
Exception

testMergeModletsExclusion

public final void testMergeModletsExclusion()
                                     throws Exception
Throws:
Exception

testMergeModletsInclusion

public final void testMergeModletsInclusion()
                                     throws Exception
Throws:
Exception

testMergeModletsAllAttributes

public final void testMergeModletsAllAttributes()
                                         throws Exception
Throws:
Exception

testIsModletExcluded

public final void testIsModletExcluded()
                                throws Exception
Throws:
Exception

testIsModletIncluded

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