Zi      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijk l m n o p q r s t u v w x y z { | } ~           !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ Safe-Inferred Safe-InferredRun a command using the shell. Run a command. Command Content of stdin (stdout, stderr, exit code) Binary  Arguments Content of stdin (stdout, stderr, exit code)  Safe-Inferred!       NoneRandomly shuffle a list  O(N) None     Safe-Inferred*A type class for pretty-printable things.  Minimal complete definition: pretty. Pretty-print a single value. Pretty-print a list of things. !Pretty-print a single value as a . !Utility function for inserting a = between two  values. B      Safe-Inferred4 !"#$%&'()*+,-./0123456789:;<=>?@ABC0 !"#$%&'()*+,-./0123456789:;<=>?@ABC0+,*)('&%$#"! -./012345B789:;<=>?@AC6*)('&%$#"! +,-./0123456789:;<=>?@ABC Safe-Inferred !"#$%&'()*+,-./012  !"/02  !"#'&%$()*+,-./012 Safe-InferredD3An abstract type representing locations in a file. E Render a D as a . FExtract the file name of a D. GExtract the line number of a D. HCreate a new location. IThe unknown location (file ? and line 0). D3EFGHThe file name The line number IDEFGHIDIFGEHD3EFGHI Safe-Inferred L3The full result of a test, as used by HTF plugins. N#The location of a possible failure OThe stack' to the location of a possible failure PAn error message QThe outcome of the test, 4 means timeout RThe summary result of a test. WAn assertion is just an 5* action. Internally, the body of any test in HTF is of type W.. If a test specification of a certain plugin has a type different from W , the plugin's preprocessor pass must Iinject wrapper code to convert the test specification into an assertion. Assertions may use Y to signal a R different from V;. If the assertion finishes successfully, the tests passes  implicitly. GPlease note: the assertion must not swallow any exceptions! Otherwise, 6timeouts and other things might not work as expected. X%Auxiliary function for contructing a L. YJTerminate a HTF test, usually to signal a failure. The result of the test is given in the L argument. ZNOpens a new assertion stack frame to allow for sensible location information. JKLMNOPQRSTUVWXYZ6JKLMNOPQRSTUVWXYZWRVUTSLMNOPQJKYZXJKLMNOPQRVUTSWXYZ6Noneb)A type synonym for time in milliseconds. (789:[\]^_`;<=>a?@ABbcdCeDfgEhiFjGHIJKLMNRSTUV[\]^_`abcdefghija[\]^_`cbRVUTShifgedj789:[\]^_`;<=>a?@ABbcdCeDfgEhiFjGHIJKLMN NoneBk*Reports the overall results of all tests. u%Reports the result of a single test. v$Reports the start of a single test. w/Signals that test execution is about to start. x(Reports the IDs of all tests available. yA y0 provides hooks to customize the output of HTF. |1Called to report the IDs of all tests available. }.Called to report the start of test execution. ~-Called to report the start of a single test. .Called to report the result of a single test. 3Called to report the overall results of all tests. !Configuration of test execution. 1If set, displays messages only for failed tests. Use Just i for parallel execution with i threads, Nothing for sequential execution. (Shuffle tests before parallel execution 4Output destination of progress and result messages. )Output destination of XML result summary Filter for the tests to run. Test reporters to use. Whether to use colored output Path to history file History of previous test runs +Sort ascending by previous execution times (Stop test run as soon as one test fails "Do not regard timeout as an error =Maximum time in milliseconds a single test is allowed to run RMaximum factor a single test is allowed to run slower than its previous execution :The destination of progress and result messages from HTF. 2Output goes to files whose names are derived from O8 by appending a number to it. Numbering starts at zero. Output goes to PI, boolean flag indicates whether the handle should be closed at the end. The  (test runner) monad. The state type for the  monad. Results collected so far. #Current index for splitted output. The result of running a  The result of a test run.  The summary result of the test. 4The location where the test failed (if applicable). DInformation about the callers of the location where the test failed !A message describing the result.  Execution time in milliseconds. Q if the execution took too long A type for call-stacks A filter is a predicate on . If the predicate is Q, the flat test is run. #Flattened representation of tests. 4Generic type for flattened tests and their results. The sort of the test. Hierarchival path. Place of definition. A generic payload. 1A type denoting the hierarchical name of a test. 1Abstract type for test suites and their results. +Abstract type for tests and their results. #A type class for an assertion with . Something with  General options for tests 2Type for distinguishing different sorts of tests. Type for naming tests.  The default  Shortcut for constructing a  value.  Splits a " into a list of test identifiers. 'Creates a string representation from a . Returns the final name of a  SReturns the name of the prefix of a test path. The prefix is everything except the  last element. -Key of a flat test for the history database. The initial test state. iklmnopqrstuvwxyz{|}~RSTUVWiRSTUVbklmnopqrstuvwxyz{|}~ixwvuklmnopqrstyz{|}~RVUTSb)klmnopqrstuvwxyz{|}~RSTUVW None(XYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~XYZ[\]^_`abcd efghijklmnopqrstuvwxyz{|}~ None1  NoneInvokes |# on all test reporters registered. Invokes }# on all test reporters registered. Invokes ~# on all test reporters registered. Invokes # on all test reporters registered. Invokes # on all test reporters registered. $The default test reporters for HTF. ,$ None'Commandline options for running tests. Be quiet or not. %Run only tests matching this filter. If Q#, display a help message and exit. 5Regular expressions matching test names which should not run. Use Just i for parallel execution with i threads, Nothing for sequential execution. If Q8, shuffle tests when running them in parallel. Default:  8Format output for machines (JSON format) or humans. See & for a definition of the JSON format. ,Output file for junit-style XML output. See % for a definition of the XML format. Use Just b to enable/disable use of colors, Nothing infers the use of colors. $The output file, defaults to stdout If Q', lists all tests available and exits. If QM, each message is sent to a new ouput file (derived by appending an index to ). History file, default: ..HTF ProgramName.history FFail and terminate test run as soon as the first test fails. Default:  =Sort tests by their previous run times (ascending). Default:  GIgnore tests with a runtime greater than given in a previous test run. 7Abort tests that run more than the given milliseconds. EWarn if a test runs more than N times slower than in a previosu run. (Do not regard test timeout as an error.  The default . !Parse commandline arguments into . Here is a synopsis ,of the format of the commandline arguments: ) USAGE: COMMAND [OPTION ...] PATTERN ...  8 where PATTERN is a posix regular expression matching " the names of the tests to run.  @ -q --quiet Only display errors. = -n PATTERN --not=PATTERN Tests to exclude. D -l --list List all matching tests. Q -j[N] --threads[=N] Run N tests in parallel, default N=1. a --deterministic Do not shuffle tests when executing them in parallel. @ -o FILE --output-file=FILE Name of output file. i --json Output results in machine-readable JSON format (incremental). U --xml=FILE Output results in junit-style XML format.  --split Splits results in separate files to avoid file locking (requires -o/--output-file). > --colors=BOOL Use colors or not. k --history=FILE Path to the history file. Default: ./.HTF/<ProgramName>.history d --fail-fast Fail and abort test run as soon as the first test fails.  --sort-by-prev-time Sort tests ascending by their execution of the previous test run (if available). Default: false  --max-prev-ms=MILLISECONDS Do not try to execute tests that had a execution time greater than MILLISECONDS in a previous test run. Z --max-cur-ms=MILLISECONDS Abort a test that runs more than MILLISECONDS. x --prev-factor=DOUBLE Abort a test that runs more than DOUBLE times slower than in a previous run. U --timeout-is-success Do not regard a test timeout as an error. A -h --help Display this message. The string displayed for the --help option.  Turn the  into a . None4$None2A type class for things that can be run as tests.  Mainly used internally. !Construct a test where the given W checks a quick check property. 3 Mainly used internally by the htfpp preprocessor. %Construct a unit test from the given 5 action. 3 Mainly used internally by the htfpp preprocessor.  *Construct a black box test from the given W.  Mainly used internally.  Create a named  from a list of  values.  Create an unnamed  from a list of  values.  Turn a  into a proper .   Extend a  with a list of  values EHTF uses this function to execute the given assertion as a HTF test. !Run something testable using the . !Run something testable using the . "Run something testable, parse the ' from the given commandline arguments. 8 Does not print the overall test results but returns an 5 action for doing so. "Run something testable, parse the ' from the given commandline arguments. 'Runs something testable with the given .  See  for a specification of the  result. 'Runs something testable with the given  . Does not / print the overall test results but returns an 5 action for doing so.  See  for a specification of the  result. 'Runs something testable with the given .  The result is * if all tests were executed successfully,  1 otherwise. In the latter case, an error code of 1 indicates @ that failures but no errors occurred, otherwise the error code 2 is used.  A test is  successful0 if the test terminates and no assertion fails.  A test is said to fail1 if an assertion fails but no other error occur. 'Runs something testable with the given  . Does not / print the overall test results but returns an 5 action for doing so.  See  for a specification of the  result. MRuns something testable by parsing the commandline arguments as test options  (using (). Exits with the exit code returned by . : This function is the main entry point for running tests. MRuns something testable by parsing the commandline arguments as test options  (using (). Exits with the exit code returned by . %     Testable thing See  for a specification of the  result Testable thing 5S action for printing the overall test results, and exit code for the test run. See  for a specification of the  result Commandline arguments Testable thing See  for a specification of the  result. Commandline arguments Testable thing 5S action for printing the overall test results, and exit code for the test run. See  for a specification of the  result.    {RSTUVbklmnopqrstuvwxyz{|}~                  None:Use a value of this datatype to customize various aspects of your black box tests. +File extension for the file used as stdin. BFile extension for the file specifying expected output on stdout. BFile extension for the file specifying expected output on stderr. Name of a file defining various arguments for executing the tests contained in a subdirectory of the test hierarchy. If a directory contains a such-named file, the arguments apply to all testfiles directly contained in this directory. See the documentation of $C for a specification of the argument file format. Default: BBTArgs Be verbose or not. EDiff program for comparing output on stdout with the expected value.  EDiff program for comparing output on stderr with the expected value.  /path to file holding expected output on stdout  /path to file holding expected output on stderr !7The type of a function comparing the content of a file +against a string, similar to the unix tool diff. ;The first parameter is the name of the file containing the &expected output. If this parameter is 4, then output Kshould not be checked. The second parameter is the actual output produced. If the result is 4 then no difference was found.  Otherwise, a ( value contains a string explaining the  difference. "Sensible default values for :  4defaultBBTArgs = BBTArgs { bbtArgs_stdinSuffix = ".in" 4 , bbtArgs_stdoutSuffix = ".out" 4 , bbtArgs_stderrSuffix = ".err" 4 , bbtArgs_dynArgsName = "BBTArgs" @ , bbtArgs_stdoutDiff = defaultDiff @ , bbtArgs_stderrDiff = defaultDiff < , bbtArgs_verbose = False } #A default value for the !% datatype that simple resorts to the diff commandline utility. $[Collects all black box tests with the given file extension stored in a specific directory. For example, the invocation  J blackBoxTests "bbt-dir" "dist/build/sample/sample" ".num" defaultBBTArgs returns a list of  values, one  for each .num file found in bbt-dirG and its subdirectories. (The samples directory of the HTF source tree !contains the example shown here, see  3https://github.com/skogsbaer/HTF/tree/master/sample.) Suppose that one of the .num files is bbt-dir/ should-pass/x.num. Running the corresponding  invokes dist/build/sample/sample (the program under test) with bbt-dir/ should-pass/x.num# as the last commandline argument. TThe other commandline arguments are taken from the flags specification given in the !file whose name is stored in the  field of the  record !(see below, default is BBTArgs). If bbt-dir/ should-pass/x.in existed, its content +would be used as stdin. The tests succeeds ,if the exit code of the program is zero and 8the output on stdout and stderr matches the contents of bbt-dir/ should-pass/x.out and bbt-dir/ should-pass/x.err, respectively. If bbt-dir/ should-pass/x.out and bbt-dir/ should-pass/x.err do 'not exist, then output is not checked. The  field of the  record specifies a filename Ithat contains some more configuration flags for the tests. The following -flags (separated by newlines) are supported: Skip= Skips all tests in the same directory as the argument file. FailM Specify that the test should succeed if it exits with a non-zero exit code.  Flags: flags Passes the given flags to the program under test. #   ! "#$%root directory of the test hierarchy name of program under test filename suffix for input file configuration !"  !"#$  "$!#     ! "#$!" Safe-Inferred%<Type for evaluating a generic assertion as a pure function. &fAssertion fails with the given stack trace. In the stack trace, the outermost stackframe comes first. ':Assertion passes successfully and yields the given value. (,Stack trace element for generic assertions. ,$A typeclass for generic assertions. /#Evaluates a generic assertion to a # value. 0$Evaluates a generic assertion to an $ value. The result  is Right x* if the assertion passes and yields value x , otherwise  the result is Left err, where err is an error message. 1Formats a stack trace. %&'()*+,-./01%&'() %&'()*+,-./01 ,-.()*+%'&/01 %'&()*+,-./01%&'()None **Type class providing access to the custom + of a quick check property.  Used only internally. ,Existential holding a - value.  Used only internally. 2BAbstract type for representing quick check properties with custom +.  Used only internally. 3The +! used if not explicitly changed. 4Change the default +* used to evaluate quick check properties. 5 Retrieve the +D currently used per default when evaluating quick check properties. 6Turns a  property into an W. This function - is used internally in the code generated by htfpp, do not use it directly. 7Run a . property with modified quick check arguments +. 8Use qcPending msg prop3 to mark the given quick check property as pending c without removing it from the test suite and without deleting or commenting out the property code. : Sets the . parameter of the +' datatype by parsing the given string. */0,1223456789:345;<=>67&Modification function for the default +  Property 89:?@ABCDEFGHIJKLMNOPQRST.U+VWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~-23456789: 35472:896*/0,1223456789:345;<=>6789:?@ANone ;PFail with the given reason, supplying the error location and the error message. <Specialization of gassertFailure. =/Signals that the current unit test is pending. >Use unitTestPending' msg test# to mark the given test as pending ^without removing it from the test suite and without deleting or commenting out the test code. ? Fail if the # value is . The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants  gassertBool and gassertBoolVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the  assertBool_, assertBoolVerbose_,  gassertBool_, and gassertBoolVerbose_* functions directly, use the macros  assertBool, assertBoolVerbose,  gassertBool , and gassertBoolVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. CFail if the two values of type a are not equal. U The first parameter denotes the expected value. Use these two functions  of a is an instance of  but not of . The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants  gassertEqual and gassertEqualVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the  assertEqual_, assertEqualVerbose_,  gassertEqual_, and gassertEqualVerbose_* functions directly, use the macros  assertEqual, assertEqualVerbose,  gassertEqual , and gassertEqualVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. GFail if the two values of type a are equal. U The first parameter denotes the expected value. Use these two functions  of a is an instance of  but not of . The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertNotEqual and gassertNotEqualVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertNotEqual_, assertNotEqualVerbose_, gassertNotEqual_, and gassertNotEqualVerbose_* functions directly, use the macros assertNotEqual, assertNotEqualVerbose, gassertNotEqual , and gassertNotEqualVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. KFail if the two values of type a are not equal. U The first parameter denotes the expected value. Use these two functions  of a is an instance of . The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertEqualPretty and gassertEqualPrettyVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertEqualPretty_, assertEqualPrettyVerbose_, gassertEqualPretty_, and gassertEqualPrettyVerbose_* functions directly, use the macros assertEqualPretty, assertEqualPrettyVerbose, gassertEqualPretty , and gassertEqualPrettyVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. OFail if the two values of type a are equal. U The first parameter denotes the expected value. Use these two functions  of a is an instance of . The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertNotEqualPretty and gassertNotEqualPrettyVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertNotEqualPretty_, assertNotEqualPrettyVerbose_, gassertNotEqualPretty_, and gassertNotEqualPrettyVerbose_* functions directly, use the macros assertNotEqualPretty, assertNotEqualPrettyVerbose, gassertNotEqualPretty , and gassertNotEqualPrettyVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. SFail if the two values of type a are not equal. U The first parameter denotes the expected value. Use these two functions  of a is neither an instance of  nor . Be aware that in this M case the generated error message might not be very helpful. The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertEqualNoShow and gassertEqualNoShowVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertEqualNoShow_, assertEqualNoShowVerbose_, gassertEqualNoShow_, and gassertEqualNoShowVerbose_* functions directly, use the macros assertEqualNoShow, assertEqualNoShowVerbose, gassertEqualNoShow , and gassertEqualNoShowVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. WFail if the two values of type a are equal. U The first parameter denotes the expected value. Use these two functions  of a is neither an instance of  nor . Be aware that in this M case the generated error message might not be very helpful. The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertNotEqualNoShow and gassertNotEqualNoShowVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertNotEqualNoShow_, assertNotEqualNoShowVerbose_, gassertNotEqualNoShow_, and gassertNotEqualNoShowVerbose_* functions directly, use the macros assertNotEqualNoShow, assertNotEqualNoShowVerbose, gassertNotEqualNoShow , and gassertNotEqualNoShowVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. [*Fail if the two given lists are not equal W when considered as sets. The first list parameter E denotes the expected value. The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertListsEqualAsSets and gassertListsEqualAsSetsVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertListsEqualAsSets_, assertListsEqualAsSetsVerbose_, gassertListsEqualAsSets_, and gassertListsEqualAsSetsVerbose_* functions directly, use the macros assertListsEqualAsSets, assertListsEqualAsSetsVerbose, gassertListsEqualAsSets , and gassertListsEqualAsSetsVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. _%Fail if the given list is empty. The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertNotEmpty and gassertNotEmptyVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertNotEmpty_, assertNotEmptyVerbose_, gassertNotEmpty_, and gassertNotEmptyVerbose_* functions directly, use the macros assertNotEmpty, assertNotEmptyVerbose, gassertNotEmpty , and gassertNotEmptyVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. c0Fail if the given list is a non-empty list. The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants  gassertEmpty and gassertEmptyVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the  assertEmpty_, assertEmptyVerbose_,  gassertEmpty_, and gassertEmptyVerbose_* functions directly, use the macros  assertEmpty, assertEmptyVerbose,  gassertEmpty , and gassertEmptyVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. g2Fail if the given element is not in the list. The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants  gassertElem and gassertElemVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the  assertElem_, assertElemVerbose_,  gassertElem_, and gassertElemVerbose_* functions directly, use the macros  assertElem, assertElemVerbose,  gassertElem , and gassertElemVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. kFail if executing the 5 action does not I throw an exception satisfying the given predicate  (e -> Bool). The  parameter in the Verbosed variant can be used to provide extra information about the error. Do not use the assertThrowsIO_ and assertThrowsIOVerbose_* functions directly, use the macros assertThrowsIO and assertThrowsIOVerbose. instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. mFail if executing the 5 action does not / throw an exception. The  parameter in the Verbosed variant can be used to provide extra information about the error. Do not use the assertThrowsSomeIO_ and assertThrowsSomeIOVerbose_* functions directly, use the macros assertThrowsSomeIO and assertThrowsSomeIOVerbose. instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. oFail if executing the m action does not I throw an exception satisfying the given predicate  (e -> Bool). The  parameter in the Verbosed variant can be used to provide extra information about the error. Do not use the assertThrowsM_ and assertThrowsMVerbose_* functions directly, use the macros  assertThrowsM and assertThrowsMVerbose. instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. qFail if executing the m action does not / throw an exception. The  parameter in the Verbosed variant can be used to provide extra information about the error. Do not use the assertThrowsSomeM_ and assertThrowsSomeMVerbose_* functions directly, use the macros assertThrowsSomeM and assertThrowsSomeMVerbose. instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. s*Fail if evaluating the expression of type a does not I throw an exception satisfying the given predicate  (e -> Bool). The  parameter in the Verbosed variant can be used to provide extra information about the error. Do not use the  assertThrows_ and assertThrowsVerbose_* functions directly, use the macros  assertThrows and assertThrowsVerbose. instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. u*Fail if evaluating the expression of type a does not / throw an exception. The  parameter in the Verbosed variant can be used to provide extra information about the error. Do not use the assertThrowsSome_ and assertThrowsSomeVerbose_* functions directly, use the macros assertThrowsSome and assertThrowsSomeVerbose. instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. wFail if the given  Either a b value is a . " Use this function if b is an instance of  The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants  gassertLeft and gassertLeftVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the  assertLeft_, assertLeftVerbose_,  gassertLeft_, and gassertLeftVerbose_* functions directly, use the macros  assertLeft, assertLeftVerbose,  gassertLeft , and gassertLeftVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. {Fail if the given  Either a b value is a . The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertLeftNoShow and gassertLeftNoShowVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertLeftNoShow_, assertLeftNoShowVerbose_, gassertLeftNoShow_, and gassertLeftNoShowVerbose_* functions directly, use the macros assertLeftNoShow, assertLeftNoShowVerbose, gassertLeftNoShow , and gassertLeftNoShowVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. Fail if the given  Either a b value is a . " Use this function if a is an instance of  The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants  gassertRight and gassertRightVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the  assertRight_, assertRightVerbose_,  gassertRight_, and gassertRightVerbose_* functions directly, use the macros  assertRight, assertRightVerbose,  gassertRight , and gassertRightVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. Fail if the given  Either a b value is a . The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertRightNoShow and gassertRightNoShowVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertRightNoShow_, assertRightNoShowVerbose_, gassertRightNoShow_, and gassertRightNoShowVerbose_* functions directly, use the macros assertRightNoShow, assertRightNoShowVerbose, gassertRightNoShow , and gassertRightNoShowVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. Fail is the given Maybe a value is a 4. The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants  gassertJust and gassertJustVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the  assertJust_, assertJustVerbose_,  gassertJust_, and gassertJustVerbose_* functions directly, use the macros  assertJust, assertJustVerbose,  gassertJust , and gassertJustVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. Fail is the given Maybe a value is a . " Use this function if a is an instance of . The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertNothing and gassertNothingVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertNothing_, assertNothingVerbose_, gassertNothing_, and gassertNothingVerbose_* functions directly, use the macros  assertNothing, assertNothingVerbose, gassertNothing , and gassertNothingVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. Fail is the given Maybe a value is a . The  parameter in the Verbose] variants can be used to provide extra information about the error. The variants gassertNothingNoShow and gassertNothingNoShowVerboseR are generic assertions: they run in the IO monad and can be evaluated to a ## value. Do not use the assertNothingNoShow_, assertNothingNoShowVerbose_, gassertNothingNoShow_, and gassertNothingNoShowVerbose_* functions directly, use the macros assertNothingNoShow, assertNothingNoShowVerbose, gassertNothingNoShow , and gassertNothingNoShowVerbose( instead. These macros, provided by the htfpp preprocessor, insert the D parameter automatically. Sub assertions are a poor man'Fs way of abstracting over assertions while still propagating location B information. Say you want to abstract over the assertion that an  is positive. You would write  & assertIsPositive :: Int -> Assertion ) assertIsPositive n = assertBool (n > 0) You can now use assertIsPositive i for some integer i3 from your unit tests, but if you call it directly ( you will lose location information: if assertIsPositive i, fails you will only get the location where  assertIsPositive3 is defined but not from where it has been called. 3To recover the location information you simply use subAssert (assertIsPositive i).  In this case, if i; is not positive, you will get the location of the caller. Note: Don'9t use subAssert_ directly but use the preprocessor macro  subAssert. Generic variant of . Same as ' but with an additional error message. Generic variant of . x;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~];<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~]BA@?FEDCNMLKVUTSJIHGRQPOZYXW^]\[ba`_fedcjihgtsvulknmporqzyxw~}|{<;=>x;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~NoneBCDEFGHIJKLMNOPQRST.U+VWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~-H %&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ H !!"#$%&'()*+,-./012334556789:;<=>?@ABCDEFGHHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghhijklmnopqrstuvvwxyz{|}~                                                                              !"#$$%&'()*+,-./01233456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$$%&'()*+,-./0123456789:;`<=>?@ABBCDEEFG{HIJKLMNOPQRSTUVWXYZ>?[ \ ] ^ _ ` a b b c d e f g g h i j k l l m n o p q r s t u u v w x y z { | | } ~                                                                       >?     <    >? !"#$%&'()*'+,'(-./*<001123456789:';<';=';>';?';@';A'(B'(C'(D'(E'(F'(G'(H'(I'(J'(K'(L'(M'(N'()'(O'(P'(Q'(R'(S'(T'(U'(V'(W'(X'(Y'(Z'(['(\'(b'+]'+^'+_'+`'+a'+b'+c'+d'+e'+f'+g'+h'+i'+j'+k'+l'+m'+n'+o'+p'+q'+r'+s'+t'+u'+v'+w'+x'+y'+y'z{'z|'z|'z}'z~'z~'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z'z''''''''''''''''''''''''''''''''''''''''''''''>? HTF-0.12.2.3Test.Framework.HUnitWrapperTest.Framework.ThreadPoolTest.Framework.PrettyHaskellTest.Framework.PrettyTest.Framework.ColorsTest.Framework.LocationTest.Framework.TestInterfaceTest.Framework.HistoryTest.Framework.TestTypesTest.Framework.XmlOutputTest.Framework.JsonOutputTest.Framework.TestReporterTest.Framework.CmdlineOptionsTest.Framework.PreprocessorTest.Framework.TestManagerTest.Framework.BlackBoxTestTest.Framework.AssertM Test.Framework.QuickCheckWrapperTest.Framework.TutorialTest.Framework.ProcessTest.Framework.UtilsTest.Framework.DiffTest.Framework JsonOutput XmlOutputTest.Framework.TestConfigdefaultCmdlineOptionsTest QuickCheck HUnit-1.2.5.2Test.HUnit.Lang HUnitFailure ThreadPooltp_runThreadPoolEntryStopFlag DoNotStopDoStopsequentialThreadPoolparallelThreadPoolthreadPoolTestthreadPoolTestStop prettyHaskellprettyHaskell'prettyHaskellTestsPrettypretty prettyList showPretty<=> ColorString unColorStringPrimColorString PrimColorNoColorWhiteYellow LightMagentaLightRed LightCyan LightGreen LightBlueDarkGrayGrayBrownMagentaRedCyanGreenBlueBlackColorfirstDiffColorsecondDiffColor skipDiffColor diffColor warningColortestStartColor testOkColor pendingColoremptyColorString maxLengthunlinesColorStringcolorStringFindensureNewlineColorStringcolorize colorizeText colorize' colorizeText'noColor noColorTextnoColor' noColorText'+++renderColorStringLocationshowLocfileName lineNumbermakeLocunknownLocationHTFFailureException HTFFailureFullTestResult ftr_locationftr_callingLocations ftr_message ftr_result TestResultErrorFailPendingPass AssertionmkFullTestResultfailHTF subAssertHTFHistoricTestResult htr_testId htr_result htr_timedOut htr_timeMs TestHistory MillisecondsemptyTestHistorymkTestRunHistoryupdateTestHistoryfindHistoricTestResult findHistoricSuccessfulTestResultserializeTestHistorydeserializeTestHistory historyTestsReportGlobalResultsReportGlobalResultsArg rgra_timeMs rgra_passed rgra_pending rgra_failed rgra_errors rgra_timedOut rgra_filteredReportTestResultReportTestStartReportGlobalStartReportAllTests TestReportertr_idtr_reportAllTeststr_reportGlobalStarttr_reportTestStarttr_reportTestResulttr_reportGlobalResults TestConfigtc_quiet tc_threads tc_shuffle tc_output tc_outputXml tc_filter tc_reporters tc_useColorstc_historyFile tc_historytc_sortByPrevTime tc_failFasttc_timeoutIsSuccesstc_maxSingleTestTime tc_prevFactor TestOutputTestOutputSplittedTestOutputHandleTR TestState ts_resultsts_indexFlatTestResult RunResult rr_result rr_location rr_callers rr_message rr_wallTimeMs rr_timeout CallStack TestFilterFlatTest GenFlatTestft_sortft_path ft_location ft_payloadTestPathTestPathCompound TestPathBase TestSuite AnonTestSuite CompoundTestBaseTestAssertionWithTestOptions testOptions assertionWithTestOptions wto_options wto_payload TestOptions to_parallelTestSort BlackBoxTestQuickCheckTestUnitTestTestIDdefaultTestOptions withOptionstestPathToListflatName finalName prefixName historyKeyattachCallStack initTestStateemptyTestReportermkGlobalResultsXmlTestObjTestResultsObj TestListObjTestEndEventObjTestStartEventObj HTFJsonObjmkTestStartEventObjmkTestEndEventObj mkTestListObjmkTestResultsObj decodeObj IsXmlOutput NoXmlOutput IsJsonOutput NoJsonOutput IsParallel NonParallelParallelreportAllTestsreportGlobalStartreportTestStartreportTestResultreportGlobalResultsisParallelFromBooldefaultTestReportersCmdlineOptions opts_quiet opts_filter opts_help opts_negated opts_threads opts_shuffleopts_machineOutputopts_machineOutputXmlopts_useColorsopts_outputFileopts_listTests opts_splitopts_historyFile opts_failFastopts_sortByPrevTimeopts_maxPrevTimeMsopts_maxCurTimeMsopts_prevFactoropts_timeoutIsSuccess parseTestArgs helpStringtestConfigFromCmdlineOptionsprogName transformpreprocessorTests TestableHTFmakeQuickCheckTest makeUnitTestmakeBlackBoxTest makeTestSuitemakeAnonTestSuitetestSuiteAsTestaddToTestSuiterunTestrunTest'runTestWithArgsrunTestWithArgs'runTestWithOptionsrunTestWithOptions'runTestWithConfigrunTestWithConfig'htfMainhtfMainWithArgsBBTArgsbbtArgs_stdinSuffixbbtArgs_stdoutSuffixbbtArgs_stderrSuffixbbtArgs_dynArgsNamebbtArgs_verbosebbtArgs_stdoutDiffbbtArgs_stderrDiffDiffdefaultBBTArgs defaultDiff blackBoxTests AssertBool AssertFailedAssertOkAssertStackElem ase_message ase_locationAssertMgenericAssertFailure__genericSubAssert boolValue eitherValue formatStack WithQCArgs defaultArgssetDefaultArgsgetCurrentArgs qcAssertion withQCArgs qcPendingassertionAsPropertysetReplayFromStringgassertFailure_assertFailure_unitTestPendingunitTestPending'gassertBoolVerbose_ gassertBool_assertBoolVerbose_ assertBool_gassertEqualVerbose_ gassertEqual_assertEqualVerbose_ assertEqual_gassertNotEqualVerbose_gassertNotEqual_assertNotEqualVerbose_assertNotEqual_gassertEqualPrettyVerbose_gassertEqualPretty_assertEqualPrettyVerbose_assertEqualPretty_gassertNotEqualPrettyVerbose_gassertNotEqualPretty_assertNotEqualPrettyVerbose_assertNotEqualPretty_gassertEqualNoShowVerbose_gassertEqualNoShow_assertEqualNoShowVerbose_assertEqualNoShow_gassertNotEqualNoShowVerbose_gassertNotEqualNoShow_assertNotEqualNoShowVerbose_assertNotEqualNoShow_gassertListsEqualAsSetsVerbose_gassertListsEqualAsSets_assertListsEqualAsSetsVerbose_assertListsEqualAsSets_gassertNotEmptyVerbose_gassertNotEmpty_assertNotEmptyVerbose_assertNotEmpty_gassertEmptyVerbose_ gassertEmpty_assertEmptyVerbose_ assertEmpty_gassertElemVerbose_ gassertElem_assertElemVerbose_ assertElem_assertThrowsIOVerbose_assertThrowsIO_assertThrowsSomeIOVerbose_assertThrowsSomeIO_assertThrowsMVerbose_assertThrowsM_assertThrowsSomeMVerbose_assertThrowsSomeM_assertThrowsVerbose_ assertThrows_assertThrowsSomeVerbose_assertThrowsSome_gassertLeftVerbose_ gassertLeft_assertLeftVerbose_ assertLeft_gassertLeftNoShowVerbose_gassertLeftNoShow_assertLeftNoShowVerbose_assertLeftNoShow_gassertRightVerbose_ gassertRight_assertRightVerbose_ assertRight_gassertRightNoShowVerbose_gassertRightNoShow_assertRightNoShowVerbose_assertRightNoShow_gassertJustVerbose_ gassertJust_assertJustVerbose_ assertJust_gassertNothingVerbose_gassertNothing_assertNothingVerbose_assertNothing_gassertNothingNoShowVerbose_gassertNothingNoShow_assertNothingNoShowVerbose_assertNothingNoShow_ subAssert_ gsubAssert_subAssertVerbose_gsubAssertVerbose_ popenShellpopenpopen' FromWorker WorkResultToWorker NamedChan NamedMVarWorkItemDoneWorkrunSequentially runParallel_DEBUG_ newNamedChan readNamedChanwriteNamedChannewEmptyNamedMVar putNamedMVar takeNamedMVardebugrunTestParallel$fShowWorkResult$fShowWorkItem shuffleIODirectoryEntryTypeOther DirectoryFilebasenamedirname startswithendswith dropPrefix dropSuffix replaceSuffix dropSpacedirectoryEntryType collectFiles maybeFile mapAccumLMreadM ensureNewlinestripmeasurediffClockTimesMySuperSuperHero mssh_isHere mssh_hero MySuperHeromsh_agemsh_name msh_addressmsh_funprettyHaskell'' postProcesstestPrettyHaskellbaseGHC.BaseStringpretty-1.1.1.0Text.PrettyPrint.HughesPJDoc $fPrettyBool $fPrettyInt $fPretty[] $fPrettyCharstyleModeLeftMode OneLineModePageMode ZigZagModeStyle lineLengthmoderibbonsPerLineStrPStrChr TextDetails zeroWidthTextvcattextspace sizedTextsepsemirparen renderStylerenderrbrackrbracerationalquotes punctuateptextparensnestlparenlbracklbraceisEmptyintegerinthsephcathang fullRenderfsepfloatfcatequalsempty doubleQuotesdoublecommacoloncharcatbracketsbraces<><+>$+$$$ startColorresetconcatColorString$fIsStringColorString DiffConfig dc_fromFirst dc_fromSecond dc_fromBothdc_sepdc_skipdc_lineFromFirstdc_lineFromSecondPos FirstLastLastMiddleFirstisLastisFirstmkDefaultDiffConfigdefaultDiffConfig contextSizesingleLineDiff multiLineDiffdiffdiffWithSensibleConfigmultiLineDiffHaskellmain Data.MaybeNothingghc-prim GHC.TypesIO$fExceptionHTFFailureExceptionSerializableTestHistory sth_versionsth_runsTestRunHistory trh_startTime trh_teststh_runsth_indexth_successfulIndex isSuccess createIndex_CURRENT_VERSION_testCreateIndextestResultStringMapping$fFromJSONTestResult$fToJSONTestResult$fShowTestRunHistory$fShowTestHistory$fToJSONSerializableTestHistory$fToJSONTestRunHistory$fToJSONHistoricTestResultGHC.IOFilePathGHC.IO.Handle.TypesHandleTrueflatNameFromList$fEqTestReporter$fShowTestReporter$fShowTestConfig)$fAssertionWithTestOptionsWithTestOptions$fAssertionWithTestOptionsIOResult r_elemName r_messager_type r_textContentTestcase tc_classnametc_nametc_time tc_result Testsuitets_tests ts_failures ts_errorsts_timets_idts_name ts_package ts_testcases Testsuites tss_tests tss_failures tss_errorstss_time tss_suitesSecondsJunitXmlOutput renderAsXml groupByModule mkTestSuite isFailureisError mkTestCasemillisToSeconds to_flatNameto_path to_locationto_sort tr_wallTimeMs tr_passed tr_pending tr_failed tr_errors tr_timedOut tr_filtered tlm_testste_test te_result te_location te_callers te_message te_wallTimeMs te_timedOutts_test mkTestObj$fToJSONLocation$fToJSONTestSort$fToJSONTestPath$fToJSONTestObj$fHTFJsonObjTestResultsObj$fToJSONTestResultsObj$fHTFJsonObjTestListObj$fToJSONTestListObj$fHTFJsonObjTestEndEventObj$fToJSONTestEndEventObj$fHTFJsonObjTestStartEventObj$fToJSONTestStartEventObj ReportLevelInfoDebug humanTestNamereportHumanTestStartMessagereportGlobalStartHSreportTestStartHSreportTestResultHSreportGlobalStartHPreportTestStartHPreportTestResultHPreportAllTestsHreportGlobalResultsHrenderTestNamesreportGlobalStartMSreportTestStartMSreportTestResultMSreportGlobalStartMPreportTestStartMPreportTestResultMPreportAllTestsMreportGlobalResultsMreportGlobalResultsXmlreportTRreportStringTRreportLazyBytesTR reportJsonTR reportGenFalseprocessorCountoptionDescriptions usageHeaderLocl_filel_linel_columnLocTokenPMAName DefinitionPropDefTestDef ImportDeclimp_moduleName imp_qualified imp_aliasimp_loc ModuleInfo mi_htfPrefix mi_htfImportsmi_defs mi_moduleName htfModulemkNamethisModulesTestsFullNameimportedTestListFullNamethisModulesTestsNameimportedTestListName nameDefines allAsserts assertDefinesmi_moduleNameWithDefault setModName addTestDef addPropDef addHtfImportsetTestFrameworkImportpoorManAnalyzeTokens cleanupTokenscleanupInputStringcleanupInputStringTest fixPositionsfixPositionsTestanalyze analyzeTests testAnalyzeparseCppLineInfoOutperformTestHTFGHC.IO.ExceptionExitCode ExitSuccess ExitFailurePrimTestResultPrimTestResultTimeoutPrimTestResultNoTimeout TimeoutResultTimeoutResultTimeoutTimeoutResultExceptionTimeoutResultOkflatten flattenTestflattenTestSuite maxRunTimetimeoutmkFlatTestRunnerrunAllFlatTests$fTestableHTFIO$fTestableHTF[]$fTestableHTFTestSuite$fTestableHTFTestbbtCfg_stdoutFilebbtCfg_stderrFileJustDynamicConfigMap DynamicConfigdyn_skip dyn_flagsdyn_shouldFail dyn_verboseBlackBoxTestCfgbbtCfg_shouldFail bbtCfg_cmdbbtCfg_stdinFilebbtCfg_verbosebbtCfg_stdoutCmpbbtCfg_stderrCmprunBlackBoxTest endOfOutputblackBoxTestFail defaultDynCfg readDynCfgBool Data.EitherEither$fAssertMAssertBool$fMonadAssertBool$fApplicativeAssertBool$fFunctorAssertBool $fAssertMIO QCAssertionQuickCheck-2.7.6Test.QuickCheck.TestArgs AnyTestableTest.QuickCheck.PropertyTestablereplay argsModifiertestableQCPendingExceptionQCStateqc_argsqcStatequickCheckTestErrorquickCheckTestFailquickCheckTestPendingquickCheckTestPass$fQCAssertionWithQCArgs$fQCAssertiona$fExceptionQCPendingExceptionTest.QuickCheck.AllverboseCheckAll quickCheckAllforAllProperties monomorphicpolyVerboseCheckpolyQuickCheckverboseCheckWithResultverboseCheckResultverboseCheckWith verboseCheckquickCheckWithResultquickCheckResultquickCheckWith quickCheckstdArgschattymaxSizemaxDiscardRatio maxSuccessoutputlabelsnumTestsSuccessGaveUp theExceptionreasonusedSizeusedSeednumShrinkFinalnumShrinkTries numShrinksFailureNoExpectedFailure===disjoin.||.conjoin.&&..&. forAllShrinkforAllwithin==>coverclassifycollectlabelonce expectFailureverbose whenFail'whenFail printTestCasecounterexample noShrinking shrinkingmapSize ioPropertyProperty exhaustivepropertyDiscardTest.QuickCheck.ModifiersgetBlindBlindgetFixedFixed getOrderedOrdered OrderedList getNonEmptyNonEmpty NonEmptyList getPositivePositive getNonZeroNonZerogetNonNegative NonNegativegetLargeLargegetSmallSmall getShrink2Shrink2Smart Shrinking shrinkState shrinkInit ShrinkStateTest.QuickCheck.Arbitrary infiniteList orderedListvectorcoarbitraryEnumcoarbitraryShowcoarbitraryRealcoarbitraryIntegral><shrinkRealFracshrinkRealFracToIntegershrinkIntegral shrinkNothingarbitrarySizedBoundedIntegralarbitraryBoundedEnumarbitraryBoundedRandomarbitraryBoundedIntegralarbitrarySizedFractionalarbitrarySizedIntegral shrinkListsubtermsrecursivelyShrink genericShrinkshrink arbitrary Arbitrary coarbitrary CoArbitraryTest.QuickCheck.GeninfiniteListOfvectorOflistOf1listOfgrowingElementselements frequencyoneof suchThatMaybesuchThatsamplesample'generatechooseresizesizedvariantGenTest.QuickCheck.ExceptiondiscardGHC.ShowShowRightLeftIntmkMsg mkColorMsg _assertBool_equalityFailedMessagenotEqualityFailedMessage _assertEqual__assertNotEqual__assertEqualPretty__assertNotEqualPretty__assertEqualNoShow__assertNotEqualNoShow__assertListsEqualAsSets__assertNotEmpty_ _assertEmpty_ _assertElem__assertThrowsIO__assertThrowsSomeIO__assertThrowsM__assertThrowsSomeM__assertThrows__assertThrowsSome_ _assertLeft__assertLeftNoShow_ _assertRight__assertRightNoShow_ _assertJust__assertNothing__assertNothingNoShow_