Package tigase.test.impl
Class TestIQStats
- java.lang.Object
-
- tigase.test.TestEmpty
-
- tigase.test.TestAbstract
-
- tigase.test.impl.TestIQStats
-
- All Implemented Interfaces:
TestIfc
public class TestIQStats extends TestAbstract
Describe class TestIQStats here. Created: Thu Jun 16 06:21:54 2005- Version:
- $Rev$
- Author:
- Artur Hefczyc
-
-
Field Summary
-
Fields inherited from class tigase.test.TestAbstract
CHALLENGE_PATH, COMMAND_EL_NAME, disconnectOk, exception, FIELD_VALUE_PATH, IQ_COMMAND_X_PATH, IQ_EL_NAME, IQ_QUERY_NAME_PATH, IQ_QUERY_OS_PATH, IQ_QUERY_PATH, IQ_QUERY_VERSION_PATH, params, QUERY_EL_NAME, reply, resultCode, STREAM_MECHANISMS_PATH, timeoutOk, vars
-
Fields inherited from class tigase.test.TestEmpty
stanza_variables
-
-
Constructor Summary
Constructors Constructor Description TestIQStats()Creates a newTestIQStatsinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetElementData(String string)DescribegetElementDatamethod here.Attribute[]getRespElementAttributes(String string)DescribegetRespElementAttributesmethod here.String[]getRespElementNames(String string)DescribegetRespElementNamesmethod here.String[]getRespOptionalNames(String string)DescribegetRespOptionalNamesmethod here.voidinit(Params map, Map<String,String> vars)Describeinitmethod here.StringnextElementName(tigase.xml.Element element)DescribenextElementNamemethod here.-
Methods inherited from class tigase.test.TestAbstract
getLastResult, getResultCode, getResultMessage, hasAttributes, release, replyElement, run, substituteVars
-
-
-
-
Method Detail
-
getElementData
public String getElementData(String string) throws Exception
DescribegetElementDatamethod here.- Specified by:
getElementDatain classTestAbstract- Parameters:
string- aStringvalue- Returns:
- a
Stringvalue - Throws:
Exception- if an error occurs
-
getRespElementAttributes
public Attribute[] getRespElementAttributes(String string) throws Exception
DescribegetRespElementAttributesmethod here.- Specified by:
getRespElementAttributesin classTestAbstract- Parameters:
string- aStringvalue- Returns:
- an
Attribute[]value - Throws:
Exception- if an error occurs
-
getRespElementNames
public String[] getRespElementNames(String string) throws Exception
DescribegetRespElementNamesmethod here.- Specified by:
getRespElementNamesin classTestAbstract- Parameters:
string- aStringvalue- Returns:
- a
String[]value - Throws:
Exception- if an error occurs
-
getRespOptionalNames
public String[] getRespOptionalNames(String string) throws Exception
DescribegetRespOptionalNamesmethod here.- Specified by:
getRespOptionalNamesin classTestAbstract- Parameters:
string- aStringvalue- Returns:
- a
String[]value - Throws:
Exception- if an error occurs
-
init
public void init(Params map, Map<String,String> vars)
Describeinitmethod here.- Specified by:
initin interfaceTestIfc- Overrides:
initin classTestAbstract- Parameters:
map- aMapvaluevars-
-
nextElementName
public String nextElementName(tigase.xml.Element element) throws Exception
DescribenextElementNamemethod here.- Specified by:
nextElementNamein classTestAbstract- Parameters:
element- anElementvalue- Returns:
- a
Stringvalue - Throws:
Exception- if an error occurs
-
-