junit.com.mcdermottroe.exemplar.output
Class OutputUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by junit.com.mcdermottroe.exemplar.ExemplarTestCase<T>
              extended by junit.com.mcdermottroe.exemplar.UtilityClassTestCase<OutputUtils>
                  extended by junit.com.mcdermottroe.exemplar.output.OutputUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class OutputUtilsTest
extends UtilityClassTestCase<OutputUtils>

Test class for OutputUtils.

Since:
0.1

Field Summary
private  File testFile
          A test File to use.
 
Fields inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase
DELIBERATE_PASS, testedClass, TMP
 
Constructor Summary
OutputUtilsTest()
           
 
Method Summary
 void setUp()
          Set up the JUnit test.
 void testAvailableLanguageAPIPairs()
          Test OutputUtils.availableLanguageAPIPairs().
 void testAvailableOutputAPIs()
          Test OutputUtils.availableOutputAPIs().
 void testAvailableOutputLanguages()
          Test OutputUtils.availableOutputLanguages().
 void testGenerateParser()
          Test OutputUtils.generateParser(XMLDocumentType, String, String, String).
 void testWriteStringToFileStringFile()
          Test OutputUtils.writeStringToFile(String, File).
 void testWriteStringToFileStringFileString()
          Test OutputUtils.writeStringToFile(String, File, String).
 void testWriteStringToFileStringString()
          Test OutputUtils.writeStringToFile(String, String).
 
Methods inherited from class junit.com.mcdermottroe.exemplar.UtilityClassTestCase
testAllFieldsStatic, testAllMethodsStatic, testOnePrivateConstructor
 
Methods inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase
getTestedClass, testAllMethodsBeingTested, testCorrectPackage
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

testFile

private File testFile
A test File to use.

Constructor Detail

OutputUtilsTest

public OutputUtilsTest()
Method Detail

setUp

public void setUp()
           throws Exception
Set up the JUnit test.

Overrides:
setUp in class ExemplarTestCase<OutputUtils>
Throws:
Exception - if TestCase.setUp() throws one.
See Also:
ExemplarTestCase.testedClass, TestCase.setUp()

testAvailableOutputAPIs

public void testAvailableOutputAPIs()
Test OutputUtils.availableOutputAPIs().


testAvailableOutputLanguages

public void testAvailableOutputLanguages()
Test OutputUtils.availableOutputLanguages().


testAvailableLanguageAPIPairs

public void testAvailableLanguageAPIPairs()
Test OutputUtils.availableLanguageAPIPairs().


testWriteStringToFileStringString

public void testWriteStringToFileStringString()
Test OutputUtils.writeStringToFile(String, String).


testWriteStringToFileStringFile

public void testWriteStringToFileStringFile()
Test OutputUtils.writeStringToFile(String, File).


testWriteStringToFileStringFileString

public void testWriteStringToFileStringFileString()
Test OutputUtils.writeStringToFile(String, File, String).


testGenerateParser

public void testGenerateParser()
Test OutputUtils.generateParser(XMLDocumentType, String, String, String).