tigase.test.impl
Class TestSocket

java.lang.Object
  extended by tigase.test.TestEmpty
      extended by tigase.test.TestAbstract
          extended by tigase.test.impl.TestSocket
All Implemented Interfaces:
TestIfc

public class TestSocket
extends TestAbstract

Describe class TestScoket here. Created: Tue May 17 20:19:38 2005

Version:
$Rev: 181 $
Author:
Artur Hefczyc

Field Summary
 
Fields inherited from class tigase.test.TestAbstract
exception, params, reply, resultCode, timeoutOk, vars
 
Fields inherited from class tigase.test.TestEmpty
stanza_variables
 
Constructor Summary
TestSocket()
          Creates a new TestScoket instance.
 
Method Summary
 String getElementData(String element)
          Method description
 Attribute[] getRespElementAttributes(String element)
          Method description
 String[] getRespElementNames(String element)
          Method description
 String[] getRespOptionalNames(String element)
          Method description
 void init(Params map, Map<String,String> vars)
          Describe init method here.
 String nextElementName(tigase.xml.Element reply)
          Method description
 boolean run()
          Describe run method here.
 
Methods inherited from class tigase.test.TestAbstract
getLastResult, getResultCode, getResultMessage, hasAttributes, release, replyElement, substituteVars
 
Methods inherited from class tigase.test.TestEmpty
addInput, addOutput, baseXMLNS, debug, depends, getName, implemented, optional, setHistoryCollector, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSocket

public TestSocket()
Creates a new TestScoket instance.

Method Detail

nextElementName

public String nextElementName(tigase.xml.Element reply)
Description copied from class: TestAbstract
Method description

Specified by:
nextElementName in class TestAbstract
Returns:

getElementData

public String getElementData(String element)
Description copied from class: TestAbstract
Method description

Specified by:
getElementData in class TestAbstract
Returns:

getRespElementNames

public String[] getRespElementNames(String element)
Description copied from class: TestAbstract
Method description

Specified by:
getRespElementNames in class TestAbstract
Returns:

getRespElementAttributes

public Attribute[] getRespElementAttributes(String element)
Description copied from class: TestAbstract
Method description

Specified by:
getRespElementAttributes in class TestAbstract
Returns:

getRespOptionalNames

public String[] getRespOptionalNames(String element)
Description copied from class: TestAbstract
Method description

Specified by:
getRespOptionalNames in class TestAbstract
Returns:

run

public boolean run()
Describe run method here.

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

init

public void init(Params map,
                 Map<String,String> vars)
Describe init method here.

Specified by:
init in interface TestIfc
Overrides:
init in class TestAbstract
Parameters:
map - a Map value


Copyright © 2005-2012 Tigase. All Rights Reserved.