1..129 # ->initialize() ok 1 - ->initialize() throws an sfInitializationException exception if you don't pass a database parameter # ->set() ->get() ->has() ok 2 - ->set() returns true if data are stored in cache ok 3 - ->get() retrieves data form the cache ok 4 - ->has() returns true if the cache exists ok 5 - ->set() takes a lifetime as its third argument ok 6 - ->get() returns the default value if cache has expired ok 7 - ->has() returns true if the cache exists ok 8 - ->get() returns null if the cache does not exist ok 9 - ->get() takes a default value as its second argument ok 10 - ->has() returns false if the cache does not exist ok 11 - ->set() overrides previous data stored in the cache ok 12 - ->get() retrieves the latest data form the cache ok 13 - ->set() false data are stored in the cache ok 14 - ->has() returns true if the cache exists with false value ok 15 - ->get() retrieves the latest data form the cache ok 16 - ->get() does not return default value if false is stored ok 17 - ->set() accepts a namespaced cache key ok 18 - ->set() accepts a namespaced cache key ok 19 - ->set() accepts a namespaced cache key # ->clean() ok 20 - ->clean() cleans old cache key if given the sfCache::OLD argument ok 21 - ->clean() cleans old cache key if given the sfCache::OLD argument ok 22 - ->clean() cleans all cache key if given the sfCache::ALL argument ok 23 - ->clean() cleans all cache key if given the sfCache::ALL argument ok 24 - ->clean() cleans all cache key if given no argument ok 25 - ->clean() cleans all cache key if given no argument # ->remove() ok 26 - ->remove() takes a cache key as its first argument ok 27 - ->remove() takes a cache key as its first argument ok 28 - ->remove() takes a cache key as its first argument # ->removePattern() # *:bar:foo ok 29 - ->removePattern() takes a pattern as its first argument ok 30 - ->removePattern() takes a pattern as its first argument ok 31 - ->removePattern() takes a pattern as its first argument ok 32 - ->removePattern() takes a pattern as its first argument # foo:bar:* ok 33 - ->removePattern() takes a pattern as its first argument ok 34 - ->removePattern() takes a pattern as its first argument ok 35 - ->removePattern() takes a pattern as its first argument ok 36 - ->removePattern() takes a pattern as its first argument # foo:**:foo ok 37 - ->removePattern() takes a pattern as its first argument ok 38 - ->removePattern() takes a pattern as its first argument ok 39 - ->removePattern() takes a pattern as its first argument ok 40 - ->removePattern() takes a pattern as its first argument # foo:bar:** ok 41 - ->removePattern() takes a pattern as its first argument ok 42 - ->removePattern() takes a pattern as its first argument ok 43 - ->removePattern() takes a pattern as its first argument ok 44 - ->removePattern() takes a pattern as its first argument # **:bar ok 45 - ->removePattern() takes a pattern as its first argument ok 46 - ->removePattern() takes a pattern as its first argument ok 47 - ->removePattern() takes a pattern as its first argument ok 48 - ->removePattern() takes a pattern as its first argument # ** ok 49 - ->removePattern() takes a pattern as its first argument ok 50 - ->removePattern() takes a pattern as its first argument ok 51 - ->removePattern() takes a pattern as its first argument ok 52 - ->removePattern() takes a pattern as its first argument # ->getTimeout() ok 53 - ->getTimeout() returns the timeout time for a given cache key ok 54 - ->getTimeout() returns the timeout time for a given cache key ok 55 - ->getTimeout() returns the timeout time for a given cache key ok 56 - ->getTimeout() returns the timeout time for a given cache key ok 57 - ->getTimeout() returns the timeout time for a given cache key ok 58 - ->getTimeout() returns 0 if the cache key does not exist # ->getLastModified() ok 59 - ->getLastModified() returns the last modified time for a given cache key ok 60 - ->getLastModified() returns the last modified time for a given cache key ok 61 - ->getLastModified() returns the last modified time for a given cache key ok 62 - ->getLastModified() returns the last modified time for a given cache key ok 63 - ->getLastModified() returns the last modified time for a given cache key ok 64 - ->getLastModified() returns 0 if the cache key does not exist # ->getMany() ok 65 - ->getMany() gets many keys in one call # ->set() ->get() ->has() ok 66 - ->set() returns true if data are stored in cache ok 67 - ->get() retrieves data form the cache ok 68 - ->has() returns true if the cache exists ok 69 - ->set() takes a lifetime as its third argument ok 70 - ->get() returns the default value if cache has expired ok 71 - ->has() returns true if the cache exists ok 72 - ->get() returns null if the cache does not exist ok 73 - ->get() takes a default value as its second argument ok 74 - ->has() returns false if the cache does not exist ok 75 - ->set() overrides previous data stored in the cache ok 76 - ->get() retrieves the latest data form the cache ok 77 - ->set() false data are stored in the cache ok 78 - ->has() returns true if the cache exists with false value ok 79 - ->get() retrieves the latest data form the cache ok 80 - ->get() does not return default value if false is stored ok 81 - ->set() accepts a namespaced cache key ok 82 - ->set() accepts a namespaced cache key ok 83 - ->set() accepts a namespaced cache key # ->clean() ok 84 - ->clean() cleans old cache key if given the sfCache::OLD argument ok 85 - ->clean() cleans old cache key if given the sfCache::OLD argument ok 86 - ->clean() cleans all cache key if given the sfCache::ALL argument ok 87 - ->clean() cleans all cache key if given the sfCache::ALL argument ok 88 - ->clean() cleans all cache key if given no argument ok 89 - ->clean() cleans all cache key if given no argument # ->remove() ok 90 - ->remove() takes a cache key as its first argument ok 91 - ->remove() takes a cache key as its first argument ok 92 - ->remove() takes a cache key as its first argument # ->removePattern() # *:bar:foo ok 93 - ->removePattern() takes a pattern as its first argument ok 94 - ->removePattern() takes a pattern as its first argument ok 95 - ->removePattern() takes a pattern as its first argument ok 96 - ->removePattern() takes a pattern as its first argument # foo:bar:* ok 97 - ->removePattern() takes a pattern as its first argument ok 98 - ->removePattern() takes a pattern as its first argument ok 99 - ->removePattern() takes a pattern as its first argument ok 100 - ->removePattern() takes a pattern as its first argument # foo:**:foo ok 101 - ->removePattern() takes a pattern as its first argument ok 102 - ->removePattern() takes a pattern as its first argument ok 103 - ->removePattern() takes a pattern as its first argument ok 104 - ->removePattern() takes a pattern as its first argument # foo:bar:** ok 105 - ->removePattern() takes a pattern as its first argument ok 106 - ->removePattern() takes a pattern as its first argument ok 107 - ->removePattern() takes a pattern as its first argument ok 108 - ->removePattern() takes a pattern as its first argument # **:bar ok 109 - ->removePattern() takes a pattern as its first argument ok 110 - ->removePattern() takes a pattern as its first argument ok 111 - ->removePattern() takes a pattern as its first argument ok 112 - ->removePattern() takes a pattern as its first argument # ** ok 113 - ->removePattern() takes a pattern as its first argument ok 114 - ->removePattern() takes a pattern as its first argument ok 115 - ->removePattern() takes a pattern as its first argument ok 116 - ->removePattern() takes a pattern as its first argument # ->getTimeout() ok 117 - ->getTimeout() returns the timeout time for a given cache key ok 118 - ->getTimeout() returns the timeout time for a given cache key ok 119 - ->getTimeout() returns the timeout time for a given cache key ok 120 - ->getTimeout() returns the timeout time for a given cache key ok 121 - ->getTimeout() returns the timeout time for a given cache key ok 122 - ->getTimeout() returns 0 if the cache key does not exist # ->getLastModified() ok 123 - ->getLastModified() returns the last modified time for a given cache key ok 124 - ->getLastModified() returns the last modified time for a given cache key ok 125 - ->getLastModified() returns the last modified time for a given cache key ok 126 - ->getLastModified() returns the last modified time for a given cache key ok 127 - ->getLastModified() returns the last modified time for a given cache key ok 128 - ->getLastModified() returns 0 if the cache key does not exist # ->getMany() ok 129 - ->getMany() gets many keys in one call # Looks like everything went fine.