Commit Graph

2110 Commits

Author SHA1 Message Date
Fabien Potencier
3628287f15 [DependencyInjection] fixed a test 2010-03-29 14:32:58 +02:00
Fabien Potencier
fc2f508c15 simplified unit tests 2010-03-25 14:56:29 +01:00
Fabien Potencier
c69410ccde [DependencyInjection] fixed Container::getService() when the service is empty (closes #8456) 2010-03-25 14:04:48 +01:00
Fabien Potencier
ba59b1788b [RequestHandler] fixed coverage annotations in tests 2010-03-25 13:26:16 +01:00
Fabien Potencier
9606402b6f [RequestHandler] changed the Request constructor signature to be more explicit 2010-03-25 08:55:50 +01:00
Fabien Potencier
16fa12ffb3 fixed unit tests boostrap script 2010-03-25 08:20:30 +01:00
Fabien Potencier
2dc36191d1 fixed assertEquals() calls arguments order
The conversion has been done automatically with the following command:

    perl -p -i -e 's#this\->assertEquals\((.+?), (.+?)(, '\''(\-|\:|_)|\);)#this->assertEquals($2, $1$3#g' tests/Symfony/Tests/*/*.php tests/Symfony/Tests/*/*/*.php tests/Symfony/Tests/*/*/*.php

... and with some manual tweaking after that
2010-03-19 15:04:37 +01:00
Fabien Potencier
549dbc6961 [DependencyInjection] fixed a unit test 2010-03-18 16:33:24 +01:00
Fabien Potencier
d4f724ab4e finished the conversions of unit tests to PHPUnit 2010-03-18 15:26:21 +01:00
Fabien Potencier
13edcf64e2 converted unit tests from lime to PHPUnit for the following components: Console, DependencyInjection, EventDispatcher, OutputEscaper, and Yaml 2010-03-18 08:48:03 +01:00