This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier dab9dea633 merged branch asm89/fix-component-testsuites (PR #4602)
Commits
-------

441c098 [HttpKernel] Remove unneeded test class (suggestion by @stof)
e49b714 [Routing] Fix component 'standalone' testsuite
0b0fe74 [HttpKernel] Fix component 'standalone' testsuite
8ff2838 [Form] Fix component 'standalone' testsuite

Discussion
----------

Fix component testsuites

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: [![Build Status](https://secure.travis-ci.org/asm89/symfony.png?branch=fix-component-testsuites)](http://travis-ci.org/asm89/symfony)
License of the code: MIT

The testsuites of some components would crash when running them seperately (from their own directory for example). This PR fixes that by skipping some additional tests if dependencies for the test aren't met. In the case of `HttpKernel` there was also a helper class in `KernelTest` that is now moved to it's own file. This was needed because the class implemented the `BundleInterface`, which depends on the `DependencyInjection` component. The autoloader would then crash the complete test suite.

I sent this PR to the `master` branch since the tests have been moved and splitted some while ago, before it wasn't really possible to have this situation. If for maintainability reasons it should still be send to the 2.0 branch, let me know!

---------------------------------------------------------------------------

by travisbot at 2012-06-18T08:25:58Z

This pull request [fails](http://travis-ci.org/symfony/symfony/builds/1645386) (merged f9b8ea82 into 0b8b76bf).

---------------------------------------------------------------------------

by travisbot at 2012-06-18T08:46:33Z

This pull request [fails](http://travis-ci.org/symfony/symfony/builds/1645448) (merged 441c0983 into 0b8b76bf).
2012-06-18 14:02:55 +02:00
..
BrowserKit Revert "merged branch jfsimon/issue-4475 (PR #4497)" 2012-06-09 21:38:22 +02:00
ClassLoader fixed CS 2012-05-21 16:06:09 +02:00
Config [Routing] fix phpDoc 2012-06-10 21:30:17 +02:00
Console [Console] reduced visibility to protected 2012-06-08 14:18:51 -07:00
CssSelector merged 2.0 2012-05-20 18:16:37 +02:00
DependencyInjection changed getName() to name on all Reflection* object calls (fixes #4555, refs https://bugs.php.net/bug.php?id=61384) 2012-06-12 14:23:19 +02:00
DomCrawler fixed CS 2012-05-21 22:27:15 +02:00
EventDispatcher Fixing email 2012-05-26 09:48:33 +02:00
Filesystem [Filesystem] added exists method 2012-06-16 14:10:34 +02:00
Finder fixed CS 2012-05-21 22:27:15 +02:00
Form [Form] Fix component 'standalone' testsuite 2012-06-18 10:32:28 +02:00
HttpFoundation [HttpFoundation] fixed StreamedResponse with HEAD as a method (closes #4502) 2012-06-13 16:21:50 +02:00
HttpKernel [HttpKernel] Remove unneeded test class (suggestion by @stof) 2012-06-18 10:36:28 +02:00
Locale MethodNotImplementedException -> MethodArgumentValueNotImplementedException 2012-05-31 05:04:03 +02:00
OptionsResolver changed getName() to name on all Reflection* object calls (fixes #4555, refs https://bugs.php.net/bug.php?id=61384) 2012-06-12 14:23:19 +02:00
Process [Process] Refactor the windows handling so it is always executed 2012-05-24 19:53:48 +02:00
Routing [Routing] Fix component 'standalone' testsuite 2012-06-18 10:32:28 +02:00
Security [Security] Fix retrieval of encoder when configured for concrete classes 2012-06-18 12:01:09 +02:00
Serializer changed getName() to name on all Reflection* object calls (fixes #4555, refs https://bugs.php.net/bug.php?id=61384) 2012-06-12 14:23:19 +02:00
Templating merged 2.0 2012-05-27 12:30:27 +02:00
Translation fixed CS 2012-05-21 22:27:15 +02:00
Validator moved validator translation files to the Form and Validator components to make them reusable (closes #4588) 2012-06-16 13:31:07 +02:00
Yaml [Yaml] fixed string parsing (closes #4561) 2012-06-13 14:57:32 +02:00