org.jzonic.webtester.commands
Class WebTestNodeResult

java.lang.Object
  |
  +--org.jzonic.webtester.commands.WebTestNodeResult

public class WebTestNodeResult
extends java.lang.Object

This class represents the result of a WebTestNode. This is the result for one single step in the testcase.


Constructor Summary
WebTestNodeResult(java.lang.String command)
           
 
Method Summary
 java.lang.String getCommand()
          Returns the command name for this WebTestNode
 java.lang.String getErrorMessage()
          Returns the error message if the WebTestNode has failed.
 java.lang.Exception getException()
          If the test rised an exception then this method will return the exception caught by the WebTestNode
 java.lang.String getParam()
           
 boolean isSuccess()
          Returns the state of the result
 void setCommand(java.lang.String command)
           
 void setErrorMessage(java.lang.String errorMessage)
           
 void setException(java.lang.Exception e)
           
 void setParam(java.lang.String param)
           
 void setSuccess(boolean success)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebTestNodeResult

public WebTestNodeResult(java.lang.String command)
Method Detail

isSuccess

public boolean isSuccess()
Returns the state of the result
Returns:
true if the test was successfull

setSuccess

public void setSuccess(boolean success)

getException

public java.lang.Exception getException()
If the test rised an exception then this method will return the exception caught by the WebTestNode
Returns:
the exception

setException

public void setException(java.lang.Exception e)

getErrorMessage

public java.lang.String getErrorMessage()
Returns the error message if the WebTestNode has failed. The error message is set by the WebTestNode.
Returns:
the error message

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)

getCommand

public java.lang.String getCommand()
Returns the command name for this WebTestNode
Returns:
the name of the command

setCommand

public void setCommand(java.lang.String command)

getParam

public java.lang.String getParam()

setParam

public void setParam(java.lang.String param)


Copyright © 2004 Andreas Mecky. All Rights Reserved.