FreeHEP API
Version v1.2.2

hep.aida.ref.remote.testRemote
Class TestUtils

java.lang.Object
  |
  +--hep.aida.ref.remote.testRemote.TestUtils

public class TestUtils
extends Object

This class provides static utilities like strin-to-array and array-to-string conversion for manipulating with Paths. Also it provides test directories and objects for Client and Server tests. This class should be used for tests only!

Author:
serbo

Constructor Summary
TestUtils()
           
 
Method Summary
static String arrayToString(String[] path)
           
static Object find(String path)
           
static String getCurrentTime()
           
static String[] listObjectNames(String path)
           
static String[] listObjectTypes(String path)
           
static String[] stringToArray(String path)
           
static String treeName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtils

public TestUtils()
Method Detail

stringToArray

public static String[] stringToArray(String path)

arrayToString

public static String arrayToString(String[] path)

getCurrentTime

public static String getCurrentTime()

find

public static Object find(String path)
                   throws IllegalArgumentException
IllegalArgumentException

listObjectNames

public static String[] listObjectNames(String path)
                                throws IllegalArgumentException
IllegalArgumentException

listObjectTypes

public static String[] listObjectTypes(String path)
                                throws IllegalArgumentException
IllegalArgumentException

treeName

public static String treeName()

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.