![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
class for making an agent unit or functional test More...
Public Member Functions | |
__construct ($unitTest) | |
MakeTest () | |
make tests in a directory and check output for errors and no tests. More... | |
CheckMakeErrors ($makeString) | |
check the output of make for errors More... | |
CheckCunitTestErrors ($makeString) | |
check the test output for cunit style failures More... | |
CheckPHPTestErrors ($makeString) | |
check for the word FAILURES in the output, this is what PHPUnit prints when there are any failures in the tests run. More... | |
CheckOtherErrors ($makeString) | |
Check for other common error strings. More... | |
printResults ($runResults) | |
print the result array. This will print any informative messages including erorrs that may have occured. More... | |
Public Attributes | |
$makeOutput = array() | |
Protected Attributes | |
$unitTest | |
$makeErrors | |
$cunitErrors | |
$phpunitErrors | |
class for making an agent unit or functional test
Definition at line 405 of file common-Test.php.
RunTest::CheckCunitTestErrors | ( | $makeString | ) |
check the test output for cunit style failures
string | $makeString | $this->makeOutput the test output |
Definition at line 567 of file common-Test.php.
RunTest::CheckMakeErrors | ( | $makeString | ) |
RunTest::CheckOtherErrors | ( | $makeString | ) |
Check for other common error strings.
This is an attempt to give the developer more information about what failed rather than the generic message 'some other error occured' Only the first pattern found will be reported.
string | $makeString |
Definition at line 614 of file common-Test.php.
RunTest::CheckPHPTestErrors | ( | $makeString | ) |
check for the word FAILURES in the output, this is what PHPUnit prints when there are any failures in the tests run.
string | $makeString,the | make output |
Definition at line 594 of file common-Test.php.
RunTest::MakeTest | ( | ) |
make tests in a directory and check output for errors and no tests.
This function assumes that the caller is cd'ed into the appropriate directory before being called.
Definition at line 437 of file common-Test.php.
RunTest::printResults | ( | $runResults | ) |
print the result array. This will print any informative messages including erorrs that may have occured.
array | $runResults |
The array has the format has described in MakeTest method.
Definition at line 643 of file common-Test.php.