1..39
# ->initialize()
ok 1 - ->initialize() takes a sfCache object as its second argument
# ->generateCacheKey
ok 2 - ->generateCacheKey() creates a simple cache key from an internal URI
ok 3 - ->generateCacheKey() can take a hostName as second parameter
ok 4 - ->generateCacheKey() can take a serialized set of vary headers as third parameter
ok 5 - ->generateCacheKey() includes request parameters as key/value pairs
ok 6 - ->generateCacheKey() reorders request parameters alphabetically
ok 7 - ->generateCacheKey() throws an sfException when passed an internal URI with a rule
ok 8 - ->generateCacheKey() does not throw an sfException when passed an internal URI with a @sf_cache_partial rule
Notice: Undefined index: module in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\view\sfViewCacheManager.class.php on line 381
Notice: Undefined index: module in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\view\sfViewCacheManager.class.php on line 384
Notice: Undefined index: action in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\view\sfViewCacheManager.class.php on line 384
Notice: Undefined index: module in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\view\sfViewCacheManager.class.php on line 388
ok 9 - ->generateCacheKey() throws an sfException when passed an internal URI with a @sf_cache_partial rule with no module or action param
ok 10 - ->generateCacheKey() can deal with internal URIs to partials
ok 11 - ->generateCacheKey() can deal with internal URIs to contextual partials
ok 12 - ->generateCacheKey() can take a prefix for contextual partials as fourth parameter
ok 13 - ->generateCacheKey() creates a directory friendly vary cache key
# ->generateNamespace()
# ->addCache()
ok 14 - ->addCache() register a cache configuration for an action
ok 15 - ->addCache() register a cache configuration for an action
# ->set()
ok 16 - ->set() returns false if the action is not cacheable
ok 17 - ->set() returns true if the action is cacheable
ok 18 - ->set() stores the first parameter in a key computed from the second parameter
ok 19 - ->set() works with URIs with parameters
ok 20 - ->set() stores a different version for each set of parameters
ok 21 - ->set() stores a different version for each set of parameters
ok 22 - ->set() accepts keys to partials
ok 23 - ->set() accepts keys to contextual partials
# ->get()
ok 24 - ->get() returns null if the action is not cacheable
ok 25 - ->get() returns the saved content if the action is cacheable
# ->has()
ok 26 - ->has() returns false if the action is not cacheable
ok 27 - ->has() returns the cache does not exist for the action
ok 28 - ->get() returns true if the action is in cache
# ->remove()
ok 29 - ->remove() removes cache content for an action
ok 30 - ->remove() removes accepts an internal URI as first parameter
ok 31 - ->remove() does not remove cache content for keys not matching the internal URI
ok 32 - ->remove() accepts wildcards in URIs and then removes all keys matching the pattern
ok 33 - ->remove() accepts wildcards in URIs and then removes all keys matching the pattern
ok 34 - ->remove() accepts wildcards in URIs and lets keys not matching the pattern unchanged
# Cache key generation options
ok 35 - ->generateCacheKey() uses cache_key_use_vary_headers option to know if vary headers changes cache key.
ok 36 - ->generateCacheKey() uses cache_key_use_host_name option to know if vary headers changes cache key.
ok 37 - ->generateCacheKey() allows the use of both cache_key_use_host_name and cache_key_use_vary_headers options.
# ->getCurrentCacheKey()
ok 38 - ->getCurrentCacheKey() appends GET parameters to an existing query string
ok 39 - ->getCurrentCacheKey() adds a query string of GET parameters if none is there
# Looks like everything went fine.