Kaynağa Gözat

simplified unit tests

Fabien Potencier 15 yıl önce
ebeveyn
işleme
fc2f508c15
64 değiştirilmiş dosya ile 1 ekleme ve 125 silme
  1. 1 0
      phpunit.xml
  2. 0 2
      tests/Symfony/Tests/Components/Console/ApplicationTest.php
  3. 0 2
      tests/Symfony/Tests/Components/Console/Command/CommandTest.php
  4. 0 2
      tests/Symfony/Tests/Components/Console/Command/HelpCommandTest.php
  5. 0 2
      tests/Symfony/Tests/Components/Console/Command/ListCommandTest.php
  6. 0 2
      tests/Symfony/Tests/Components/Console/Helper/FormatterHelperTest.php
  7. 0 2
      tests/Symfony/Tests/Components/Console/Input/ArgvInputTest.php
  8. 0 2
      tests/Symfony/Tests/Components/Console/Input/ArrayInputTest.php
  9. 0 2
      tests/Symfony/Tests/Components/Console/Input/InputArgumentTest.php
  10. 0 2
      tests/Symfony/Tests/Components/Console/Input/InputDefinitionTest.php
  11. 0 2
      tests/Symfony/Tests/Components/Console/Input/InputOptionTest.php
  12. 0 2
      tests/Symfony/Tests/Components/Console/Input/InputTest.php
  13. 0 2
      tests/Symfony/Tests/Components/Console/Input/StringInputTest.php
  14. 0 2
      tests/Symfony/Tests/Components/Console/Output/ConsoleOutputTest.php
  15. 0 2
      tests/Symfony/Tests/Components/Console/Output/NullOutputTest.php
  16. 0 2
      tests/Symfony/Tests/Components/Console/Output/OutputTest.php
  17. 0 2
      tests/Symfony/Tests/Components/Console/Output/StreamOutputTest.php
  18. 0 2
      tests/Symfony/Tests/Components/Console/Tester/ApplicationTesterTest.php
  19. 0 2
      tests/Symfony/Tests/Components/Console/Tester/CommandTesterTest.php
  20. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/BuilderConfigurationTest.php
  21. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/BuilderTest.php
  22. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/ContainerTest.php
  23. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/CrossCheckTest.php
  24. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/DefinitionTest.php
  25. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Dumper/DumperTest.php
  26. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Dumper/GraphvizDumperTest.php
  27. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Dumper/PhpDumperTest.php
  28. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Dumper/XmlDumperTest.php
  29. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Dumper/YamlDumperTest.php
  30. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/FileResourceTest.php
  31. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Loader/FileLoaderTest.php
  32. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Loader/IniFileLoaderTest.php
  33. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Loader/LoaderExtensionTest.php
  34. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Loader/LoaderTest.php
  35. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Loader/XmlFileLoaderTest.php
  36. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/Loader/YamlFileLoaderTest.php
  37. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/ParameterTest.php
  38. 0 2
      tests/Symfony/Tests/Components/DependencyInjection/ReferenceTest.php
  39. 0 2
      tests/Symfony/Tests/Components/EventDispatcher/EventDispatcherTest.php
  40. 0 2
      tests/Symfony/Tests/Components/EventDispatcher/EventTest.php
  41. 0 2
      tests/Symfony/Tests/Components/OutputEscaper/ArrayDecoratorTest.php
  42. 0 2
      tests/Symfony/Tests/Components/OutputEscaper/EscaperTest.php
  43. 0 2
      tests/Symfony/Tests/Components/OutputEscaper/ObjectDecoratorTest.php
  44. 0 2
      tests/Symfony/Tests/Components/OutputEscaper/SafeDecoratorTest.php
  45. 0 2
      tests/Symfony/Tests/Components/RequestHandler/RequestTest.php
  46. 0 2
      tests/Symfony/Tests/Components/Templating/EngineTest.php
  47. 0 2
      tests/Symfony/Tests/Components/Templating/Helper/AssetsTest.php
  48. 0 2
      tests/Symfony/Tests/Components/Templating/Helper/HelperTest.php
  49. 0 2
      tests/Symfony/Tests/Components/Templating/Helper/JavascriptsHelperTest.php
  50. 0 2
      tests/Symfony/Tests/Components/Templating/Helper/SlotsHelperTest.php
  51. 0 2
      tests/Symfony/Tests/Components/Templating/Helper/StylesheetsHelperTest.php
  52. 0 2
      tests/Symfony/Tests/Components/Templating/Loader/CacheLoaderTest.php
  53. 0 2
      tests/Symfony/Tests/Components/Templating/Loader/ChainLoaderTest.php
  54. 0 2
      tests/Symfony/Tests/Components/Templating/Loader/FilesystemLoaderTest.php
  55. 0 2
      tests/Symfony/Tests/Components/Templating/Loader/LoaderTest.php
  56. 0 2
      tests/Symfony/Tests/Components/Templating/Renderer/PhpRendererTest.php
  57. 0 2
      tests/Symfony/Tests/Components/Templating/Renderer/RendererTest.php
  58. 0 2
      tests/Symfony/Tests/Components/Templating/Storage/FileStorageTest.php
  59. 0 2
      tests/Symfony/Tests/Components/Templating/Storage/StorageTest.php
  60. 0 2
      tests/Symfony/Tests/Components/Templating/Storage/StringStorageTest.php
  61. 0 2
      tests/Symfony/Tests/Components/Yaml/DumperTest.php
  62. 0 2
      tests/Symfony/Tests/Components/Yaml/InlineTest.php
  63. 0 2
      tests/Symfony/Tests/Components/Yaml/ParserTest.php
  64. 0 1
      tests/Symfony/Tests/bootstrap.php

+ 1 - 0
phpunit.xml

@@ -9,6 +9,7 @@
          processIsolation="false"
          stopOnFailure="false"
          syntaxCheck="false"
+         bootstrap="tests/Symfony/Tests/bootstrap.php"
 >
   <testsuites>
     <testsuite name="Symfony Test Suite">

+ 0 - 2
tests/Symfony/Tests/Components/Console/ApplicationTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\Console\Application;
 use Symfony\Components\Console\Input\ArrayInput;
 use Symfony\Components\Console\Output\Output;

+ 0 - 2
tests/Symfony/Tests/Components/Console/Command/CommandTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Command;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Command\Command;
 use Symfony\Components\Console\Application;
 use Symfony\Components\Console\Input\InputDefinition;

+ 0 - 2
tests/Symfony/Tests/Components/Console/Command/HelpCommandTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Command;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Tester\CommandTester;
 use Symfony\Components\Console\Command\HelpCommand;
 use Symfony\Components\Console\Command\ListCommand;

+ 0 - 2
tests/Symfony/Tests/Components/Console/Command/ListCommandTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Command;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Tester\CommandTester;
 use Symfony\Components\Console\Application;
 

+ 0 - 2
tests/Symfony/Tests/Components/Console/Helper/FormatterHelperTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Formatter;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Helper\FormatterHelper;
 
 class FormatterHelperTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/Console/Input/ArgvInputTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Input;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Input\ArgvInput;
 use Symfony\Components\Console\Input\InputDefinition;
 use Symfony\Components\Console\Input\InputArgument;

+ 0 - 2
tests/Symfony/Tests/Components/Console/Input/ArrayInputTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Input;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Input\ArrayInput;
 use Symfony\Components\Console\Input\InputDefinition;
 use Symfony\Components\Console\Input\InputArgument;

+ 0 - 2
tests/Symfony/Tests/Components/Console/Input/InputArgumentTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Input;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Input\InputArgument;
 use Symfony\Components\Console\Exception;
 

+ 0 - 2
tests/Symfony/Tests/Components/Console/Input/InputDefinitionTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Input;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Input\InputDefinition;
 use Symfony\Components\Console\Input\InputArgument;
 use Symfony\Components\Console\Input\InputOption;

+ 0 - 2
tests/Symfony/Tests/Components/Console/Input/InputOptionTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Input;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Input\InputOption;
 use Symfony\Components\Console\Exception;
 

+ 0 - 2
tests/Symfony/Tests/Components/Console/Input/InputTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Input;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Input\ArrayInput;
 use Symfony\Components\Console\Input\InputDefinition;
 use Symfony\Components\Console\Input\InputArgument;

+ 0 - 2
tests/Symfony/Tests/Components/Console/Input/StringInputTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Input;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Input\StringInput;
 
 class StringInputTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/Console/Output/ConsoleOutputTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Output;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Output\ConsoleOutput;
 use Symfony\Components\Console\Output\Output;
 

+ 0 - 2
tests/Symfony/Tests/Components/Console/Output/NullOutputTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Output;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Output\NullOutput;
 
 class NullOutputTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/Console/Output/OutputTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Output;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Output\Output;
 
 class OutputTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/Console/Output/StreamOutputTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Output;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Output\Output;
 use Symfony\Components\Console\Output\StreamOutput;
 

+ 0 - 2
tests/Symfony/Tests/Components/Console/Tester/ApplicationTesterTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Tester;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Application;
 use Symfony\Components\Console\Output\Output;
 use Symfony\Components\Console\Tester\ApplicationTester;

+ 0 - 2
tests/Symfony/Tests/Components/Console/Tester/CommandTesterTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\Console\Tester;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Console\Command\Command;
 use Symfony\Components\Console\Output\Output;
 use Symfony\Components\Console\Tester\CommandTester;

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/BuilderConfigurationTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\BuilderConfiguration;
 use Symfony\Components\DependencyInjection\Definition;

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/BuilderTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\BuilderConfiguration;
 use Symfony\Components\DependencyInjection\Definition;

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/ContainerTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Container;
 
 class ContainerTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/CrossCheckTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 
 class CrossCheckTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/DefinitionTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Definition;
 
 class DefinitionTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Dumper/DumperTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Dumper;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\Dumper\Dumper;
 

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Dumper/GraphvizDumperTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Dumper;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\Dumper\GraphvizDumper;
 

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Dumper/PhpDumperTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Dumper;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\Dumper\PhpDumper;
 

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Dumper/XmlDumperTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Dumper;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\Dumper\XmlDumper;
 

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Dumper/YamlDumperTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Dumper;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\Dumper\YamlDumper;
 

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/FileResourceTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\FileResource;
 
 class FileResourceTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Loader/FileLoaderTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Loader;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\Loader\FileLoader;
 

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Loader/IniFileLoaderTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Loader;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\Loader\IniFileLoader;
 

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Loader/LoaderExtensionTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Loader;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 require_once __DIR__.'/../../../../../fixtures/Symfony/Components/DependencyInjection/includes/ProjectExtension.php';
 
 class LoaderExtensionTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Loader/LoaderTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Loader;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 require_once __DIR__.'/../../../../../fixtures/Symfony/Components/DependencyInjection/includes/ProjectExtension.php';
 
 use Symfony\Components\DependencyInjection\Loader\Loader;

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Loader/XmlFileLoaderTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Loader;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\Reference;
 use Symfony\Components\DependencyInjection\Definition;

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/Loader/YamlFileLoaderTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection\Loader;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Builder;
 use Symfony\Components\DependencyInjection\Reference;
 use Symfony\Components\DependencyInjection\Definition;

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/ParameterTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Parameter;
 
 class ParameterTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/DependencyInjection/ReferenceTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\DependencyInjection;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\DependencyInjection\Reference;
 
 class ReferenceTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/EventDispatcher/EventDispatcherTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\EventDispatcher;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\EventDispatcher\Event;
 use Symfony\Components\EventDispatcher\EventDispatcher;
 

+ 0 - 2
tests/Symfony/Tests/Components/EventDispatcher/EventTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\EventDispatcher;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\EventDispatcher\Event;
 
 class EventTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/OutputEscaper/ArrayDecoratorTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\OutputEscaper;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\OutputEscaper\Escaper;
 
 class ArrayDecoratorTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/OutputEscaper/EscaperTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\OutputEscaper;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\OutputEscaper\Escaper;
 use Symfony\Components\OutputEscaper\SafeDecorator;
 use Symfony\Components\OutputEscaper\IteratorDecorator;

+ 0 - 2
tests/Symfony/Tests/Components/OutputEscaper/ObjectDecoratorTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\OutputEscaper;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\OutputEscaper\Escaper;
 
 class ObjectDecoratorTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/OutputEscaper/SafeDecoratorTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\OutputEscaper;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\OutputEscaper\SafeDecorator;
 
 class SafeDecoratorTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/RequestHandler/RequestTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\RequestHandler;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\RequestHandler\Request;
 
 class RequestTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/Templating/EngineTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 require_once __DIR__.'/../../../../lib/SymfonyTests/Components/Templating/SimpleHelper.php';
 
 use Symfony\Components\Templating\Engine;

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Helper/AssetsTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Helper;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Templating\Helper\AssetsHelper;
 
 class AssetsHelperTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Helper/HelperTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Helper;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Templating\Helper\Helper;
 
 class HelperTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Helper/JavascriptsHelperTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Helper;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Templating\Helper\AssetsHelper;
 use Symfony\Components\Templating\Helper\JavascriptsHelper;
 use Symfony\Components\Templating\Loader\FilesystemLoader;

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Helper/SlotsHelperTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Helper;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Templating\Helper\SlotsHelper;
 
 class SlotsHelperTest extends \PHPUnit_Framework_TestCase

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Helper/StylesheetsHelperTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Helper;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Templating\Helper\AssetsHelper;
 use Symfony\Components\Templating\Helper\StylesheetsHelper;
 use Symfony\Components\Templating\Loader\FilesystemLoader;

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Loader/CacheLoaderTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Loader;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 require_once __DIR__.'/../../../../../lib/SymfonyTests/Components/Templating/ProjectTemplateDebugger.php';
 
 use Symfony\Components\Templating\Loader\Loader;

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Loader/ChainLoaderTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Loader;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 require_once __DIR__.'/../../../../../lib/SymfonyTests/Components/Templating/ProjectTemplateDebugger.php';
 
 use Symfony\Components\Templating\Loader\ChainLoader;

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Loader/FilesystemLoaderTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Loader;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 require_once __DIR__.'/../../../../../lib/SymfonyTests/Components/Templating/ProjectTemplateDebugger.php';
 
 use Symfony\Components\Templating\Loader\FilesystemLoader;

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Loader/LoaderTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Loader;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 require_once __DIR__.'/../../../../../lib/SymfonyTests/Components/Templating/ProjectTemplateDebugger.php';
 
 use Symfony\Components\Templating\Loader\Loader;

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Renderer/PhpRendererTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Renderer;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Templating\Renderer\PhpRenderer;
 use Symfony\Components\Templating\Storage\Storage;
 use Symfony\Components\Templating\Storage\StringStorage;

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Renderer/RendererTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Renderer;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 require_once __DIR__.'/../../../../../lib/SymfonyTests/Components/Templating/SimpleHelper.php';
 
 use Symfony\Components\Templating\Engine;

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Storage/FileStorageTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Storage;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Templating\Storage\Storage;
 use Symfony\Components\Templating\Storage\FileStorage;
 

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Storage/StorageTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Storage;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Templating\Storage\Storage;
 use Symfony\Components\Templating\Renderer\PhpRenderer;
 

+ 0 - 2
tests/Symfony/Tests/Components/Templating/Storage/StringStorageTest.php

@@ -11,8 +11,6 @@
 
 namespace Symfony\Tests\Components\Templating\Storage;
 
-require_once __DIR__.'/../../../bootstrap.php';
-
 use Symfony\Components\Templating\Storage\Storage;
 use Symfony\Components\Templating\Storage\StringStorage;
 

+ 0 - 2
tests/Symfony/Tests/Components/Yaml/DumperTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\OutputEscaper;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\Yaml\Yaml;
 use Symfony\Components\Yaml\Parser;
 use Symfony\Components\Yaml\Dumper;

+ 0 - 2
tests/Symfony/Tests/Components/Yaml/InlineTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\OutputEscaper;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\Yaml\Yaml;
 use Symfony\Components\Yaml\Inline;
 

+ 0 - 2
tests/Symfony/Tests/Components/Yaml/ParserTest.php

@@ -10,8 +10,6 @@
 
 namespace Symfony\Tests\Components\OutputEscaper;
 
-require_once __DIR__.'/../../bootstrap.php';
-
 use Symfony\Components\Yaml\Yaml;
 use Symfony\Components\Yaml\Parser;
 use Symfony\Components\Yaml\ParserException;

+ 0 - 1
tests/Symfony/Tests/bootstrap.php

@@ -10,7 +10,6 @@
  */
 
 require_once __DIR__.'/../../../src/Symfony/Foundation/UniversalClassLoader.php';
-require_once 'PHPUnit/Framework.php';
 
 $loader = new Symfony\Foundation\UniversalClassLoader();
 $loader->registerNamespace('Symfony', __DIR__.'/../../../src');