1..29
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/dw_public_consult/lib/vendor/symfony/lib/request/sfWebRequest.class.php on line 78
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/dw_public_consult/lib/vendor/symfony/lib/request/sfWebRequest.class.php on line 151
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/dw_public_consult/lib/vendor/symfony/lib/request/sfWebRequest.class.php on line 78
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/dw_public_consult/lib/vendor/symfony/lib/request/sfWebRequest.class.php on line 151
# ::getInstance()
ok 1 - ::createInstance() takes an application configuration and returns application context instance
ok 2 - ::createInstance() creates application name context instance
ok 3 - ::getInstance() returns the named context if it already exists
# ::switchTo()
ok 4 - ::switchTo() changes the default context instance returned by ::getInstance()
ok 5 - ::switchTo() changes the default context instance returned by ::getInstance()
# ->get() ->set() ->has()
ok 6 - ->has() returns false if no object of the given name exist
ok 7 - ->has() returns true if an object is stored for the given name
ok 8 - ->get() returns the object associated with the given name
ok 9 - ->get() throws an sfException if no object is stored for the given name
# Array access for context objects
ok 10 - ->offsetExists() returns true if context object exists
ok 11 - ->offsetExists() returns false if context object does not exist
ok 12 - ->offsetGet() returns attribute by name
ok 13 - ->offsetSet() sets object by name
ok 14 - ->offsetUnset() unsets object by name
# ->__call()
ok 15 - ->__call() sets context objects by name using setName()
ok 16 - ->__call() returns context objects by name using getName()
ok 17 - ->__call() throws an sfException if factory / method does not exist
# ->getServiceContainer() test
ok 18 - ->getServiceContainer() creates a cache file in /cache/frontend/test/config
ok 19 - ->getServiceContainer() creates and loads the frontend_testServiceContainer class
ok 20 - ->getServiceContainer() returns an instance of frontend_testServiceContainer
ok 21 - ->getServiceContainer() contains app/config/service.yml services
ok 22 - ->getServiceContainer() contains /config/service.yml services
ok 23 - ->getServiceContainer() contains plugin/config/service.yml services
ok 24 - ->getServiceContainer() sfConfig parameters are accessibles
ok 25 - ->getServiceContainer() contains env specifiv parameters
# ->getServiceContainer() prod
ok 26 - ->getServiceContainer() creates a cache file in /cache/frontend/prod/config
ok 27 - ->getServiceContainer() creates and loads the frontend_prodServiceContainer class
ok 28 - ->getServiceContainer() returns an instance of frontend_prodServiceContainer
ok 29 - ->getServiceContainer() does not contain other env specifiv parameters
# Looks like everything went fine.