com phpruntests: Fixing test name for BORKed tests: src/testgroup/rtPhpTestGroup.php

From: Date: Sun, 19 Apr 2009 16:17:00 +0000
Subject: com phpruntests: Fixing test name for BORKed tests: src/testgroup/rtPhpTestGroup.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-66547@lists.php.net to get a copy of this message
Commit: eb7344a3fca4368ea0d03f69094995b21cd4aacd Author: Zoe Slattery <zoe@php.net> Sun, 19 Apr 2009 16:17:00 +0000 Parents: af63026425c05e08c3b3588ef37afb1ac1d3a2de Branches: master Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=eb7344a3fca4368ea0d03f69094995b21cd4aacd Log: Fixing test name for BORKed tests Changed paths: M src/testgroup/rtPhpTestGroup.php Diff: diff --git a/src/testgroup/rtPhpTestGroup.php b/src/testgroup/rtPhpTestGroup.php index 4093780..fb6fd4a 100644 --- a/src/testgroup/rtPhpTestGroup.php +++ b/src/testgroup/rtPhpTestGroup.php @@ -37,12 +37,10 @@ class rtPhpTestGroup { $testFile->normaliseLineEndings(); if($testFile->arePreconditionsMet() ) { - - //Create a new test case $this->testCases[] = new rtPhpTest($testFile->getContents(), $testFile->getTestName(), $testFile->getSectionHeadings(), $runConfiguration); } else { - $this->results[] = new rtTestResults(null, $testFile->getExitMessage(), $testName); + $this->results[] = new rtTestResults(null, $testFile->getExitMessage(), $testFile->getTestName()); } } }

« previous php.qa (#66547) next »