cvs: phpruntests /src/testrun rtPhpTestRun.php

From: Date: Tue, 02 Jun 2009 19:52:53 +0000
Subject: cvs: phpruntests /src/testrun rtPhpTestRun.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-58455@lists.php.net to get a copy of this message
zoe Tue Jun 2 19:52:53 2009 UTC Modified files: /phpruntests/src/testrun rtPhpTestRun.php Log: Replacing status array with status object http://cvs.php.net/viewvc.cgi/phpruntests/src/testrun/rtPhpTestRun.php?r1=1.9&r2=1.10&diff_format=u Index: phpruntests/src/testrun/rtPhpTestRun.php diff -u phpruntests/src/testrun/rtPhpTestRun.php:1.9 phpruntests/src/testrun/rtPhpTestRun.php:1.10 --- phpruntests/src/testrun/rtPhpTestRun.php:1.9 Mon May 25 12:46:57 2009 +++ phpruntests/src/testrun/rtPhpTestRun.php Tue Jun 2 19:52:53 2009 @@ -88,10 +88,13 @@ $testFile = new rtPhpTestFile(); $testFile->doRead($testName); $testFile->normaliseLineEndings($testName); + + $testStatus = new rtTestStatus(); + $testStatus->setTestName($testFile->getTestName()); if ($testFile->arePreconditionsMet()) { - $testCase = new rtPhpTest($testFile->getContents(), $testFile->getTestName(), $testFile->getSectionHeadings(), $runConfiguration); + $testCase = new rtPhpTest($testFile->getContents(), $testFile->getTestName(), $testFile->getSectionHeadings(), $runConfiguration, $testStatus); //Setup and set the local environment for the test case $testCase->executeTest($runConfiguration);

« previous php.cvs (#58455) next »