com phpruntests: I do not know how this ever worked, unless we planned to make keep-all have some options?: tests/configuration/rtC
ommandLineOptionsTest.php

From: Date: Thu, 19 Apr 2012 11:37:50 +0000
Subject: com phpruntests: I do not know how this ever worked, unless we planned to make keep-all have some options?: tests/configuration/rtC
ommandLineOptionsTest.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-66290@lists.php.net to get a copy of this message
Commit: f4d4a739b8abce151984c725cddc9db665db2707 Author: Zoe Slattery <zoe@php.net> Thu, 19 Apr 2012 11:37:50 +0000 Parents: 02f1a5626ef5fca3c9a72363cc754a7d6a908ecd Branches: master Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=f4d4a739b8abce151984c725cddc9db665db2707 Log: I do not know how this ever worked, unless we planned to make keep-all have some options? Changed paths: M tests/configuration/rtCommandLineOptionsTest.php Diff: diff --git a/tests/configuration/rtCommandLineOptionsTest.php b/tests/configuration/rtCommandLineOptionsTest.php index 8adb29a..fbdf6d1 100644 --- a/tests/configuration/rtCommandLineOptionsTest.php +++ b/tests/configuration/rtCommandLineOptionsTest.php @@ -41,11 +41,10 @@ class rtCommandLineOptionsTest extends PHPUnit_Framework_TestCase public function testLongOptionWithArg() { $clo = new rtCommandLineOptions(); - $clo->parse(array('run-tests.php', '--keep-all', 'the-keepall-arg')); + $clo->parse(array('run-tests.php', '--mopts', 'the-memoryoptions-arg')); - $this->assertTrue($clo->hasOption('keep-all')); - var_dump($clo->getOption('keep-all')); - $this->assertEquals('the-keepall-arg', $clo->getOption('keep-all')); + $this->assertTrue($clo->hasOption('mopts')); + $this->assertEquals('the-memoryoptions-arg', $clo->getOption('mopts')); } public function testNonexistingOption()

« previous php.qa (#66290) next »