qflib 0.98.0

de.qfs.lib.util
Class Visitor.UnitTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--de.qfs.lib.util.Visitor.UnitTest
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
Visitor

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

Test cases for the Visitor class.


Constructor Summary
Visitor.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 testException()
          Test Exceptions in visit method.
 void testInheritance()
          Test method lookup for baseclass.
 void testLookup()
          Test method lookup.
 void testNoSuchMethod()
          Test failed method lookup.
 
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

Visitor.UnitTest

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

testLookup

public void testLookup()
Test method lookup.

testNoSuchMethod

public void testNoSuchMethod()
Test failed method lookup.

testInheritance

public void testInheritance()
Test method lookup for baseclass.

testException

public void testException()
Test Exceptions in visit method.

qflib 0.98.0