A ScalaTest tag that enables us to focus attention on particular tests rather than running all of them each time.
Assert that a message was produced at a given position.
Assert that a message was produced at a given position.
Flag to decide whether to sanitise the output before comparison of test results with expected results (see sanitise method).
Flag to decide whether to sanitise the output before comparison of test results with expected results (see sanitise method). Default is true; override with false if you want actual results compared.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Fail a test with a message about finding something and expecting something else.
Fail a test with a message about finding something and expecting something else.
Make tests that process the files in path.
Make tests that process the files in path. name is an identifying name for this set of tests. All files whose names end in srcext are processed. Processing is done by the function compile which must return either Some (s) where s is the output or None if processing failed. If srcext is .x and resext is .y, then the expected result for foo.x is found in file foo.y. If optinext is Some (z), then foo.z is used for standard input, if it exists, otherwise the string indefault is used. A test fails if either the processing fails or it succeeds with the wrong result. argslist is used to specify the sets of command-line arguments that you want to use. Each test is run with each set of arguments. The default is an empty argument list.
Compare two values.
Compare two values. Use reference equality for references and value equality for non-references. If the values are both Some values, perform the check on the wrapped values.
Sanitise the output.
Sanitise the output. At the moment this means make any Windows line endings appear in Unix style instead. This allows for either program or test output to use either line ending style, but tests will still pass. This will clearly break any tests where the actual line endings matter.
This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of expectResult instead.
This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of expectResult instead.
Basic tests of compiler module. Normal usage is tested by many of the examples.