selfcontained/cashbox

2013-11-18 05:37:15
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
2013-11-18 05:34:43
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
2013-11-18 05:31:20
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
2013-11-18 05:29:10
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
2013-11-18 05:27:42
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
2013-11-18 05:18:06
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
2013-11-18 05:15:40
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
2013-11-18 05:07:39
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache memory store should allow a store Constructor ok 2 Memory Cache memory store should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
2013-11-18 01:21:31
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
2013-11-18 01:18:38
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
1..52 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 9 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 11 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 12 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 13 Memory Cache mget() should set 2 values, and return both in the same order ok 14 Memory Cache mget() should handle a load function for missing values ok 15 Memory Cache mget() should handle a load function and a ttl for missing values ok 16 Memory Cache mget() should handle a load function and a string ttl for missing values ok 17 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 18 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 19 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 20 Memory Cache get() called with an array should handle a load function for missing values ok 21 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 22 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 23 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 24 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 25 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 26 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 27 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 28 Memory Cache mset() should function without a callback ok 29 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 30 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 31 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 32 Memory Cache set() called with an array should function without a callback ok 33 Memory Cache expire() should return false when trying to expire non-existent keys ok 34 Memory Cache expire() should remove an existing key when no ttl is passed ok 35 Memory Cache expire() should change an existing keys expiration ok 36 Memory Cache expire() should function without a callback ok 37 Memory Cache tagging should allow getKeys() wit a single tag ok 38 Memory Cache tagging should tag 4 cache keys the same way ok 39 Memory Cache tagging should tag 4 cache keys differently ok 40 Memory Cache tagging should set one tag for one key via mset() ok 41 Memory Cache tagging should set one tag for one key via set() ok 42 Memory Cache tagging should set two tags for one key via mset() ok 43 Memory Cache tagging should set two tags for one key via set() ok 44 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 45 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 46 Memory Cache memory specific functionality should default to a memory store ok 47 Memory Cache memory specific functionality should set syncronously when using Memory store ok 48 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 49 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 50 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 51 Memory Cache memory specific functionality serialization should serialize by default ok 52 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 52 # pass 52 # fail 0
2013-11-18 01:10:18
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
2013-11-18 01:09:47
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
2013-11-18 01:04:16
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
2013-11-18 01:03:59
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
1..58 ok 1 Memory Cache % store memory should allow a store Constructor ok 2 Memory Cache % store memory should allow a store Object ok 3 Memory Cache set() and get() for memory should return undefined for misses ok 4 Memory Cache set() and get() for memory should set without a callback ok 5 Memory Cache set() and get() for memory should set a null value ok 6 Memory Cache set() and get() for memory should set a 0 value ok 7 Memory Cache set() and get() for memory should set a an empty string ok 8 Memory Cache set() and get() for memory should accept an object ok 9 Memory Cache set() and get() for memory without a ttl should set a value and get that value ok 10 Memory Cache set() and get() for memory with a ttl should set a value and get that value before expiration ok 11 Memory Cache set() and get() for memory with a ttl should set a value and get a miss for that value after expiration ok 12 Memory Cache set() and get() for memory with a load function should call the load function if there is a miss ok 13 Memory Cache set() and get() for memory with a load function should set the ttl with a load function ok 14 Memory Cache mget() should set 2 values, and return both in the same order ok 15 Memory Cache mget() should accept an object ok 16 Memory Cache mget() should accept an object with a string ttl ok 17 Memory Cache mget() should handle a load function for missing values ok 18 Memory Cache mget() should handle a load function and a ttl for missing values ok 19 Memory Cache mget() should handle a load function and a string ttl for missing values ok 20 Memory Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 21 Memory Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 22 Memory Cache get() called with an array should set 2 values, and return both in the same order ok 23 Memory Cache get() called with an array should accept an object ok 24 Memory Cache get() called with an array should accept an object with a string ttl ok 25 Memory Cache get() called with an array should handle a load function for missing values ok 26 Memory Cache get() called with an array should handle a load function and a ttl for missing values ok 27 Memory Cache get() called with an array should handle a load function and a string ttl for missing values ok 28 Memory Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 29 Memory Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 30 Memory Cache mset() should set multiple values, and then allow them to be retreived ok 31 Memory Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 32 Memory Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 33 Memory Cache mset() should function without a callback ok 34 Memory Cache set() called with an array should set multiple values, and then allow them to be retreived ok 35 Memory Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 36 Memory Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 37 Memory Cache set() called with an array should function without a callback ok 38 Memory Cache expire() should return false when trying to expire non-existent keys ok 39 Memory Cache expire() should remove an existing key when no ttl is passed ok 40 Memory Cache expire() should change an existing keys expiration ok 41 Memory Cache expire() should function without a callback ok 42 Memory Cache tagging should allow getKeys() wit a single tag ok 43 Memory Cache tagging should tag 4 cache keys the same way ok 44 Memory Cache tagging should tag 4 cache keys differently ok 45 Memory Cache tagging should have tagging capabilities on the load object for get() ok 46 Memory Cache tagging should set one tag for one key via mset() ok 47 Memory Cache tagging should set one tag for one key via set() ok 48 Memory Cache tagging should set two tags for one key via mset() ok 49 Memory Cache tagging should set two tags for one key via set() ok 50 Memory Cache tagging should set two tags for one key and one tag for another via mset() ok 51 Memory Cache tagging should set two tags for one key and one tag for another via set() ok 52 Memory Cache memory specific functionality should default to a memory store ok 53 Memory Cache memory specific functionality should set syncronously when using Memory store ok 54 Memory Cache memory specific functionality mset() should function syncronously when using Memory store ok 55 Memory Cache memory specific functionality set() should function syncronously when using Memory store ok 56 Memory Cache memory specific functionality should function syncronously when using the Memory store ok 57 Memory Cache memory specific functionality serialization should serialize by default ok 58 Memory Cache memory specific functionality serialization should not serialize when disabled # tests 58 # pass 58 # fail 0
2013-11-17 22:15:25
✓9.0
✓10.0
✓25.0
29.0
✓19.0
24.0
✓6.0
✓6.0
✓6.0
1..60 ok 1 Cache should default to a memory store ok 2 Cache should allow a store Constructor ok 3 Cache should allow a store Object ok 4 Cache set() and get() should return undefined for misses ok 5 Cache set() and get() should set without a callback ok 6 Cache set() and get() should set syncronously when using Memory store ok 7 Cache set() and get() should set a null value ok 8 Cache set() and get() should set a 0 value ok 9 Cache set() and get() should set a an empty string ok 10 Cache set() and get() should accept an object ok 11 Cache set() and get() should have tagging capabilities on the load object for get() ok 12 Cache set() and get() without a ttl should set a value and get that value ok 13 Cache set() and get() with a ttl should set a value and get that value before expiration ok 14 Cache set() and get() with a ttl should set a value and get a miss for that value after expiration ok 15 Cache set() and get() with a load function should call the load function if there is a miss ok 16 Cache set() and get() with a load function should set the ttl with a load function ok 17 Cache mget() should set 2 values, and return both in the same order ok 18 Cache mget() should accept an object ok 19 Cache mget() should accept an object with tagging capabilities (as an array) ok 20 Cache mget() should accept an object with a string ttl ok 21 Cache mget() should handle a load function for missing values ok 22 Cache mget() should handle a load function and a ttl for missing values ok 23 Cache mget() should handle a load function and a string ttl for missing values ok 24 Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 25 Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 26 Cache get() called with an array should set 2 values, and return both in the same order ok 27 Cache get() called with an array should accept an object ok 28 Cache get() called with an array should accept an object with tagging capabilities (as an array) ok 29 Cache get() called with an array should accept an object with a string ttl ok 30 Cache get() called with an array should handle a load function for missing values ok 31 Cache get() called with an array should handle a load function and a ttl for missing values ok 32 Cache get() called with an array should handle a load function and a string ttl for missing values ok 33 Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 34 Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 35 Cache mset() should set multiple values, and then allow them to be retreived ok 36 Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 37 Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 38 Cache mset() should set one tag for one key ok 39 Cache mset() should set two tags for one key ok 40 Cache mset() should set two tags for one key and one tag for another ok 41 Cache mset() should function without a callback ok 42 Cache mset() should function syncronously when using Memory store ok 43 Cache set() called with an array should set multiple values, and then allow them to be retreived ok 44 Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 45 Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 46 Cache set() called with an array should set one tag for one key ok 47 Cache set() called with an array should set two tags for one key ok 48 Cache set() called with an array should set two tags for one key and one tag for another ok 49 Cache set() called with an array should function without a callback ok 50 Cache set() called with an array should function syncronously when using Memory store ok 51 Cache expire() should return false when trying to expire non-existent keys ok 52 Cache expire() should remove an existing key when no ttl is passed ok 53 Cache expire() should change an existing keys expiration ok 54 Cache expire() should function without a callback ok 55 Cache expire() should function syncronously when using the Memory store ok 56 Cache serialization should serialize by default ok 57 Cache serialization should not serialize when disabled ok 58 Cache should allow getKeys() wit a single tag ok 59 Cache should tag 4 cache keys the same way ok 60 Cache should tag 4 cache keys differently # tests 60 # pass 60 # fail 0
1..60 ok 1 Cache should default to a memory store ok 2 Cache should allow a store Constructor ok 3 Cache should allow a store Object ok 4 Cache set() and get() should return undefined for misses ok 5 Cache set() and get() should set without a callback ok 6 Cache set() and get() should set syncronously when using Memory store ok 7 Cache set() and get() should set a null value ok 8 Cache set() and get() should set a 0 value ok 9 Cache set() and get() should set a an empty string ok 10 Cache set() and get() should accept an object ok 11 Cache set() and get() should have tagging capabilities on the load object for get() ok 12 Cache set() and get() without a ttl should set a value and get that value ok 13 Cache set() and get() with a ttl should set a value and get that value before expiration ok 14 Cache set() and get() with a ttl should set a value and get a miss for that value after expiration ok 15 Cache set() and get() with a load function should call the load function if there is a miss ok 16 Cache set() and get() with a load function should set the ttl with a load function ok 17 Cache mget() should set 2 values, and return both in the same order ok 18 Cache mget() should accept an object ok 19 Cache mget() should accept an object with tagging capabilities (as an array) ok 20 Cache mget() should accept an object with a string ttl ok 21 Cache mget() should handle a load function for missing values ok 22 Cache mget() should handle a load function and a ttl for missing values ok 23 Cache mget() should handle a load function and a string ttl for missing values ok 24 Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 25 Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 26 Cache get() called with an array should set 2 values, and return both in the same order ok 27 Cache get() called with an array should accept an object ok 28 Cache get() called with an array should accept an object with tagging capabilities (as an array) ok 29 Cache get() called with an array should accept an object with a string ttl ok 30 Cache get() called with an array should handle a load function for missing values ok 31 Cache get() called with an array should handle a load function and a ttl for missing values ok 32 Cache get() called with an array should handle a load function and a string ttl for missing values ok 33 Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 34 Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 35 Cache mset() should set multiple values, and then allow them to be retreived ok 36 Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 37 Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 38 Cache mset() should set one tag for one key ok 39 Cache mset() should set two tags for one key ok 40 Cache mset() should set two tags for one key and one tag for another ok 41 Cache mset() should function without a callback ok 42 Cache mset() should function syncronously when using Memory store ok 43 Cache set() called with an array should set multiple values, and then allow them to be retreived ok 44 Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 45 Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 46 Cache set() called with an array should set one tag for one key ok 47 Cache set() called with an array should set two tags for one key ok 48 Cache set() called with an array should set two tags for one key and one tag for another ok 49 Cache set() called with an array should function without a callback ok 50 Cache set() called with an array should function syncronously when using Memory store ok 51 Cache expire() should return false when trying to expire non-existent keys ok 52 Cache expire() should remove an existing key when no ttl is passed ok 53 Cache expire() should change an existing keys expiration ok 54 Cache expire() should function without a callback ok 55 Cache expire() should function syncronously when using the Memory store ok 56 Cache serialization should serialize by default ok 57 Cache serialization should not serialize when disabled ok 58 Cache should allow getKeys() wit a single tag ok 59 Cache should tag 4 cache keys the same way ok 60 Cache should tag 4 cache keys differently # tests 60 # pass 60 # fail 0
1..60 ok 1 Cache should default to a memory store ok 2 Cache should allow a store Constructor ok 3 Cache should allow a store Object ok 4 Cache set() and get() should return undefined for misses ok 5 Cache set() and get() should set without a callback ok 6 Cache set() and get() should set syncronously when using Memory store ok 7 Cache set() and get() should set a null value ok 8 Cache set() and get() should set a 0 value ok 9 Cache set() and get() should set a an empty string ok 10 Cache set() and get() should accept an object ok 11 Cache set() and get() should have tagging capabilities on the load object for get() ok 12 Cache set() and get() without a ttl should set a value and get that value ok 13 Cache set() and get() with a ttl should set a value and get that value before expiration ok 14 Cache set() and get() with a ttl should set a value and get a miss for that value after expiration ok 15 Cache set() and get() with a load function should call the load function if there is a miss ok 16 Cache set() and get() with a load function should set the ttl with a load function ok 17 Cache mget() should set 2 values, and return both in the same order ok 18 Cache mget() should accept an object ok 19 Cache mget() should accept an object with tagging capabilities (as an array) ok 20 Cache mget() should accept an object with a string ttl ok 21 Cache mget() should handle a load function for missing values ok 22 Cache mget() should handle a load function and a ttl for missing values ok 23 Cache mget() should handle a load function and a string ttl for missing values ok 24 Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 25 Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 26 Cache get() called with an array should set 2 values, and return both in the same order ok 27 Cache get() called with an array should accept an object ok 28 Cache get() called with an array should accept an object with tagging capabilities (as an array) ok 29 Cache get() called with an array should accept an object with a string ttl ok 30 Cache get() called with an array should handle a load function for missing values ok 31 Cache get() called with an array should handle a load function and a ttl for missing values ok 32 Cache get() called with an array should handle a load function and a string ttl for missing values ok 33 Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 34 Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 35 Cache mset() should set multiple values, and then allow them to be retreived ok 36 Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 37 Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 38 Cache mset() should set one tag for one key ok 39 Cache mset() should set two tags for one key ok 40 Cache mset() should set two tags for one key and one tag for another ok 41 Cache mset() should function without a callback ok 42 Cache mset() should function syncronously when using Memory store ok 43 Cache set() called with an array should set multiple values, and then allow them to be retreived ok 44 Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 45 Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 46 Cache set() called with an array should set one tag for one key ok 47 Cache set() called with an array should set two tags for one key ok 48 Cache set() called with an array should set two tags for one key and one tag for another ok 49 Cache set() called with an array should function without a callback ok 50 Cache set() called with an array should function syncronously when using Memory store ok 51 Cache expire() should return false when trying to expire non-existent keys ok 52 Cache expire() should remove an existing key when no ttl is passed ok 53 Cache expire() should change an existing keys expiration ok 54 Cache expire() should function without a callback ok 55 Cache expire() should function syncronously when using the Memory store ok 56 Cache serialization should serialize by default ok 57 Cache serialization should not serialize when disabled ok 58 Cache should allow getKeys() wit a single tag ok 59 Cache should tag 4 cache keys the same way ok 60 Cache should tag 4 cache keys differently # tests 60 # pass 60 # fail 0
1..60 ok 1 Cache should default to a memory store ok 2 Cache should allow a store Constructor ok 3 Cache should allow a store Object ok 4 Cache set() and get() should return undefined for misses ok 5 Cache set() and get() should set without a callback ok 6 Cache set() and get() should set syncronously when using Memory store ok 7 Cache set() and get() should set a null value ok 8 Cache set() and get() should set a 0 value ok 9 Cache set() and get() should set a an empty string ok 10 Cache set() and get() should accept an object ok 11 Cache set() and get() should have tagging capabilities on the load object for get() ok 12 Cache set() and get() without a ttl should set a value and get that value ok 13 Cache set() and get() with a ttl should set a value and get that value before expiration ok 14 Cache set() and get() with a ttl should set a value and get a miss for that value after expiration ok 15 Cache set() and get() with a load function should call the load function if there is a miss ok 16 Cache set() and get() with a load function should set the ttl with a load function ok 17 Cache mget() should set 2 values, and return both in the same order ok 18 Cache mget() should accept an object ok 19 Cache mget() should accept an object with tagging capabilities (as an array) ok 20 Cache mget() should accept an object with a string ttl ok 21 Cache mget() should handle a load function for missing values ok 22 Cache mget() should handle a load function and a ttl for missing values ok 23 Cache mget() should handle a load function and a string ttl for missing values ok 24 Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 25 Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 26 Cache get() called with an array should set 2 values, and return both in the same order ok 27 Cache get() called with an array should accept an object ok 28 Cache get() called with an array should accept an object with tagging capabilities (as an array) ok 29 Cache get() called with an array should accept an object with a string ttl ok 30 Cache get() called with an array should handle a load function for missing values ok 31 Cache get() called with an array should handle a load function and a ttl for missing values ok 32 Cache get() called with an array should handle a load function and a string ttl for missing values ok 33 Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 34 Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 35 Cache mset() should set multiple values, and then allow them to be retreived ok 36 Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 37 Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 38 Cache mset() should set one tag for one key ok 39 Cache mset() should set two tags for one key ok 40 Cache mset() should set two tags for one key and one tag for another ok 41 Cache mset() should function without a callback ok 42 Cache mset() should function syncronously when using Memory store ok 43 Cache set() called with an array should set multiple values, and then allow them to be retreived ok 44 Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 45 Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 46 Cache set() called with an array should set one tag for one key ok 47 Cache set() called with an array should set two tags for one key ok 48 Cache set() called with an array should set two tags for one key and one tag for another ok 49 Cache set() called with an array should function without a callback ok 50 Cache set() called with an array should function syncronously when using Memory store ok 51 Cache expire() should return false when trying to expire non-existent keys ok 52 Cache expire() should remove an existing key when no ttl is passed ok 53 Cache expire() should change an existing keys expiration ok 54 Cache expire() should function without a callback ok 55 Cache expire() should function syncronously when using the Memory store ok 56 Cache serialization should serialize by default ok 57 Cache serialization should not serialize when disabled ok 58 Cache should allow getKeys() wit a single tag ok 59 Cache should tag 4 cache keys the same way ok 60 Cache should tag 4 cache keys differently # tests 60 # pass 60 # fail 0
1..60 ok 1 Cache should default to a memory store ok 2 Cache should allow a store Constructor ok 3 Cache should allow a store Object ok 4 Cache set() and get() should return undefined for misses ok 5 Cache set() and get() should set without a callback ok 6 Cache set() and get() should set syncronously when using Memory store ok 7 Cache set() and get() should set a null value ok 8 Cache set() and get() should set a 0 value ok 9 Cache set() and get() should set a an empty string ok 10 Cache set() and get() should accept an object ok 11 Cache set() and get() should have tagging capabilities on the load object for get() ok 12 Cache set() and get() without a ttl should set a value and get that value ok 13 Cache set() and get() with a ttl should set a value and get that value before expiration ok 14 Cache set() and get() with a ttl should set a value and get a miss for that value after expiration ok 15 Cache set() and get() with a load function should call the load function if there is a miss ok 16 Cache set() and get() with a load function should set the ttl with a load function ok 17 Cache mget() should set 2 values, and return both in the same order ok 18 Cache mget() should accept an object ok 19 Cache mget() should accept an object with tagging capabilities (as an array) ok 20 Cache mget() should accept an object with a string ttl ok 21 Cache mget() should handle a load function for missing values ok 22 Cache mget() should handle a load function and a ttl for missing values ok 23 Cache mget() should handle a load function and a string ttl for missing values ok 24 Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 25 Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 26 Cache get() called with an array should set 2 values, and return both in the same order ok 27 Cache get() called with an array should accept an object ok 28 Cache get() called with an array should accept an object with tagging capabilities (as an array) ok 29 Cache get() called with an array should accept an object with a string ttl ok 30 Cache get() called with an array should handle a load function for missing values ok 31 Cache get() called with an array should handle a load function and a ttl for missing values ok 32 Cache get() called with an array should handle a load function and a string ttl for missing values ok 33 Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 34 Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 35 Cache mset() should set multiple values, and then allow them to be retreived ok 36 Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 37 Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 38 Cache mset() should set one tag for one key ok 39 Cache mset() should set two tags for one key ok 40 Cache mset() should set two tags for one key and one tag for another ok 41 Cache mset() should function without a callback ok 42 Cache mset() should function syncronously when using Memory store ok 43 Cache set() called with an array should set multiple values, and then allow them to be retreived ok 44 Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 45 Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 46 Cache set() called with an array should set one tag for one key ok 47 Cache set() called with an array should set two tags for one key ok 48 Cache set() called with an array should set two tags for one key and one tag for another ok 49 Cache set() called with an array should function without a callback ok 50 Cache set() called with an array should function syncronously when using Memory store ok 51 Cache expire() should return false when trying to expire non-existent keys ok 52 Cache expire() should remove an existing key when no ttl is passed ok 53 Cache expire() should change an existing keys expiration ok 54 Cache expire() should function without a callback ok 55 Cache expire() should function syncronously when using the Memory store ok 56 Cache serialization should serialize by default ok 57 Cache serialization should not serialize when disabled ok 58 Cache should allow getKeys() wit a single tag ok 59 Cache should tag 4 cache keys the same way ok 60 Cache should tag 4 cache keys differently # tests 60 # pass 60 # fail 0
1..60 ok 1 Cache should default to a memory store ok 2 Cache should allow a store Constructor ok 3 Cache should allow a store Object ok 4 Cache set() and get() should return undefined for misses ok 5 Cache set() and get() should set without a callback ok 6 Cache set() and get() should set syncronously when using Memory store ok 7 Cache set() and get() should set a null value ok 8 Cache set() and get() should set a 0 value ok 9 Cache set() and get() should set a an empty string ok 10 Cache set() and get() should accept an object ok 11 Cache set() and get() should have tagging capabilities on the load object for get() ok 12 Cache set() and get() without a ttl should set a value and get that value ok 13 Cache set() and get() with a ttl should set a value and get that value before expiration ok 14 Cache set() and get() with a ttl should set a value and get a miss for that value after expiration ok 15 Cache set() and get() with a load function should call the load function if there is a miss ok 16 Cache set() and get() with a load function should set the ttl with a load function ok 17 Cache mget() should set 2 values, and return both in the same order ok 18 Cache mget() should accept an object ok 19 Cache mget() should accept an object with tagging capabilities (as an array) ok 20 Cache mget() should accept an object with a string ttl ok 21 Cache mget() should handle a load function for missing values ok 22 Cache mget() should handle a load function and a ttl for missing values ok 23 Cache mget() should handle a load function and a string ttl for missing values ok 24 Cache mget() should handle a load function and a ttl for missing values and not return them after expiration ok 25 Cache mget() should handle a load function and a string ttl for missing values and not return them after expiration ok 26 Cache get() called with an array should set 2 values, and return both in the same order ok 27 Cache get() called with an array should accept an object ok 28 Cache get() called with an array should accept an object with tagging capabilities (as an array) ok 29 Cache get() called with an array should accept an object with a string ttl ok 30 Cache get() called with an array should handle a load function for missing values ok 31 Cache get() called with an array should handle a load function and a ttl for missing values ok 32 Cache get() called with an array should handle a load function and a string ttl for missing values ok 33 Cache get() called with an array should handle a load function and a ttl for missing values and not return them after expiration ok 34 Cache get() called with an array should handle a load function and a string ttl for missing values and not return them after expiration ok 35 Cache mset() should set multiple values, and then allow them to be retreived ok 36 Cache mset() should set multiple values with a ttl, and then allow them to be retreived ok 37 Cache mset() should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 38 Cache mset() should set one tag for one key ok 39 Cache mset() should set two tags for one key ok 40 Cache mset() should set two tags for one key and one tag for another ok 41 Cache mset() should function without a callback ok 42 Cache mset() should function syncronously when using Memory store ok 43 Cache set() called with an array should set multiple values, and then allow them to be retreived ok 44 Cache set() called with an array should set multiple values with a ttl, and then allow them to be retreived ok 45 Cache set() called with an array should set multiple values with a ttl, and then not allow them to be retreived after expiration ok 46 Cache set() called with an array should set one tag for one key ok 47 Cache set() called with an array should set two tags for one key ok 48 Cache set() called with an array should set two tags for one key and one tag for another ok 49 Cache set() called with an array should function without a callback ok 50 Cache set() called with an array should function syncronously when using Memory store ok 51 Cache expire() should return false when trying to expire non-existent keys ok 52 Cache expire() should remove an existing key when no ttl is passed ok 53 Cache expire() should change an existing keys expiration ok 54 Cache expire() should function without a callback ok 55 Cache expire() should function syncronously when using the Memory store ok 56 Cache serialization should serialize by default ok 57 Cache serialization should not serialize when disabled ok 58 Cache should allow getKeys() wit a single tag ok 59 Cache should tag 4 cache keys the same way ok 60 Cache should tag 4 cache keys differently # tests 60 # pass 60 # fail 0
1..60 ok 1 Cache should default to a memory store ok 2 Cache should allow a store Constructor ok 3 Cache should allow a store Object ok 4 Cache set() and get() should return undefined for misses ok 5 Cache set() and get() should set without a callback ok 6 Cache set() and get() should set syncronously when using Memory store ok 7 Cache set() and get() should set a null value ok 8 Cache set() and get() should set a 0 value ok 9 Cache set() and get() should set a an empty str