test.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" ?>
  2. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <parameters>
  6. <parameter key="test.client.class">Symfony\Bundle\FrameworkBundle\Client</parameter>
  7. <parameter key="test.client.parameters" type="collection"></parameter>
  8. <parameter key="test.client.history.class">Symfony\Component\BrowserKit\History</parameter>
  9. <parameter key="test.client.cookiejar.class">Symfony\Component\BrowserKit\CookieJar</parameter>
  10. <parameter key="test.session.listener.class">Symfony\Bundle\FrameworkBundle\EventListener\TestSessionListener</parameter>
  11. </parameters>
  12. <services>
  13. <service id="test.client" class="%test.client.class%" shared="false">
  14. <argument type="service" id="kernel" />
  15. <argument>%test.client.parameters%</argument>
  16. <argument type="service" id="test.client.history" />
  17. <argument type="service" id="test.client.cookiejar" />
  18. </service>
  19. <service id="test.client.history" class="%test.client.history.class%" shared="false" />
  20. <service id="test.client.cookiejar" class="%test.client.cookiejar.class%" shared="false" />
  21. <service id="test.session.listener" class="%test.session.listener.class%">
  22. <argument type="service" id="service_container" />
  23. <tag name="kernel.event_subscriber" />
  24. </service>
  25. </services>
  26. </container>