Package tigase.test.impl
Class TestReceiveMessage
- java.lang.Object
-
- tigase.test.TestEmpty
-
- tigase.test.TestAbstract
-
- tigase.test.impl.TestReceiveMessage
-
- All Implemented Interfaces:
TestIfc
public class TestReceiveMessage extends TestAbstract
Describe class TestReceiveMessage here. Created: Wed Jun 8 08:57:57 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 TestReceiveMessage()Creates a newTestReceiveMessageinstance.
-
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 params, Map<String,String> vars)Describeinitmethod here.StringnextElementName(tigase.xml.Element element)DescribenextElementNamemethod here.booleanrun()Describerunmethod here.-
Methods inherited from class tigase.test.TestAbstract
getLastResult, getResultCode, getResultMessage, hasAttributes, release, replyElement, substituteVars
-
-
-
-
Method Detail
-
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
-
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
-
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
-
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
-
init
public void init(Params params, Map<String,String> vars)
Describeinitmethod here.- Specified by:
initin interfaceTestIfc- Overrides:
initin classTestAbstract- Parameters:
params- aParamsvaluevars-
-
run
public boolean run()
Describerunmethod here.- Specified by:
runin interfaceTestIfc- Overrides:
runin classTestAbstract- Returns:
- a
booleanvalue
-
-