public class TestTools
extends java.lang.Object
Constructor and Description |
---|
TestTools() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getRandomAlphaString(int length)
Generate a random alpha string of the given length
|
static java.lang.String |
getRandomCharsString(int length)
Generate a random string containing extended chars of the given length
|
static int |
getRandomIntBetween(int low,
int high)
Generate a random integer >= low and < high
|
static java.lang.String |
getUniqueID() |
static void |
print_char_values() |
static void |
printElapsedTime(java.lang.String msg,
java.util.Date start,
java.util.Date end)
Print the elapsed time that occured beween two points of time as recorded
in java Date objects.
|
public static void printElapsedTime(java.lang.String msg, java.util.Date start, java.util.Date end)
start
- The start Date.end
- The end Date.msg
- A message inserted in front of the elapsed time string.public static java.lang.String getRandomAlphaString(int length)
public static int getRandomIntBetween(int low, int high)
public static java.lang.String getRandomCharsString(int length)
public static void print_char_values()
public static java.lang.String getUniqueID()