- generateFullRandomPicture(int, int) - Static method in class auxtestlib.PictureBuilder
-
Generates a totally random picture with the given width and height.
- generateSemiRandomPicture(int, int, int) - Static method in class auxtestlib.PictureBuilder
-
Generates a random picture by random drawing figures (rectangles and
circles) on a white canvas.
- get(String) - Static method in class auxtestlib.WebGetter
-
Obtains the text at a given URL.
- get_death_exception() - Method in class auxtestlib.AbstractControlledThread
-
Obtains the throwable that killed the thread.
- getBinary(String) - Static method in class auxtestlib.WebGetter
-
Obtains a URL as binary data.
- getDouble(String) - Static method in class auxtestlib.TestPropertiesDefinition
-
Obtains a property which must exist and be a double number.
- getErrorText() - Method in class auxtestlib.CommandRunner.ProcessInterface
-
Obtains the text currently written to the stderr by the process.
- getFile() - Method in class auxtestlib.TemporaryFile
-
- getInt(String) - Static method in class auxtestlib.TestPropertiesDefinition
-
Obtains a property which must exist and be an integer number.
- getMString(String) - Static method in class auxtestlib.TestPropertiesDefinition
-
Obtains a property as a string.
- getOutput() - Method in class auxtestlib.CommandRunner.ProcessInterface
-
Obtains the output of the command.
- getOutputText() - Method in class auxtestlib.CommandRunner.ProcessInterface
-
Obtains the text currently written to the stdout by the process.
- getPropDouble(String) - Method in class auxtestlib.AbstractTestHelper
-
Gets a test property which has to be defined.
- getPropInt(String) - Method in class auxtestlib.AbstractTestHelper
-
Gets a test property which has to be defined.
- getPropMString(String) - Method in class auxtestlib.AbstractTestHelper
-
Gets a test property which has to be defined.
- getSimpleDayDifference(Date, Date) - Static method in class auxtestlib.DateHelper
-
Returns the difference in days of two dates.
- getTotalHelperCount() - Static method in class auxtestlib.AbstractTestHelper
-
Obtains the total number of helpers created.
- rand_array(E[]) - Static method in class auxtestlib.RandomGenerator
-
Picks a random value from an array.
- rand_bytes(int) - Static method in class auxtestlib.RandomGenerator
-
Generates a random byte array.
- rand_collection(Collection<E>) - Static method in class auxtestlib.RandomGenerator
-
Picks a random value from a collection.
- rand_date(int, int) - Static method in class auxtestlib.RandomGenerator
-
Obtains a random date based on the actual date.
- rand_date_days(int, int) - Static method in class auxtestlib.RandomGenerator
-
Obtains a random date based on the actual date.
- rand_enum_value(Class<E>) - Static method in class auxtestlib.RandomGenerator
-
Returns a random value from a supplied enumeration (which cannot be an
empty enumeration).
- rand_int(int) - Static method in class auxtestlib.RandomGenerator
-
Obtains a random number between [0, max[.
- rand_int(int, int) - Static method in class auxtestlib.RandomGenerator
-
Obtains a random number between [min, max[.
- RandomGenerator - Class in auxtestlib
-
Class used to generate random values for unit tests.
- reach() - Method in class auxtestlib.ThreadFlag
-
Invoked by a thread to mark that it has reached the flag.
- reached() - Method in class auxtestlib.ThreadFlag
-
Obtains the list of all threads that have reached the flag.
- read_contents(File) - Static method in class auxtestlib.FileContentWorker
-
Reads a file's contents.
- read_contents_bin(File) - Static method in class auxtestlib.FileContentWorker
-
Obtains the contents of a file as a binary array.
- read_resource(String) - Static method in class auxtestlib.FileContentWorker
-
Reads a file's contents (the file is expected to be a resource).
- read_resource(Class<?>, String) - Static method in class auxtestlib.FileContentWorker
-
Reads a file's contents (the file is expected to be a resource).
- read_resource_bin(String) - Static method in class auxtestlib.FileContentWorker
-
Reads a file's contents as binary data (the file is expected to be a
resource).
- remove_process_interface_listener(CommandRunner.ProcessInterfaceListener) - Method in class auxtestlib.CommandRunner.ProcessInterface
-
Removes a listener from the process interface.
- removeProcessInterfaceListener(CommandRunner.ProcessInterfaceListener) - Method in class auxtestlib.CommandRunner.ProcessInterface
-
- result() - Method in class auxtestlib.AbstractControlledThread
-
Obtains the execution result (the value returned by my_run)
- run() - Method in class auxtestlib.AbstractControlledThread
-
run method: just wraps myRun.
- run_command(String[], File, int) - Method in class auxtestlib.CommandRunner
-
- run_command_async(String[], File, int) - Method in class auxtestlib.CommandRunner
-
Runs a command and captures the output.
- runCommand(String[], File, int) - Method in class auxtestlib.CommandRunner
-
- runCommandAsync(String[], File, int) - Method in class auxtestlib.CommandRunner
-