tigase.test.util
Class TestUtil
java.lang.Object
tigase.test.util.TestUtil
public class TestUtil
- extends Object
Describe class TestUtil here.
Created: Sat May 28 08:15:38 2005
- Version:
- $Rev: 229 $
- Author:
- Artur Hefczyc
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addActiveConnection
public static void addActiveConnection(Socket conn)
addDaemonJID
public static void addDaemonJID(String jid,
Socket sock)
shutdownAllDaemons
public static void shutdownAllDaemons()
removeDaemonJID
public static boolean removeDaemonJID(String jid)
getRandomJID
public static String getRandomJID()
getSeqJID
public static String getSeqJID()
getTests
public static Set<TestIfc> getTests()
throws Exception
- Throws:
Exception
getDependsTree
public static LinkedList<TestIfc> getDependsTree(String[] test_ns,
Params params)
throws Exception
- Throws:
Exception
toStringArrayNS
public static String toStringArrayNS(String[] arr,
String delim)
toStringCollNS
public static String toStringCollNS(Collection<TestIfc> list)
debug
public static void debug(String msg,
boolean deb)
debug
public static void debug(Exception exc,
boolean deb)
stack2String
public static String stack2String(Exception exc)
displayStats
public static void displayStats(String user_name,
long tests_ok,
long tests_er,
long total_time,
long total_successful)
Copyright © 2005-2012 Tigase. All Rights Reserved.