net.sourceforge.groboutils.autodoc.v1.testserver.junit
Class JUnitTestInfo

java.lang.Object
  extended bynet.sourceforge.groboutils.autodoc.v1.testserver.DefaultTestInfo
      extended bynet.sourceforge.groboutils.autodoc.v1.testserver.junit.JUnitTestInfo
All Implemented Interfaces:
TestInfo

public class JUnitTestInfo
extends DefaultTestInfo

An implementation of TestInfo which is specific to JUnit.

Since:
March 17, 2002
Version:
$Date: 2003/02/10 22:52:14 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Constructor Summary
JUnitTestInfo(java.lang.Object testObj)
          Constructor which defines a test-info object based on a Test instance.
 
Method Summary
protected  java.lang.String getMethodName(java.lang.Object testObj)
          Discovers the name of the method for the passed-in test object.
protected  java.lang.String getSuiteName(java.lang.Object testObj)
          Discovers the name of the suite for the passed-in test object.
 
Methods inherited from class net.sourceforge.groboutils.autodoc.v1.testserver.DefaultTestInfo
equals, getMethod, getSuite, hashCode, setMethod, setSuite
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitTestInfo

public JUnitTestInfo(java.lang.Object testObj)
Constructor which defines a test-info object based on a Test instance.

Parameters:
testObj - the test for the TestInfo to describe.
Method Detail

getSuiteName

protected java.lang.String getSuiteName(java.lang.Object testObj)
Discovers the name of the suite for the passed-in test object.

Parameters:
testObj - the test under inspection.
Returns:
the name of the suite.

getMethodName

protected java.lang.String getMethodName(java.lang.Object testObj)
Discovers the name of the method for the passed-in test object.

Parameters:
testObj - the test under inspection.
Returns:
the name of the test's test method.


Copyright © 2001-2003 by The GroboUtils Project