de.qfs.apps.qflog.logview
Class LogParser.UnitTest

java.lang.Object
  |
  +--junit.framework.TestCase
        |
        +--de.qfs.apps.qflog.logview.LogParser.UnitTest
Enclosing class:
LogParser

public static class LogParser.UnitTest
extends junit.framework.TestCase

Test cases for the LogParser class.


Constructor Summary
LogParser.UnitTest(java.lang.String name)
          Create a new UnitTest.
 
Method Summary
protected  void setUp()
          Set up the test fixture.
static junit.framework.Test suite()
          Get the suite of tests.
 void testDifficult()
          Test parsing difficult messages.
 void testFail()
          Test parser failure.
 void testParseTime()
          Test the various date formats
 
Methods inherited from class junit.framework.TestCase
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, countTestCases, createResult, fail, fail, getResult, name, notEqualsMessage, run, run, runBare, runTest, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogParser.UnitTest

public LogParser.UnitTest(java.lang.String name)
Create a new UnitTest.
Parameters:
name - The name of the test.
Method Detail

setUp

protected void setUp()
Set up the test fixture.
Overrides:
setUp in class junit.framework.TestCase

suite

public static junit.framework.Test suite()
Get the suite of tests.
Returns:
The tests.

testParseTime

public void testParseTime()
Test the various date formats

testDifficult

public void testDifficult()
Test parsing difficult messages.

testFail

public void testFail()
Test parser failure.