tigase.test.impl
Class TestCommon

java.lang.Object
  extended by tigase.test.TestEmpty
      extended by tigase.test.impl.TestCommon
All Implemented Interfaces:
TestIfc
Direct Known Subclasses:
TestCommonNoBind

public class TestCommon
extends TestEmpty

Class TestCommon.java is responsible for

Created: Mon Apr 23 08:47:37 2007

Version:
1.0.0
Author:
Artur Hefczyc

Field Summary
protected  Exception exception
           
protected  Params params
           
protected  ResultCode resultCode
           
protected  boolean timeoutOk
           
protected  Map<String,String> vars
           
 
Fields inherited from class tigase.test.TestEmpty
stanza_variables
 
Constructor Summary
TestCommon()
          Creates a new TestCommon instance.
TestCommon(String[] ns, String[] imp, String[] depend, String[] opt)
          Constructs ...
 
Method Summary
 ResultCode getResultCode()
          Describe getResultCode method here.
 String getResultMessage()
          Method description
 void init(Params params, Map<String,String> vars)
          Method description
 void release()
          Method description
 boolean run()
          Describe run method here.
 
Methods inherited from class tigase.test.TestEmpty
addInput, addOutput, baseXMLNS, debug, depends, getLastResult, getName, implemented, optional, setHistoryCollector, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exception

protected Exception exception

params

protected Params params

vars

protected Map<String,String> vars

timeoutOk

protected boolean timeoutOk

resultCode

protected ResultCode resultCode
Constructor Detail

TestCommon

public TestCommon()
Creates a new TestCommon instance.


TestCommon

public TestCommon(String[] ns,
                  String[] imp,
                  String[] depend,
                  String[] opt)
Constructs ...

Parameters:
ns -
imp -
depend -
opt -
Method Detail

getResultCode

public ResultCode getResultCode()
Describe getResultCode method here.

Specified by:
getResultCode in interface TestIfc
Overrides:
getResultCode in class TestEmpty
Returns:
an int value

getResultMessage

public String getResultMessage()
Method description

Specified by:
getResultMessage in interface TestIfc
Overrides:
getResultMessage in class TestEmpty
Returns:

init

public void init(Params params,
                 Map<String,String> vars)
Method description

Specified by:
init in interface TestIfc
Overrides:
init in class TestEmpty
Parameters:
params -
vars -

release

public void release()
Method description


run

public boolean run()
Describe run method here.

Specified by:
run in interface TestIfc
Overrides:
run in class TestEmpty
Returns:
a boolean value


Copyright © 2005-2012 Tigase. All Rights Reserved.