net.sourceforge.groboutils.pmti.v1.itf.impl
Class ImmutableTestRecord

java.lang.Object
  extended bynet.sourceforge.groboutils.pmti.v1.itf.impl.ImmutableTestRecord
All Implemented Interfaces:
ITestRecord
Direct Known Subclasses:
DefaultTestRecord

public class ImmutableTestRecord
extends java.lang.Object
implements ITestRecord

Simple immutable implementation of ITestRecord.

Since:
July 7, 2002
Version:
$Date: 2003/02/10 22:52:00 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Constructor Summary
ImmutableTestRecord(ITestRecord tr)
           
ImmutableTestRecord(java.lang.String name, java.lang.String suite, int tCount, long tRuntime, java.lang.String[] failures, java.lang.String[] errors, java.lang.String log)
           
 
Method Summary
 java.lang.String[] getErrors()
           
 java.lang.String[] getFailures()
           
 java.lang.String getLog()
           
 long getRuntime()
           
 int getTestCount()
           
 java.lang.String getTestName()
           
 java.lang.String getTestSuite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableTestRecord

public ImmutableTestRecord(java.lang.String name,
                           java.lang.String suite,
                           int tCount,
                           long tRuntime,
                           java.lang.String[] failures,
                           java.lang.String[] errors,
                           java.lang.String log)

ImmutableTestRecord

public ImmutableTestRecord(ITestRecord tr)
Method Detail

getTestName

public java.lang.String getTestName()
Specified by:
getTestName in interface ITestRecord

getTestSuite

public java.lang.String getTestSuite()
Specified by:
getTestSuite in interface ITestRecord

getTestCount

public int getTestCount()
Specified by:
getTestCount in interface ITestRecord

getRuntime

public long getRuntime()
Specified by:
getRuntime in interface ITestRecord

getFailures

public java.lang.String[] getFailures()
Specified by:
getFailures in interface ITestRecord

getErrors

public java.lang.String[] getErrors()
Specified by:
getErrors in interface ITestRecord

getLog

public java.lang.String getLog()
Specified by:
getLog in interface ITestRecord


Copyright © 2001-2003 by The GroboUtils Project