class TEST_REG_EXP
Public
Readonly Shareds
shared checked_tests : CARD ;
.. Included as checked_tests
shared class_name_str : STR ;
.. Included as class_name_str
****
The name of the tested class.
shared failure_docs : FLIST{STR} ;
.. Included as failure_docs
****
Documentation of failures.
shared failures : FLIST{CARD} ;
.. Included as failures
****
The tests which failed.
shared test_number : CARD ;
.. Included as test_number
****
Which test.
Writable Shareds
shared checked_tests : CARD ;
.. Included as checked_tests
shared class_name_str : STR ;
.. Included as class_name_str
****
The name of the tested class.
shared failure_docs : FLIST{STR} ;
.. Included as failure_docs
****
Documentation of failures.
shared failures : FLIST{CARD} ;
.. Included as failures
****
The tests which failed.
shared test_number : CARD ;
.. Included as test_number
****
Which test.
Constants
const Alternate_Expr : STR := "Mary[adhlite ]*mb" ;
const Anchored_Expr : STR := "^M.*$" ;
const Anything_Expr : STR := ".*" ;
const Classes_Expr : STR := "([[:alpha:]]+ ){4}lamb" ;
const Dup_Range_Expr : STR := "([[:alpha:]]+ ){3,4}lamb" ;
const Duplicate_Expr : STR := "([[:alpha:]]*[[:space:]]?){5}" ;
const Negative_Expr : STR := "[^X]([[:lower:]]+|[[:space:]]){5}" ;
const Test_Val : STR := "Mary had a little lamb" ;
const Total_Expr : STR := "^.+$" ;
Features
class_name(
.. Included as class_name
finish
.. Included as finish
main
raise_test(
.. Included as raise_test
test(doc_ds,
.. Included as test
unchecked_test(
.. Included as unchecked_test
The Sather Home Page