tigase.test.impl
Class TestStreamOpen

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

public class TestStreamOpen
extends TestAbstract

Describe class TestStreamOpen here. Created: Tue May 17 20:23:58 2005

Version:
$Rev: 186 $
Author:
Artur Hefczyc

Field Summary
protected  String hostname
           
 
Fields inherited from class tigase.test.TestAbstract
exception, params, reply, resultCode, timeoutOk, vars
 
Fields inherited from class tigase.test.TestEmpty
stanza_variables
 
Constructor Summary
TestStreamOpen()
          Creates a new TestStreamOpen instance.
 
Method Summary
 void addOutput(String output)
          Method description
 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
 void replyElement(tigase.xml.Element reply)
          Method description
 
Methods inherited from class tigase.test.TestAbstract
getLastResult, getResultCode, getResultMessage, hasAttributes, release, run, substituteVars
 
Methods inherited from class tigase.test.TestEmpty
addInput, 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
 

Field Detail

hostname

protected String hostname
Constructor Detail

TestStreamOpen

public TestStreamOpen()
Creates a new TestStreamOpen 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:

replyElement

public void replyElement(tigase.xml.Element reply)
                  throws Exception
Description copied from class: TestAbstract
Method description

Overrides:
replyElement in class TestAbstract
Throws:
Exception

getElementData

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

Specified by:
getElementData in class TestAbstract
Returns:
Throws:
Exception

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:

addOutput

public void addOutput(String output)
Description copied from class: TestEmpty
Method description

Overrides:
addOutput in class TestEmpty

getRespOptionalNames

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

Specified by:
getRespOptionalNames in class TestAbstract
Returns:

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.