tigase.test
Class Test

java.lang.Object
  extended by tigase.test.Test

public class Test
extends Object

Describe class Test here. Created: Sat May 28 08:05:39 2005

Version:
$Rev: 230 $
Author:
Artur Hefczyc

Field Summary
protected  boolean debug_on_error
           
protected  boolean last_result
           
static String NS_SEP
           
 
Constructor Summary
Test(TestNode node)
           
 
Method Summary
 void addSuccessfulTotalTime(long time)
           
 void addTestsErr(int tests)
           
 void addTestsOK(int tests)
           
 void addTestsTotalTime(long time)
           
 String getDescription()
           
 String getErrorMsg()
           
 Exception getException()
           
 List<HistoryEntry> getHistory()
           
 tigase.xml.Element getLastResult()
           
 String getName()
           
 Params getParams()
           
 boolean getResult()
           
 long getSuccessfulTotalTime()
           
 int getTestsErr()
           
 int getTestsOK()
           
 long getTestsTotalTime()
           
 void handleResult(tigase.test.Test.DaemonTest dt, boolean result)
           
 void runTest(HistoryCollectorIfc historyColl)
           
 void setDescription(String descr)
           
 void setName(String name)
           
 void setResult(boolean res)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS_SEP

public static final String NS_SEP
See Also:
Constant Field Values

debug_on_error

protected boolean debug_on_error

last_result

protected boolean last_result
Constructor Detail

Test

public Test(TestNode node)
Method Detail

runTest

public void runTest(HistoryCollectorIfc historyColl)

handleResult

public void handleResult(tigase.test.Test.DaemonTest dt,
                         boolean result)

getTestsOK

public int getTestsOK()

addTestsOK

public void addTestsOK(int tests)

getTestsErr

public int getTestsErr()

addTestsErr

public void addTestsErr(int tests)

getTestsTotalTime

public long getTestsTotalTime()

addTestsTotalTime

public void addTestsTotalTime(long time)

getSuccessfulTotalTime

public long getSuccessfulTotalTime()

addSuccessfulTotalTime

public void addSuccessfulTotalTime(long time)

getHistory

public List<HistoryEntry> getHistory()

getException

public Exception getException()

getErrorMsg

public String getErrorMsg()

getLastResult

public tigase.xml.Element getLastResult()

getResult

public boolean getResult()

setResult

public void setResult(boolean res)

setName

public void setName(String name)

getName

public String getName()

getParams

public Params getParams()

setDescription

public void setDescription(String descr)

getDescription

public String getDescription()


Copyright © 2005-2012 Tigase. All Rights Reserved.