Static Public Member Functions | |
static void | Checkpoint () |
Writes a checkpoint to the console. | |
static string | RemoveSirname (string fileName) |
Removes a sirname from a file. | |
static string | TraversePath (string currentPath, string relativePath) |
Uses currentPath and relativePath to make a new path. | |
static bool | IsRootPath (string path) |
Discovers if the path is the root path. | |
static bool | IsRelative (string path) |
Returns true if it is a relative path, false otherwise. | |
static bool | CompareArrayLists (ArrayList first, ArrayList second) |
Compares the contents of two arraylists. It writes the contents of the first mismatch to standard output. Returns true if there were no mismatches, false otherwise. | |
static void | Save (string filename, IReferenceSaveSerializable o) |
Saves an object to the filesystem. | |
static void | Load (string filename, IReferenceSaveSerializable o) |
Loads an object from the filesystem. |
|
Writes a checkpoint to the console.
Must be compiled with -debug and run with --debug, otherwise filename and method = "" and linenumber = 0. |
|
Compares the contents of two arraylists. It writes the contents of the first mismatch to standard output. Returns true if there were no mismatches, false otherwise. Maybe this should be in a TestUtil class.
|
|
Returns true if it is a relative path, false otherwise.
|
|
Discovers if the path is the root path.
|
|
Loads an object from the filesystem. Could be places in a TestUtil class.
|
|
Removes a sirname from a file. By sirname is meant everything after the last dot.
|
|
Saves an object to the filesystem. Could be places in a TestUtil class.
|
|
Uses currentPath and relativePath to make a new path.
|