junit.com.mcdermottroe.exemplar.ui.cli
Class ExitCodeTest

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<ExitCode>
                  extended by junit.com.mcdermottroe.exemplar.ui.cli.ExitCodeTest
All Implemented Interfaces:
junit.framework.Test

public class ExitCodeTest
extends NormalClassTestCase<ExitCode>

Test class for ExitCode.

Since:
0.2

Field Summary
 
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
ExitCodeTest()
           
 
Method Summary
 void setUp()
          Set up the JUnit test.
 void testGetDescription()
          Test ExitCode.getDescription().
 void testGetMnemonic()
          Test ExitCode.getMnemonic().
 void testGetNumericForm()
          Test ExitCode.getNumericForm().
 
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
 

Constructor Detail

ExitCodeTest

public ExitCodeTest()
Method Detail

setUp

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

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

testGetDescription

public void testGetDescription()
Test ExitCode.getDescription().


testGetMnemonic

public void testGetMnemonic()
Test ExitCode.getMnemonic().


testGetNumericForm

public void testGetNumericForm()
Test ExitCode.getNumericForm().