Package tigase.test.impl
Class TestPresence
- java.lang.Object
-
- tigase.test.TestEmpty
-
- tigase.test.TestAbstract
-
- tigase.test.impl.TestPresence
-
- All Implemented Interfaces:
TestIfc
public class TestPresence extends TestAbstract
-
-
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 TestPresence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetElementData(String string)Method descriptionAttribute[]getRespElementAttributes(String string)Method descriptionString[]getRespElementNames(String string)Method descriptionString[]getRespOptionalNames(String string)Method descriptionvoidinit(Params map, Map<String,String> vars)Describeinitmethod here.StringnextElementName(tigase.xml.Element element)Method description-
Methods inherited from class tigase.test.TestAbstract
getLastResult, getResultCode, getResultMessage, hasAttributes, release, replyElement, run, substituteVars
-
-
-
-
Method Detail
-
nextElementName
public String nextElementName(tigase.xml.Element element) throws Exception
Description copied from class:TestAbstractMethod description- Specified by:
nextElementNamein classTestAbstract- Returns:
- Throws:
Exception
-
getElementData
public String getElementData(String string) throws Exception
Description copied from class:TestAbstractMethod description- Specified by:
getElementDatain classTestAbstract- Returns:
- Throws:
Exception
-
getRespElementNames
public String[] getRespElementNames(String string) throws Exception
Description copied from class:TestAbstractMethod description- Specified by:
getRespElementNamesin classTestAbstract- Returns:
- Throws:
Exception
-
getRespOptionalNames
public String[] getRespOptionalNames(String string) throws Exception
Description copied from class:TestAbstractMethod description- Specified by:
getRespOptionalNamesin classTestAbstract- Returns:
- Throws:
Exception
-
getRespElementAttributes
public Attribute[] getRespElementAttributes(String string) throws Exception
Description copied from class:TestAbstractMethod description- Specified by:
getRespElementAttributesin classTestAbstract- Returns:
- Throws:
Exception
-
init
public void init(Params map, Map<String,String> vars)
Description copied from class:TestAbstractDescribeinitmethod here.- Specified by:
initin interfaceTestIfc- Overrides:
initin classTestAbstract- Parameters:
map- aParamsvalue
-
-