tigase.test.junit
Class XMPPTestCase

java.lang.Object
  extended by tigase.test.junit.XMPPTestCase

public abstract class XMPPTestCase
extends Object


Constructor Summary
XMPPTestCase()
           
XMPPTestCase(String sourceFile)
           
 
Method Summary
static EqualError equalElems(tigase.xml.Element el1, tigase.xml.Element el2)
           
static EqualError equalElemsDeep(tigase.xml.Element el1, tigase.xml.Element el2)
           
static boolean hasAttributes(tigase.xml.Element elem, Attribute[] attrs)
           
static boolean isScriptValid(Collection<ScriptFileLoader.StanzaEntry> entries)
           
static void main(String[] args)
           
 void test(JUnitXMLIO xmlio)
           
 void test(JUnitXMLIO xmlio, Long wait)
           
static void test(String configFile, JUnitXMLIO xmlio)
           
static void test(String configFile, JUnitXMLIO xmlio, Long wait)
          Method run test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMPPTestCase

public XMPPTestCase()

XMPPTestCase

public XMPPTestCase(String sourceFile)
Parameters:
sourceFile - file with test script
Method Detail

equalElems

public static EqualError equalElems(tigase.xml.Element el1,
                                    tigase.xml.Element el2)

equalElemsDeep

public static EqualError equalElemsDeep(tigase.xml.Element el1,
                                        tigase.xml.Element el2)

hasAttributes

public static boolean hasAttributes(tigase.xml.Element elem,
                                    Attribute[] attrs)

isScriptValid

public static boolean isScriptValid(Collection<ScriptFileLoader.StanzaEntry> entries)

main

public static void main(String[] args)

test

public static void test(String configFile,
                        JUnitXMLIO xmlio)

test

public static void test(String configFile,
                        JUnitXMLIO xmlio,
                        Long wait)
Method run test.

Parameters:
xmlio -

test

public void test(JUnitXMLIO xmlio)

test

public void test(JUnitXMLIO xmlio,
                 Long wait)


Copyright © 2005-2012 Tigase. All Rights Reserved.