org.jomc.tools.test
Class SourceFileProcessorTest

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

public class SourceFileProcessorTest
extends JomcToolTest

Test cases for class org.jomc.tools.SourceFileProcessor implementations.

Version:
$JOMC: SourceFileProcessorTest.java 4265 2012-02-16 21:17:26Z schulte2005 $
Author:
Christian Schulte

Constructor Summary
SourceFileProcessorTest()
          Creates a new SourceFileProcessorTest instance.
 
Method Summary
 SourceFileProcessor getJomcTool()
          Gets the JomcTool instance tests are performed with.
protected  SourceFileProcessor newJomcTool()
          Creates a new JomcTool instance to test.
 void testCopyConstructor()
           
 void testManageSources()
           
 void testMandatorySections()
           
 void testOptionalSections()
           
 void testSourceFileProcessorNotNull()
           
 void testSourceFileProcessorNullPointerException()
           
 
Methods inherited from class org.jomc.tools.test.JomcToolTest
assertIllegalArgumentException, assertNullPointerException, getModel, getModelContext, getNextOutputDirectory, getOutputDirectory, getResourceEncoding, newModel, 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

SourceFileProcessorTest

public SourceFileProcessorTest()
Creates a new SourceFileProcessorTest instance.

Method Detail

getJomcTool

public SourceFileProcessor 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 SourceFileProcessor newJomcTool()
Creates a new JomcTool instance to test.

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

testSourceFileProcessorNullPointerException

public final void testSourceFileProcessorNullPointerException()
                                                       throws Exception
Throws:
Exception

testSourceFileProcessorNotNull

public final void testSourceFileProcessorNotNull()
                                          throws Exception
Throws:
Exception

testManageSources

public final void testManageSources()
                             throws Exception
Throws:
Exception

testMandatorySections

public final void testMandatorySections()
                                 throws Exception
Throws:
Exception

testOptionalSections

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