Methods Summary |
---|
public void | testMyOwnName()
assertEquals("testMyOwnName",
JUnitVersionHelper.getTestCaseName(this));
|
public void | testNameNotGetName()
assertEquals("I'm a foo, too",
JUnitVersionHelper.getTestCaseName(new Foo4()));
|
public void | testNoGetName()
assertEquals("unknown",
JUnitVersionHelper.getTestCaseName(new Foo3()));
|
public void | testNoStringReturn()
assertEquals("unknown",
JUnitVersionHelper.getTestCaseName(new Foo2()));
|
public void | testNonTestCaseName()
assertEquals("I'm a foo",
JUnitVersionHelper.getTestCaseName(new Foo1()));
|
public void | testNull()
assertEquals("unknown", JUnitVersionHelper.getTestCaseName(null));
|
public void | testTestCaseSubClass()
assertEquals("overridden getName",
JUnitVersionHelper.getTestCaseName(new Foo5()));
|