File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public function testCloverForBankAccountTest()
7979
8080 $ this ->assertStringMatchesFormatFile (
8181 TEST_FILES_PATH . 'BankAccount-clover.xml ' ,
82- $ clover ->process ($ this ->getBankAccountCoverage (), NULL , 'BankAccount ' )
82+ $ clover ->process ($ this ->getCoverageForBankAccount (), NULL , 'BankAccount ' )
8383 );
8484 }
8585}
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ public function testCollect()
312312 )
313313 ),
314314 'data ' ,
315- $ this ->getBankAccountCoverage ()
315+ $ this ->getCoverageForBankAccount ()
316316 );
317317 }
318318
@@ -322,13 +322,13 @@ public function testCollect()
322322 public function testMerge ()
323323 {
324324 $ coverage = new PHP_CodeCoverage (
325- $ this ->setUpXdebugStub (), new PHP_CodeCoverage_Filter
325+ $ this ->setUpXdebugStubForBankAccount (), new PHP_CodeCoverage_Filter
326326 );
327327
328- $ coverage ->merge ($ this ->getBankAccountCoverage ());
328+ $ coverage ->merge ($ this ->getCoverageForBankAccount ());
329329
330330 $ this ->assertEquals (
331- $ this ->getBankAccountCoverage ()->getSummary (), $ coverage ->getSummary ()
331+ $ this ->getCoverageForBankAccount ()->getSummary (), $ coverage ->getSummary ()
332332 );
333333 }
334334
@@ -392,7 +392,7 @@ public function testSummary()
392392 32 => -2
393393 )
394394 ),
395- $ this ->getBankAccountCoverage ()->getSummary ()
395+ $ this ->getCoverageForBankAccount ()->getSummary ()
396396 );
397397 }
398398}
Original file line number Diff line number Diff line change 5959 */
6060abstract class PHP_CodeCoverage_TestCase extends PHPUnit_Framework_TestCase
6161{
62- protected function getBankAccountCoverage ()
62+ protected function getCoverageForBankAccount ()
6363 {
6464 $ coverage = new PHP_CodeCoverage (
65- $ this ->setUpXdebugStub (), new PHP_CodeCoverage_Filter
65+ $ this ->setUpXdebugStubForBankAccount (), new PHP_CodeCoverage_Filter
6666 );
6767
6868 $ coverage ->start (
@@ -88,7 +88,7 @@ protected function getBankAccountCoverage()
8888 return $ coverage ;
8989 }
9090
91- protected function setUpXdebugStub ()
91+ protected function setUpXdebugStubForBankAccount ()
9292 {
9393 $ stub = $ this ->getMock ('PHP_CodeCoverage_Driver_Xdebug ' );
9494 $ stub ->expects ($ this ->any ())
You can’t perform that action at this time.
0 commit comments