|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--net.firstpartners.nounit.utility.test.TestLogging
Class to test logging of system output and system errors
Constructor Summary | |
TestLogging(java.lang.String name)
Constructor Required by Junit |
Method Summary | |
static void |
main(java.lang.String[] args)
Enable Junit to run this Class individually |
protected void |
setUp()
Method to setup logging test |
static junit.framework.Test |
suite()
Enable Junit to run this class |
void |
testLogFileValue()
Test that a value is set for the log file |
void |
testSysErr()
test the ability to get system errors from class logging |
void |
testSysOut()
test the ability to get system output from class logging |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestLogging(java.lang.String name)
name
- Method Detail |
protected void setUp()
setUp
in class junit.framework.TestCase
public static void main(java.lang.String[] args)
args
- public static junit.framework.Test suite()
public void testSysOut() throws java.io.IOException
public void testSysErr() throws java.io.IOException
public void testLogFileValue() throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |