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

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

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

Test cases for the LogLevelTreeModel class.


Constructor Summary
LogFilterTreeModel.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 testClassAdded()
          Test the methodAdded method.
 void testConfigurable()
          Test the Configurable interface
 void testExtraFilters()
          Test the extra filter mechanism.
 void testFilter()
          Test the filter mechanism.
 void testFireNodesInserted()
          Test whether fireNodesInserted is called.
 void testGetPath()
          Test the getPath method.
 void testSortOrder()
          Test whether classes and packages are sorted OK.
 
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

LogFilterTreeModel.UnitTest

public LogFilterTreeModel.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.

testClassAdded

public void testClassAdded()
Test the methodAdded method.

testFireNodesInserted

public void testFireNodesInserted()
Test whether fireNodesInserted is called.

testSortOrder

public void testSortOrder()
Test whether classes and packages are sorted OK.

testConfigurable

public void testConfigurable()
Test the Configurable interface

testFilter

public void testFilter()
Test the filter mechanism.

testExtraFilters

public void testExtraFilters()
Test the extra filter mechanism.

testGetPath

public void testGetPath()
Test the getPath method.