br.eti.kinoshita.tap4j.model
Class TestResult

java.lang.Object
  extended by br.eti.kinoshita.tap4j.model.TestResult
All Implemented Interfaces:
TapResult, Serializable

public class TestResult
extends Object
implements TapResult

Since:
1.0
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
Serialized Form

Constructor Summary
TestResult(StatusValues testStatus, Integer testNumber)
          Constructor with parameter.
 
Method Summary
 Comment getComment()
           
 String getDescription()
           
 Directive getDirective()
           
 StatusValues getStatus()
           
 Integer getTestNumber()
           
 void setComment(Comment comment)
           
 void setDescription(String description)
           
 void setDirective(Directive directive)
           
 void setStatus(StatusValues status)
           
 void setTestNumber(Integer testNumber)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestResult

public TestResult(StatusValues testStatus,
                  Integer testNumber)
Constructor with parameter.

Parameters:
testStatus - Status of the test.
testNumber - Number of the test.
Method Detail

getStatus

public StatusValues getStatus()
Returns:
Status of the test.

setStatus

public void setStatus(StatusValues status)
Parameters:
status - Status of the test.

getTestNumber

public Integer getTestNumber()
Returns:
Test Number.

setTestNumber

public void setTestNumber(Integer testNumber)
Parameters:
testNumber - Test Number.

getDescription

public String getDescription()
Returns:
Test description.

setDescription

public void setDescription(String description)
Parameters:
description - Test description.

getDirective

public Directive getDirective()
Returns:
Optional Directive.

setDirective

public void setDirective(Directive directive)
Parameters:
testDirective - Optional Directive.

getComment

public Comment getComment()
Returns:
The comment set for this Test Result.

setComment

public void setComment(Comment comment)
Parameters:
comment - Comment.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.