org.jomc.tools.test
Class ClassFileProcessorTest

Package class diagram package ClassFileProcessorTest
java.lang.Object
  extended by org.jomc.tools.test.JomcToolTest
      extended by org.jomc.tools.test.ClassFileProcessorTest

public class ClassFileProcessorTest
extends JomcToolTest

Test cases for class org.jomc.tools.ClassFileProcessor.

Version:
$JOMC: ClassFileProcessorTest.java 4200 2012-01-25 09:46:13Z schulte2005 $
Author:
Christian Schulte

Constructor Summary
ClassFileProcessorTest()
          Creates a new ClassFileProcessorTest instance.
 
Method Summary
 ClassFileProcessor getJomcTool()
          Gets the JomcTool instance tests are performed with.
 File getNextClassesDirectory()
          Gets a directory holding class files corresponding to the model of the instance.
protected  ClassFileProcessor newJomcTool()
          Creates a new JomcTool instance to test.
protected  Model newModel()
          Creates a new Model instance backing the test.
 void testClassFileProcessorNullPointerException()
           
 void testCommitTransformValidateClasses()
           
 void testCopyConstructor()
           
 
Methods inherited from class org.jomc.tools.test.JomcToolTest
assertIllegalArgumentException, assertNullPointerException, getModel, getModelContext, getNextOutputDirectory, getOutputDirectory, getResourceEncoding, newModelContext, setOutputDirectory, setResourceEncoding, testDefaultLogLevel, testDefaultTemplateProfile, testIndentation, testInputEncoding, testJomcToolNotNull, testJomcToolNullPointerException, testLineSeparator, testLogLevel, testModel, testOutputEncoding, testTemplateEncoding, testTemplateProfile, testVelocityEngine, testVelocityTemplates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFileProcessorTest

public ClassFileProcessorTest()
Creates a new ClassFileProcessorTest instance.

Method Detail

getJomcTool

public ClassFileProcessor getJomcTool()
Gets the JomcTool instance tests are performed with.

Overrides:
getJomcTool in class JomcToolTest
Returns:
The JomcTool instance tests are performed with.
See Also:
JomcToolTest.newJomcTool()

newJomcTool

protected ClassFileProcessor newJomcTool()
Creates a new JomcTool instance to test.

Overrides:
newJomcTool in class JomcToolTest
Returns:
A new JomcTool instance to test.
See Also:
JomcToolTest.getJomcTool()

newModel

protected Model newModel()
Creates a new Model instance backing the test.

Overrides:
newModel in class JomcToolTest
Returns:
A new Model instance backing the test.
See Also:
JomcToolTest.getModel()

getNextClassesDirectory

public final File getNextClassesDirectory()
Gets a directory holding class files corresponding to the model of the instance.

Returns:
A directory holding class files corresponding to the model of the instance.
See Also:
JomcToolTest.getNextOutputDirectory()

testClassFileProcessorNullPointerException

public final void testClassFileProcessorNullPointerException()
                                                      throws Exception
Throws:
Exception

testCommitTransformValidateClasses

public final void testCommitTransformValidateClasses()
                                              throws Exception
Throws:
Exception

testCopyConstructor

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