sensio/SensioGeneratorBundle — pull request #97 by sensorario (2012-01-20 09:47:53+00:00)
Title: some test error BundleGeneratorTest.php

$ phpunit --configuration app/phpunit.xml.full

and with this xml content:

../src/*/*Bundle/Tests
../src/*/Bundle/*Bundle/Tests
../vendor/bundles/*/Bundle/*Bundle/Tests

../src

../src/*/*Bundle/Resources
../src/*/*Bundle/Tests
../src/*/Bundle/*Bundle/Resources
../src/*/Bundle/*Bundle/Tests

I get some error:
$ phpunit --configuration app/phpunit.xml.full
PHPUnit 3.6.7 by Sebastian Bergmann.

Configuration read from /var/www/ABMundi/app/phpunit.xml.full

....................EEEEEEE...................................... 65 / 75 ( 86%)
..........

Time: 2 seconds, Memory: 50.00Mb

There were 7 errors:

1) Sensio\Bundle\GeneratorBundle\Tests\Generator\BundleGeneratorTest::testGenerateYaml
Argument 1 passed to Sensio\Bundle\GeneratorBundle\Generator\BundleGenerator::__construct() must be an instance of Symfony\Component\Filesystem\Filesystem, instance of Symfony\Component\HttpKernel\Util\Filesystem given, called in /var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/BundleGeneratorTest.php on line 22 and defined

/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Generator/BundleGenerator.php:27
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/BundleGeneratorTest.php:22

2) Sensio\Bundle\GeneratorBundle\Tests\Generator\BundleGeneratorTest::testGenerateAnnotation
Argument 1 passed to Sensio\Bundle\GeneratorBundle\Generator\BundleGenerator::__construct() must be an instance of Symfony\Component\Filesystem\Filesystem, instance of Symfony\Component\HttpKernel\Util\Filesystem given, called in /var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/BundleGeneratorTest.php on line 52 and defined

/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Generator/BundleGenerator.php:27
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/BundleGeneratorTest.php:52

3) Sensio\Bundle\GeneratorBundle\Tests\Generator\DoctrineCrudGeneratorTest::testGenerateYamlFull
Argument 1 passed to Sensio\Bundle\GeneratorBundle\Generator\DoctrineCrudGenerator::__construct() must be an instance of Symfony\Component\Filesystem\Filesystem, instance of Symfony\Component\HttpKernel\Util\Filesystem given, called in /var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php on line 186 and defined

/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Generator/DoctrineCrudGenerator.php:41
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php:186
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php:21

4) Sensio\Bundle\GeneratorBundle\Tests\Generator\DoctrineCrudGeneratorTest::testGenerateXml
Argument 1 passed to Sensio\Bundle\GeneratorBundle\Generator\DoctrineCrudGenerator::__construct() must be an instance of Symfony\Component\Filesystem\Filesystem, instance of Symfony\Component\HttpKernel\Util\Filesystem given, called in /var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php on line 186 and defined

/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Generator/DoctrineCrudGenerator.php:41
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php:186
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php:58

5) Sensio\Bundle\GeneratorBundle\Tests\Generator\DoctrineCrudGeneratorTest::testGenerateAnnotationWrite
Argument 1 passed to Sensio\Bundle\GeneratorBundle\Generator\DoctrineCrudGenerator::__construct() must be an instance of Symfony\Component\Filesystem\Filesystem, instance of Symfony\Component\HttpKernel\Util\Filesystem given, called in /var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php on line 186 and defined

/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Generator/DoctrineCrudGenerator.php:41
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php:186
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php:103

6) Sensio\Bundle\GeneratorBundle\Tests\Generator\DoctrineCrudGeneratorTest::testGenerateAnnotation
Argument 1 passed to Sensio\Bundle\GeneratorBundle\Generator\DoctrineCrudGenerator::__construct() must be an instance of Symfony\Component\Filesystem\Filesystem, instance of Symfony\Component\HttpKernel\Util\Filesystem given, called in /var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php on line 186 and defined

/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Generator/DoctrineCrudGenerator.php:41
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php:186
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineCrudGeneratorTest.php:141

7) Sensio\Bundle\GeneratorBundle\Tests\Generator\DoctrineFormGeneratorTest::testGenerate
Argument 1 passed to Sensio\Bundle\GeneratorBundle\Generator\DoctrineFormGenerator::__construct() must be an instance of Symfony\Component\Filesystem\Filesystem, instance of Symfony\Component\HttpKernel\Util\Filesystem given, called in /var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineFormGeneratorTest.php on line 21 and defined

/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Generator/DoctrineFormGenerator.php:31
/var/www/ABMundi/vendor/bundles/Sensio/Bundle/GeneratorBundle/Tests/Generator/DoctrineFormGeneratorTest.php:21

FAILURES!
Tests: 75, Assertions: 231, Errors: 7.