"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Console/Tests/Input/ArrayInputTest.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

ArrayInputTest.php  (phplist-3.4.5.tgz):ArrayInputTest.php  (phplist-3.4.6.tgz)
skipping to change at line 130 skipping to change at line 130
'->parse() does not choke on end of options signal', '->parse() does not choke on end of options signal',
], ],
]; ];
} }
/** /**
* @dataProvider provideInvalidInput * @dataProvider provideInvalidInput
*/ */
public function testParseInvalidInput($parameters, $definition, $expectedExc eptionMessage) public function testParseInvalidInput($parameters, $definition, $expectedExc eptionMessage)
{ {
if (method_exists($this, 'expectException')) { $this->expectException('InvalidArgumentException');
$this->expectException('InvalidArgumentException'); $this->expectExceptionMessage($expectedExceptionMessage);
$this->expectExceptionMessage($expectedExceptionMessage);
} else {
$this->setExpectedException('InvalidArgumentException', $expectedExc
eptionMessage);
}
new ArrayInput($parameters, $definition); new ArrayInput($parameters, $definition);
} }
public function provideInvalidInput() public function provideInvalidInput()
{ {
return [ return [
[ [
['foo' => 'foo'], ['foo' => 'foo'],
new InputDefinition([new InputArgument('name')]), new InputDefinition([new InputArgument('name')]),
 End of changes. 1 change blocks. 
7 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)