| java.lang.Object com.ibm.emb.junit.EMBStaticHelper
EMBStaticHelper | public class EMBStaticHelper (Code) | | this class contains various static helper functions used in the testsuite for
Enterprise Media Beans
|
Method Summary | |
public static byte[] | createRandomByteArray(int length) | public static String | createRandomString(int length) | public static int | randomInt(int min, int max) | public static void | testError(String msg) static Helper function for error tracing which should only be used when
no EMB TestConfig object is available, i.e. | public static void | testLog(String msg) static Helper function for logging which should only be used when no EMB
TestConfig object is available, i.e. | public static void | testTrace(String msg) static Helper function for tracing which should only be used when no EMB
TestConfig object is available, i.e. |
createRandomByteArray | public static byte[] createRandomByteArray(int length)(Code) | | creates a byte Array String of length length with random content
|
createRandomString | public static String createRandomString(int length)(Code) | | creates a String of length length with random content
|
randomInt | public static int randomInt(int min, int max)(Code) | | creates a random int in range between min and max
|
testError | public static void testError(String msg)(Code) | | static Helper function for error tracing which should only be used when
no EMB TestConfig object is available, i.e. during initialisation of the
testsuite no writing to a configurable file is possible here
|
testLog | public static void testLog(String msg)(Code) | | static Helper function for logging which should only be used when no EMB
TestConfig object is available, i.e. during initialisation of the
testsuite no writing to a configurable file is possible here
|
testTrace | public static void testTrace(String msg)(Code) | | static Helper function for tracing which should only be used when no EMB
TestConfig object is available, i.e. during initialisation of the
testsuite no writing to a configurable file is possible here
|
|
|