junit.com.mcdermottroe.exemplar.output
Class OutputExceptionTest

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.NormalClassTestCase<Exception>
                  extended by junit.com.mcdermottroe.exemplar.ExceptionClassTestCase<OutputException>
                      extended by junit.com.mcdermottroe.exemplar.output.OutputExceptionTest
All Implemented Interfaces:
junit.framework.Test

public class OutputExceptionTest
extends ExceptionClassTestCase<OutputException>

Test class for OutputException.

Since:
0.1

Field Summary
private static File testFile
          The test file to use.
 
Fields inherited from class junit.com.mcdermottroe.exemplar.NormalClassTestCase
allowPublicStaticMembers, ignoreHashCodeTests
 
Fields inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase
DELIBERATE_PASS, testedClass, TMP
 
Constructor Summary
OutputExceptionTest()
           
 
Method Summary
 void setUp()
          Set up the JUnit test.
 void testGetFile()
          Test that OutputException.getFile() returns either null or testFile.
 
Methods inherited from class junit.com.mcdermottroe.exemplar.ExceptionClassTestCase
sampleFromNoArgConstructor, sampleFromStringConstructor, sampleFromStringThrowableConstructor, sampleFromThrowableConstructor, testGetBackTrace, testInheritsFromExemplarException, testNoArgConstructor, testOneStringConstructor, testOneThrowableConstructor, testStringThrowableConstructor, testToString
 
Methods inherited from class junit.com.mcdermottroe.exemplar.NormalClassTestCase
addSample, samples, testAllConstructorsNonPrivate, testAllFieldsPrivateOrProtectedOrPublicStaticFinal, testCompareToConsistentWithEquals, testCompareToNullThrowsNPE, testCompareToSignsConsistent, testCompareToTransitive, testCopyable, testEqualsConsistent, testEqualsNullFalse, testEqualsNullPointerException, testEqualsReflexive, testEqualsSymmetric, testEqualsTransitive, testGetCopyProducesIdenticalObject, testHashCodeConsistentOverTime, testHashCodeConsistentWithEquals, testImplementsCopyable, testSerialization, testToStringConsistent
 
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 static final File testFile
The test file to use.

Constructor Detail

OutputExceptionTest

public OutputExceptionTest()
Method Detail

setUp

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

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

testGetFile

public void testGetFile()
Test that OutputException.getFile() returns either null or testFile.