net.sourceforge.groboutils.autodoc.v1.testserver
Class DefaultTestInfo

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

public class DefaultTestInfo
extends java.lang.Object
implements TestInfo

An implementation of TestInfo which is specific to JUnit.

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

Constructor Summary
protected DefaultTestInfo()
          Only allowed to be implemented by subclasses.
  DefaultTestInfo(java.lang.String suite, java.lang.String method)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          This method does not care about the specific sub-type, jsut as long as the suite and method are identical.
 java.lang.String getMethod()
          The name of the test method.
 java.lang.String getSuite()
          The name of the test suite.
 int hashCode()
           
protected  void setMethod(java.lang.String name)
           
protected  void setSuite(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTestInfo

protected DefaultTestInfo()
Only allowed to be implemented by subclasses.


DefaultTestInfo

public DefaultTestInfo(java.lang.String suite,
                       java.lang.String method)
Method Detail

getSuite

public java.lang.String getSuite()
Description copied from interface: TestInfo
The name of the test suite.

Specified by:
getSuite in interface TestInfo
Returns:
the test suite name

getMethod

public java.lang.String getMethod()
Description copied from interface: TestInfo
The name of the test method.

Specified by:
getMethod in interface TestInfo
Returns:
the test method name.

equals

public boolean equals(java.lang.Object obj)
This method does not care about the specific sub-type, jsut as long as the suite and method are identical.

Specified by:
equals in interface TestInfo

hashCode

public int hashCode()
Specified by:
hashCode in interface TestInfo

setSuite

protected void setSuite(java.lang.String name)

setMethod

protected void setMethod(java.lang.String name)


Copyright © 2001-2003 by The GroboUtils Project