Package tigase.test
Class Test
- java.lang.Object
-
- tigase.test.Test
-
public class Test extends Object
Describe class Test here. Created: Sat May 28 08:05:39 2005- Version:
- $Rev$
- Author:
- Artur Hefczyc
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandebug_on_errorprotected booleanlast_resultstatic StringNS_SEP
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSuccessfulTotalTime(long time)voidaddTestsErr(int tests)voidaddTestsOK(int tests)voidaddTestsTotalTime(long time)StringgetDescription()StringgetErrorMsg()ExceptiongetException()List<HistoryEntry>getHistory()tigase.xml.ElementgetLastResult()StringgetName()ParamsgetParams()booleangetResult()longgetSuccessfulTotalTime()intgetTestsErr()intgetTestsOK()longgetTestsTotalTime()voidhandleResult(tigase.test.Test.DaemonTest dt, boolean result)voidrunTest(HistoryCollectorIfc historyColl)voidsetDescription(String descr)voidsetName(String name)voidsetResult(boolean res)
-
-
-
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()
-
-