no9/node-leveldown-gap

2014-01-30 03:34:06
8.0
9.0
10.0
23.0
24.0
25.0
canary
17.0
18.0
19.0
nightly
5.0.5
5.1
6.0
11.5
11.6
12.0
next
6.0
6.0
timeout waiting to hear back from iexplore/9.0
not ok 1 Error: 'ArrayBuffer' is undefined on line 1918
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default not ok 35 (unnamed assert) --- operator: ok expected: true actual: false ... ok 36 should be equal ok 37 no error ok 38 should not be string by default not ok 39 (unnamed assert) --- operator: ok expected: true actual: false ... ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` not ok 133 is a Buffer --- operator: ok expected: true actual: false ... ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` not ok 140 is a Buffer --- operator: ok expected: true actual: false ... ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` not ok 147 is a Buffer --- operator: ok expected: true actual: false ... ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` not ok 154 is a Buffer --- operator: ok expected: true actual: false ... ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` not ok 161 is a Buffer --- operator: ok expected: true actual: false ... ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` not ok 168 is a Buffer --- operator: ok expected: true actual: false ... ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` not ok 190 is a Buffer --- operator: ok expected: true actual: false ... ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` not ok 197 is a Buffer --- operator: ok expected: true actual: false ... ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` not ok 204 is a Buffer --- operator: ok expected: true actual: false ... ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` not ok 211 is a Buffer --- operator: ok expected: true actual: false ... ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` not ok 218 is a Buffer --- operator: ok expected: true actual: false ... ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` not ok 225 is a Buffer --- operator: ok expected: true actual: false ... ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 358 # fail 14
2013-08-16 00:37:11
8.0
9.0
✓10.0
✓23.0
✓24.0
✓25.0
✓canary
✓17.0
✓18.0
✓19.0
✓nightly
5.1
5.0.5
6.0
✓11.6
✓12.0
✓next
11.5
6.0
6.0
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less del() throws not ok 8 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple del() ok 11 no error ok 12 no error ok 13 entry propertly deleted ok 14 returned NotFound # test del on non-existent key ok 15 should not error on delete # tearDown not ok 16 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 17 cleanup returned an error # setUp db not ok 18 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less put() throws not ok 19 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, put() throws not ok 20 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 2-arg, put() throws not ok 21 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, put() throws not ok 22 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple put() ok 23 no error ok 24 no error ok 25 should be equal # test object value put() ok 26 no error ok 27 no error ok 28 should be equal # tearDown not ok 29 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 30 cleanup returned an error # setUp db not ok 31 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less get() throws not ok 32 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, get() throws not ok 33 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, get() throws not ok 34 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple get() ok 35 no error ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should not be string by default ok 42 (unnamed assert) ok 43 should be equal ok 44 no error ok 45 should be string if not buffer ok 46 should be equal # test simultaniously get() ok 47 should not error ok 48 should be equal ok 49 should not error ok 50 should be equal ok 51 should not error ok 52 should be equal ok 53 should not error ok 54 should be equal ok 55 should not error ok 56 should be equal ok 57 should not error ok 58 should be equal ok 59 should not error ok 60 should be equal ok 61 should not error ok 62 should be equal ok 63 should not error ok 64 should be equal ok 65 should not error ok 66 should be equal ok 67 should error ok 68 should have correct error message ok 69 should error ok 70 should have correct error message ok 71 should error ok 72 should have correct error message ok 73 should error ok 74 should have correct error message ok 75 should error ok 76 should have correct error message ok 77 should error ok 78 should have correct error message ok 79 should error ok 80 should have correct error message ok 81 should error ok 82 should have correct error message ok 83 should error ok 84 should have correct error message ok 85 should error ok 86 should have correct error message # tearDown not ok 87 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 88 cleanup returned an error # setUp db not ok 89 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test get() with null key causes error ok 90 has error ok 91 (unnamed assert) ok 92 correct error message # test del() with null key causes error ok 93 has error ok 94 (unnamed assert) ok 95 correct error message # test put() with null key causes error ok 96 has error ok 97 (unnamed assert) ok 98 correct error message # test get() with undefined key causes error ok 99 has error ok 100 (unnamed assert) ok 101 correct error message # test del() with undefined key causes error ok 102 has error ok 103 (unnamed assert) ok 104 correct error message # test put() with undefined key causes error ok 105 has error ok 106 (unnamed assert) ok 107 correct error message # test get() with empty String key causes error ok 108 has error ok 109 (unnamed assert) ok 110 correct error message # test del() with empty String key causes error ok 111 has error ok 112 (unnamed assert) ok 113 correct error message # test put() with empty String key causes error ok 114 has error ok 115 (unnamed assert) ok 116 correct error message # test get() with empty Buffer key causes error ok 117 has error ok 118 (unnamed assert) ok 119 correct error message # test del() with empty Buffer key causes error ok 120 has error ok 121 (unnamed assert) ok 122 correct error message # test put() with empty Buffer key causes error ok 123 has error ok 124 (unnamed assert) ok 125 correct error message # test get() with empty Array key causes error ok 126 has error ok 127 (unnamed assert) ok 128 correct error message # test del() with empty Array key causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with empty Array key causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put()/get()/del() with `false` value ok 135 no error ok 136 no error, has key/value for `foo false` ok 137 is a Buffer ok 138 should be equal ok 139 no error, deleted key/value for `foo false` ok 140 entry propertly deleted ok 141 is NotFound # test put()/get()/del() with `0` value ok 142 no error ok 143 no error, has key/value for `foo 0` ok 144 is a Buffer ok 145 should be equal ok 146 no error, deleted key/value for `foo 0` ok 147 entry propertly deleted ok 148 is NotFound # test put()/get()/del() with `NaN` value ok 149 no error ok 150 no error, has key/value for `foo NaN` ok 151 is a Buffer ok 152 should be equal ok 153 no error, deleted key/value for `foo NaN` ok 154 entry propertly deleted ok 155 is NotFound # test put()/get()/del() with long String value ok 156 no error ok 157 no error, has key/value for `foo` ok 158 is a Buffer ok 159 should be equal ok 160 no error, deleted key/value for `foo` ok 161 entry propertly deleted ok 162 is NotFound # test put()/get()/del() with Buffer value ok 163 no error ok 164 no error, has key/value for `foo` ok 165 is a Buffer ok 166 should be equal ok 167 no error, deleted key/value for `foo` ok 168 entry propertly deleted ok 169 is NotFound # test put()/get()/del() with Array key ok 170 no error ok 171 no error, has key/value for `1,2,3,4` ok 172 is a Buffer ok 173 should be equal ok 174 no error, deleted key/value for `1,2,3,4` ok 175 entry propertly deleted ok 176 is NotFound # test put() with null value causes error ok 177 has error ok 178 (unnamed assert) ok 179 correct error message # test put() with undefined value causes error ok 180 has error ok 181 (unnamed assert) ok 182 correct error message # test put() with empty String value causes error ok 183 has error ok 184 (unnamed assert) ok 185 correct error message # test put() with empty Buffer value causes error ok 186 has error ok 187 (unnamed assert) ok 188 correct error message # test put() with empty Array value causes error ok 189 has error ok 190 (unnamed assert) ok 191 correct error message # test put()/get()/del() with `false` value ok 192 no error ok 193 no error, has key/value for `foo false` ok 194 is a Buffer ok 195 should be equal ok 196 no error, deleted key/value for `foo false` ok 197 entry propertly deleted ok 198 is NotFound # test put()/get()/del() with `0` value ok 199 no error ok 200 no error, has key/value for `foo 0` ok 201 is a Buffer ok 202 should be equal ok 203 no error, deleted key/value for `foo 0` ok 204 entry propertly deleted ok 205 is NotFound # test put()/get()/del() with `NaN` value ok 206 no error ok 207 no error, has key/value for `foo NaN` ok 208 is a Buffer ok 209 should be equal ok 210 no error, deleted key/value for `foo NaN` ok 211 entry propertly deleted ok 212 is NotFound # test put()/get()/del() with long String value ok 213 no error ok 214 no error, has key/value for `foo` ok 215 is a Buffer ok 216 should be equal ok 217 no error, deleted key/value for `foo` ok 218 entry propertly deleted ok 219 is NotFound # test put()/get()/del() with Buffer value ok 220 no error ok 221 no error, has key/value for `foo` ok 222 is a Buffer ok 223 should be equal ok 224 no error, deleted key/value for `foo` ok 225 entry propertly deleted ok 226 is NotFound # test put()/get()/del() with Array key ok 227 no error ok 228 no error, has key/value for `1,2,3,4` ok 229 is a Buffer ok 230 should be equal ok 231 no error, deleted key/value for `1,2,3,4` ok 232 entry propertly deleted ok 233 is NotFound # tearDown not ok 234 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test close() not ok 235 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 236 cleanup returned an error # setUp db not ok 237 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#next() throws not ok 238 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#end() after next() throws not ok 239 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#end() throws not ok 240 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test twice iterator#end() callback with error ok 241 no error ok 242 returned error ok 243 correct error ok 244 should be equal # test iterator#next after iterator#end() callback with error ok 245 no error ok 246 returned error ok 247 correct error ok 248 correct message # test twice iterator#next() throws not ok 249 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple iterator() ok 250 no error not ok 1 Error: TypeError: 'undefined' is not a function
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less del() throws not ok 8 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple del() ok 11 no error ok 12 no error ok 13 entry propertly deleted ok 14 returned NotFound # test del on non-existent key ok 15 should not error on delete # tearDown not ok 16 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 17 cleanup returned an error # setUp db not ok 18 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less put() throws not ok 19 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, put() throws not ok 20 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 2-arg, put() throws not ok 21 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, put() throws not ok 22 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple put() ok 23 no error ok 24 no error ok 25 should be equal # test object value put() ok 26 no error ok 27 no error ok 28 should be equal # tearDown not ok 29 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 30 cleanup returned an error # setUp db not ok 31 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less get() throws not ok 32 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, get() throws not ok 33 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, get() throws not ok 34 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple get() ok 35 no error ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should not be string by default ok 42 (unnamed assert) ok 43 should be equal ok 44 no error ok 45 should be string if not buffer ok 46 should be equal # test simultaniously get() ok 47 should not error ok 48 should be equal ok 49 should not error ok 50 should be equal ok 51 should not error ok 52 should be equal ok 53 should not error ok 54 should be equal ok 55 should not error ok 56 should be equal ok 57 should not error ok 58 should be equal ok 59 should not error ok 60 should be equal ok 61 should not error ok 62 should be equal ok 63 should not error ok 64 should be equal ok 65 should not error ok 66 should be equal ok 67 should error ok 68 should have correct error message ok 69 should error ok 70 should have correct error message ok 71 should error ok 72 should have correct error message ok 73 should error ok 74 should have correct error message ok 75 should error ok 76 should have correct error message ok 77 should error ok 78 should have correct error message ok 79 should error ok 80 should have correct error message ok 81 should error ok 82 should have correct error message ok 83 should error ok 84 should have correct error message ok 85 should error ok 86 should have correct error message # tearDown not ok 87 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 88 cleanup returned an error # setUp db not ok 89 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test get() with null key causes error ok 90 has error ok 91 (unnamed assert) ok 92 correct error message # test del() with null key causes error ok 93 has error ok 94 (unnamed assert) ok 95 correct error message # test put() with null key causes error ok 96 has error ok 97 (unnamed assert) ok 98 correct error message # test get() with undefined key causes error ok 99 has error ok 100 (unnamed assert) ok 101 correct error message # test del() with undefined key causes error ok 102 has error ok 103 (unnamed assert) ok 104 correct error message # test put() with undefined key causes error ok 105 has error ok 106 (unnamed assert) ok 107 correct error message # test get() with empty String key causes error ok 108 has error ok 109 (unnamed assert) ok 110 correct error message # test del() with empty String key causes error ok 111 has error ok 112 (unnamed assert) ok 113 correct error message # test put() with empty String key causes error ok 114 has error ok 115 (unnamed assert) ok 116 correct error message # test get() with empty Buffer key causes error ok 117 has error ok 118 (unnamed assert) ok 119 correct error message # test del() with empty Buffer key causes error ok 120 has error ok 121 (unnamed assert) ok 122 correct error message # test put() with empty Buffer key causes error ok 123 has error ok 124 (unnamed assert) ok 125 correct error message # test get() with empty Array key causes error ok 126 has error ok 127 (unnamed assert) ok 128 correct error message # test del() with empty Array key causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with empty Array key causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put()/get()/del() with `false` value ok 135 no error ok 136 no error, has key/value for `foo false` ok 137 is a Buffer ok 138 should be equal ok 139 no error, deleted key/value for `foo false` ok 140 entry propertly deleted ok 141 is NotFound # test put()/get()/del() with `0` value ok 142 no error ok 143 no error, has key/value for `foo 0` ok 144 is a Buffer ok 145 should be equal ok 146 no error, deleted key/value for `foo 0` ok 147 entry propertly deleted ok 148 is NotFound # test put()/get()/del() with `NaN` value ok 149 no error ok 150 no error, has key/value for `foo NaN` ok 151 is a Buffer ok 152 should be equal ok 153 no error, deleted key/value for `foo NaN` ok 154 entry propertly deleted ok 155 is NotFound # test put()/get()/del() with long String value ok 156 no error ok 157 no error, has key/value for `foo` ok 158 is a Buffer ok 159 should be equal ok 160 no error, deleted key/value for `foo` ok 161 entry propertly deleted ok 162 is NotFound # test put()/get()/del() with Buffer value ok 163 no error ok 164 no error, has key/value for `foo` ok 165 is a Buffer ok 166 should be equal ok 167 no error, deleted key/value for `foo` ok 168 entry propertly deleted ok 169 is NotFound # test put()/get()/del() with Array key ok 170 no error ok 171 no error, has key/value for `1,2,3,4` ok 172 is a Buffer ok 173 should be equal ok 174 no error, deleted key/value for `1,2,3,4` ok 175 entry propertly deleted ok 176 is NotFound # test put() with null value causes error ok 177 has error ok 178 (unnamed assert) ok 179 correct error message # test put() with undefined value causes error ok 180 has error ok 181 (unnamed assert) ok 182 correct error message # test put() with empty String value causes error ok 183 has error ok 184 (unnamed assert) ok 185 correct error message # test put() with empty Buffer value causes error ok 186 has error ok 187 (unnamed assert) ok 188 correct error message # test put() with empty Array value causes error ok 189 has error ok 190 (unnamed assert) ok 191 correct error message # test put()/get()/del() with `false` value ok 192 no error ok 193 no error, has key/value for `foo false` ok 194 is a Buffer ok 195 should be equal ok 196 no error, deleted key/value for `foo false` ok 197 entry propertly deleted ok 198 is NotFound # test put()/get()/del() with `0` value ok 199 no error ok 200 no error, has key/value for `foo 0` ok 201 is a Buffer ok 202 should be equal ok 203 no error, deleted key/value for `foo 0` ok 204 entry propertly deleted ok 205 is NotFound # test put()/get()/del() with `NaN` value ok 206 no error ok 207 no error, has key/value for `foo NaN` ok 208 is a Buffer ok 209 should be equal ok 210 no error, deleted key/value for `foo NaN` ok 211 entry propertly deleted ok 212 is NotFound # test put()/get()/del() with long String value ok 213 no error ok 214 no error, has key/value for `foo` ok 215 is a Buffer ok 216 should be equal ok 217 no error, deleted key/value for `foo` ok 218 entry propertly deleted ok 219 is NotFound # test put()/get()/del() with Buffer value ok 220 no error ok 221 no error, has key/value for `foo` ok 222 is a Buffer ok 223 should be equal ok 224 no error, deleted key/value for `foo` ok 225 entry propertly deleted ok 226 is NotFound # test put()/get()/del() with Array key ok 227 no error ok 228 no error, has key/value for `1,2,3,4` ok 229 is a Buffer ok 230 should be equal ok 231 no error, deleted key/value for `1,2,3,4` ok 232 entry propertly deleted ok 233 is NotFound # tearDown not ok 234 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test close() not ok 235 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 236 cleanup returned an error # setUp db not ok 237 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#next() throws not ok 238 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#end() after next() throws not ok 239 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#end() throws not ok 240 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test twice iterator#end() callback with error ok 241 no error ok 242 returned error ok 243 correct error ok 244 should be equal # test iterator#next after iterator#end() callback with error ok 245 no error ok 246 returned error ok 247 correct error ok 248 correct message # test twice iterator#next() throws not ok 249 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple iterator() ok 250 no error not ok 1 Error: TypeError: 'undefined' is not a function
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
firefox/nightly
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
not ok 1 Error: 'ArrayBuffer' is undefined on line 8223
idle timeout: 30 seconds with no output
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # test simultaniously get() ok 44 should not error ok 45 should be equal ok 46 should not error ok 47 should be equal ok 48 should not error ok 49 should be equal ok 50 should not error ok 51 should be equal ok 52 should not error ok 53 should be equal ok 54 should not error ok 55 should be equal ok 56 should not error ok 57 should be equal ok 58 should not error ok 59 should be equal ok 60 should not error ok 61 should be equal ok 62 should not error ok 63 should be equal ok 64 should error ok 65 should have correct error message ok 66 should error ok 67 should have correct error message ok 68 should error ok 69 should have correct error message ok 70 should error ok 71 should have correct error message ok 72 should error ok 73 should have correct error message ok 74 should error ok 75 should have correct error message ok 76 should error ok 77 should have correct error message ok 78 should error ok 79 should have correct error message ok 80 should error ok 81 should have correct error message ok 82 should error ok 83 should have correct error message # tearDown ok 84 cleanup returned an error # setUp common ok 85 cleanup returned an error # setUp db # test get() with null key causes error ok 86 has error ok 87 (unnamed assert) ok 88 correct error message # test del() with null key causes error ok 89 has error ok 90 (unnamed assert) ok 91 correct error message # test put() with null key causes error ok 92 has error ok 93 (unnamed assert) ok 94 correct error message # test get() with undefined key causes error ok 95 has error ok 96 (unnamed assert) ok 97 correct error message # test del() with undefined key causes error ok 98 has error ok 99 (unnamed assert) ok 100 correct error message # test put() with undefined key causes error ok 101 has error ok 102 (unnamed assert) ok 103 correct error message # test get() with empty String key causes error ok 104 has error ok 105 (unnamed assert) ok 106 correct error message # test del() with empty String key causes error ok 107 has error ok 108 (unnamed assert) ok 109 correct error message # test put() with empty String key causes error ok 110 has error ok 111 (unnamed assert) ok 112 correct error message # test get() with empty Buffer key causes error ok 113 has error ok 114 (unnamed assert) ok 115 correct error message # test del() with empty Buffer key causes error ok 116 has error ok 117 (unnamed assert) ok 118 correct error message # test put() with empty Buffer key causes error ok 119 has error ok 120 (unnamed assert) ok 121 correct error message # test get() with empty Array key causes error ok 122 has error ok 123 (unnamed assert) ok 124 correct error message # test del() with empty Array key causes error ok 125 has error ok 126 (unnamed assert) ok 127 correct error message # test put() with empty Array key causes error ok 128 has error ok 129 (unnamed assert) ok 130 correct error message # test put()/get()/del() with `false` value ok 131 no error ok 132 no error, has key/value for `foo false` ok 133 is a Buffer ok 134 should be equal ok 135 no error, deleted key/value for `foo false` ok 136 entry propertly deleted ok 137 is NotFound # test put()/get()/del() with `0` value ok 138 no error ok 139 no error, has key/value for `foo 0` ok 140 is a Buffer ok 141 should be equal ok 142 no error, deleted key/value for `foo 0` ok 143 entry propertly deleted ok 144 is NotFound # test put()/get()/del() with `NaN` value ok 145 no error ok 146 no error, has key/value for `foo NaN` ok 147 is a Buffer ok 148 should be equal ok 149 no error, deleted key/value for `foo NaN` ok 150 entry propertly deleted ok 151 is NotFound # test put()/get()/del() with long String value ok 152 no error ok 153 no error, has key/value for `foo` ok 154 is a Buffer ok 155 should be equal ok 156 no error, deleted key/value for `foo` ok 157 entry propertly deleted ok 158 is NotFound # test put()/get()/del() with Buffer value ok 159 no error ok 160 no error, has key/value for `foo` ok 161 is a Buffer ok 162 should be equal ok 163 no error, deleted key/value for `foo` ok 164 entry propertly deleted ok 165 is NotFound # test put()/get()/del() with Array key ok 166 no error ok 167 no error, has key/value for `1,2,3,4` ok 168 is a Buffer ok 169 should be equal ok 170 no error, deleted key/value for `1,2,3,4` ok 171 entry propertly deleted ok 172 is NotFound # test put() with null value causes error ok 173 has error ok 174 (unnamed assert) ok 175 correct error message # test put() with undefined value causes error ok 176 has error ok 177 (unnamed assert) ok 178 correct error message # test put() with empty String value causes error ok 179 has error ok 180 (unnamed assert) ok 181 correct error message # test put() with empty Buffer value causes error ok 182 has error ok 183 (unnamed assert) ok 184 correct error message # test put() with empty Array value causes error ok 185 has error ok 186 (unnamed assert) ok 187 correct error message # test put()/get()/del() with `false` value ok 188 no error ok 189 no error, has key/value for `foo false` ok 190 is a Buffer ok 191 should be equal ok 192 no error, deleted key/value for `foo false` ok 193 entry propertly deleted ok 194 is NotFound # test put()/get()/del() with `0` value ok 195 no error ok 196 no error, has key/value for `foo 0` ok 197 is a Buffer ok 198 should be equal ok 199 no error, deleted key/value for `foo 0` ok 200 entry propertly deleted ok 201 is NotFound # test put()/get()/del() with `NaN` value ok 202 no error ok 203 no error, has key/value for `foo NaN` ok 204 is a Buffer ok 205 should be equal ok 206 no error, deleted key/value for `foo NaN` ok 207 entry propertly deleted ok 208 is NotFound # test put()/get()/del() with long String value ok 209 no error ok 210 no error, has key/value for `foo` ok 211 is a Buffer ok 212 should be equal ok 213 no error, deleted key/value for `foo` ok 214 entry propertly deleted ok 215 is NotFound # test put()/get()/del() with Buffer value ok 216 no error ok 217 no error, has key/value for `foo` ok 218 is a Buffer ok 219 should be equal ok 220 no error, deleted key/value for `foo` ok 221 entry propertly deleted ok 222 is NotFound # test put()/get()/del() with Array key ok 223 no error ok 224 no error, has key/value for `1,2,3,4` ok 225 is a Buffer ok 226 should be equal ok 227 no error, deleted key/value for `1,2,3,4` ok 228 entry propertly deleted ok 229 is NotFound # tearDown ok 230 cleanup returned an error # test close() ok 231 no error ok 232 no-arg close() throws ok 233 non-callback close() throws ok 234 no error # setUp common ok 235 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 236 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 237 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 238 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 239 no error ok 240 returned error ok 241 correct error ok 242 should be equal # test iterator#next after iterator#end() callback with error ok 243 no error ok 244 returned error ok 245 correct error ok 246 correct message # test twice iterator#next() throws ok 247 returned error ok 248 correct error ok 249 should be equal # test simple iterator() ok 250 no error ok 251 no error ok 252 no error ok 253 no error ok 254 correct key ok 255 correct value ok 256 no error ok 257 correct key ok 258 correct value ok 259 no error ok 260 correct key ok 261 correct value ok 262 no error ok 263 err argument is undefined ok 264 key argument is undefined ok 265 value argument is undefined ok 266 correct number of entries # setUp #2 # test full data collection ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with reverse=true ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with start=0 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with start=50 ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with start=50 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with start being a midway key (49.5) ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start being a midway key (49999) ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start being a midway key and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with end=50 ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with end being a midway key (50.5) ok 294 no error ok 295 correct number of entries ok 296 should be equivalent # test iterator with end being a midway key (50555) ok 297 no error ok 298 correct number of entries ok 299 should be equivalent # test iterator with end being a midway key and reverse=true ok 300 no error ok 301 correct number of entries ok 302 should be equivalent # test iterator with end=0 ok 303 no error ok 304 correct number of entries # test iterator with start=30 and end=70 ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 308 no error ok 309 correct number of entries ok 310 should be equivalent # test iterator with limit=20 ok 311 no error ok 312 correct number of entries ok 313 should be equivalent # test iterator with limit=20 and start=20 ok 314 no error ok 315 correct number of entries ok 316 should be equivalent # test iterator with limit=20 and reverse=true ok 317 no error ok 318 correct number of entries ok 319 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 320 no error ok 321 correct number of entries ok 322 should be equivalent # test iterator with limit=-1 should iterate over whole database ok 323 no error ok 324 correct number of entries ok 325 should be equivalent # test iterator with end after limit ok 326 no error ok 327 correct number of entries ok 328 should be equivalent # test iterator with end before limit ok 329 no error ok 330 correct number of entries ok 331 should be equivalent # test iterator with start after database end ok 332 no error ok 333 correct number of entries # test iterator with start after database end and reverse=true ok 334 no error ok 335 correct number of entries ok 336 should be equivalent # test iterator with start and end after database and and reverse=true ok 337 no error ok 338 correct number of entries # test iterator with start as empty string ok 339 no error ok 340 correct number of entries ok 341 should be equivalent # test iterator with start as null ok 342 no error ok 343 correct number of entries ok 344 should be equivalent # test iterator with end as empty string ok 345 no error ok 346 correct number of entries ok 347 should be equivalent # test iterator with end as null ok 348 no error ok 349 correct number of entries ok 350 should be equivalent # tearDown ok 351 cleanup returned an error # setUp common ok 352 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 353 correct error message # test batch#put() with null `value` ok 354 correct error message # test batch#put() with missing `key` ok 355 correct error message # test batch#put() with null `key` ok 356 correct error message # test batch#put() with missing `key` and `value` ok 357 correct error message # test batch#del() with missing `key` ok 358 correct error message # test batch#del() with null `key` ok 359 correct error message # test batch#del() with null `key` ok 360 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 361 correct error message # test batch#put() after write() ok 362 correct error message # test batch#del() after write() ok 363 correct error message # test batch#clear() after write() ok 364 correct error message # test batch#write() after write() ok 365 correct error message # test basic batch ok 366 no error ok 367 no error ok 368 no error ok 369 correct number of entries ok 370 should be equivalent # tearDown ok 371 cleanup returned an error # setUp common ok 372 cleanup returned an error # setUp db 1..372 # tests 372 # pass 372 # ok
2013-07-08 04:28:15
8.0
9.0
✓10.0
23.0
24.0
25.0
canary
17.0
18.0
19.0
nightly
✓6.0
5.0.5
5.1
11.5
11.6
12.0
next
✓6.0
✓6.0
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # tearDown ok 44 cleanup returned an error # setUp common ok 45 cleanup returned an error # setUp db # test get() with null key causes error ok 46 has error ok 47 (unnamed assert) ok 48 correct error message # test del() with null key causes error ok 49 has error ok 50 (unnamed assert) ok 51 correct error message # test put() with null key causes error ok 52 has error ok 53 (unnamed assert) ok 54 correct error message # test get() with undefined key causes error ok 55 has error ok 56 (unnamed assert) ok 57 correct error message # test del() with undefined key causes error ok 58 has error ok 59 (unnamed assert) ok 60 correct error message # test put() with undefined key causes error ok 61 has error ok 62 (unnamed assert) ok 63 correct error message # test get() with empty String key causes error ok 64 has error ok 65 (unnamed assert) ok 66 correct error message # test del() with empty String key causes error ok 67 has error ok 68 (unnamed assert) ok 69 correct error message # test put() with empty String key causes error ok 70 has error ok 71 (unnamed assert) ok 72 correct error message # test get() with empty ArrayBuffer key causes error ok 73 has error ok 74 (unnamed assert) ok 75 correct error message # test del() with empty ArrayBuffer key causes error ok 76 has error ok 77 (unnamed assert) ok 78 correct error message # test put() with empty ArrayBuffer key causes error ok 79 has error ok 80 (unnamed assert) ok 81 correct error message # test get() with empty Array key causes error ok 82 has error ok 83 (unnamed assert) ok 84 correct error message # test del() with empty Array key causes error ok 85 has error ok 86 (unnamed assert) ok 87 correct error message # test put() with empty Array key causes error ok 88 has error ok 89 (unnamed assert) ok 90 correct error message # test put()/get()/del() with `false` value ok 91 no error ok 92 no error, has key/value for `foo false` ok 93 is a Buffer ok 94 should be equal ok 95 no error, deleted key/value for `foo false` ok 96 entry propertly deleted ok 97 is NotFound # test put()/get()/del() with `0` value ok 98 no error ok 99 no error, has key/value for `foo 0` ok 100 is a Buffer ok 101 should be equal ok 102 no error, deleted key/value for `foo 0` ok 103 entry propertly deleted ok 104 is NotFound # test put()/get()/del() with `NaN` value ok 105 no error ok 106 no error, has key/value for `foo NaN` ok 107 is a Buffer ok 108 should be equal ok 109 no error, deleted key/value for `foo NaN` ok 110 entry propertly deleted ok 111 is NotFound # test put()/get()/del() with long String value ok 112 no error ok 113 no error, has key/value for `foo` ok 114 is a Buffer ok 115 should be equal ok 116 no error, deleted key/value for `foo` ok 117 entry propertly deleted ok 118 is NotFound # test put()/get()/del() with Buffer value ok 119 no error ok 120 no error, has key/value for `foo` ok 121 is a Buffer ok 122 should be equal ok 123 no error, deleted key/value for `foo` ok 124 entry propertly deleted ok 125 is NotFound # test put()/get()/del() with Array key ok 126 no error ok 127 no error, has key/value for `1,2,3,4` ok 128 is a Buffer ok 129 should be equal ok 130 no error, deleted key/value for `1,2,3,4` ok 131 entry propertly deleted ok 132 is NotFound # test put() with null value causes error ok 133 has error ok 134 (unnamed assert) ok 135 correct error message # test put() with undefined value causes error ok 136 has error ok 137 (unnamed assert) ok 138 correct error message # test put() with empty String value causes error ok 139 has error ok 140 (unnamed assert) ok 141 correct error message # test put() with empty ArrayBuffer value causes error ok 142 has error ok 143 (unnamed assert) ok 144 correct error message # test put() with empty Array value causes error ok 145 has error ok 146 (unnamed assert) ok 147 correct error message # test put()/get()/del() with `false` value ok 148 no error ok 149 no error, has key/value for `foo false` ok 150 is a Buffer ok 151 should be equal ok 152 no error, deleted key/value for `foo false` ok 153 entry propertly deleted ok 154 is NotFound # test put()/get()/del() with `0` value ok 155 no error ok 156 no error, has key/value for `foo 0` ok 157 is a Buffer ok 158 should be equal ok 159 no error, deleted key/value for `foo 0` ok 160 entry propertly deleted ok 161 is NotFound # test put()/get()/del() with `NaN` value ok 162 no error ok 163 no error, has key/value for `foo NaN` ok 164 is a Buffer ok 165 should be equal ok 166 no error, deleted key/value for `foo NaN` ok 167 entry propertly deleted ok 168 is NotFound # test put()/get()/del() with long String value ok 169 no error ok 170 no error, has key/value for `foo` ok 171 is a Buffer ok 172 should be equal ok 173 no error, deleted key/value for `foo` ok 174 entry propertly deleted ok 175 is NotFound # test put()/get()/del() with Buffer value ok 176 no error ok 177 no error, has key/value for `foo` ok 178 is a Buffer ok 179 should be equal ok 180 no error, deleted key/value for `foo` ok 181 entry propertly deleted ok 182 is NotFound # test put()/get()/del() with Array key ok 183 no error ok 184 no error, has key/value for `1,2,3,4` ok 185 is a Buffer ok 186 should be equal ok 187 no error, deleted key/value for `1,2,3,4` ok 188 entry propertly deleted ok 189 is NotFound # tearDown ok 190 cleanup returned an error # test close() ok 191 no error ok 192 no-arg close() throws ok 193 non-callback close() throws ok 194 no error # setUp common ok 195 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 196 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 197 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 198 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 should be equal # test iterator#next after iterator#end() callback with error ok 203 no error ok 204 returned error ok 205 correct error ok 206 correct message # test twice iterator#next() throws ok 207 returned error ok 208 correct error ok 209 should be equal # test simple iterator() ok 210 no error ok 211 no error ok 212 no error ok 213 no error ok 214 correct key ok 215 correct value ok 216 no error ok 217 correct key ok 218 correct value ok 219 no error ok 220 correct key ok 221 correct value ok 222 no error ok 223 err argument is undefined ok 224 key argument is undefined ok 225 value argument is undefined ok 226 correct number of entries # setUp #2 # test full data collection ok 227 no error ok 228 correct number of entries ok 229 should be equivalent # test iterator with reverse=true ok 230 no error ok 231 correct number of entries ok 232 should be equivalent # test iterator with start=0 ok 233 no error ok 234 correct number of entries ok 235 should be equivalent # test iterator with start=50 ok 236 no error ok 237 correct number of entries ok 238 should be equivalent # test iterator with start=50 and reverse=true ok 239 no error ok 240 correct number of entries ok 241 should be equivalent # test iterator with start being a midway key (49.5) ok 242 no error ok 243 correct number of entries ok 244 should be equivalent # test iterator with start being a midway key (49999) ok 245 no error ok 246 correct number of entries ok 247 should be equivalent # test iterator with start being a midway key and reverse=true ok 248 no error ok 249 correct number of entries ok 250 should be equivalent # test iterator with end=50 ok 251 no error ok 252 correct number of entries ok 253 should be equivalent # test iterator with end being a midway key (50.5) ok 254 no error ok 255 correct number of entries ok 256 should be equivalent # test iterator with end being a midway key (50555) ok 257 no error ok 258 correct number of entries ok 259 should be equivalent # test iterator with end being a midway key and reverse=true ok 260 no error ok 261 correct number of entries ok 262 should be equivalent # test iterator with end=0 ok 263 no error ok 264 correct number of entries # test iterator with start=30 and end=70 ok 265 no error ok 266 correct number of entries ok 267 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 268 no error ok 269 correct number of entries ok 270 should be equivalent # test iterator with limit=20 ok 271 no error ok 272 correct number of entries ok 273 should be equivalent # test iterator with limit=20 and start=20 ok 274 no error ok 275 correct number of entries ok 276 should be equivalent # test iterator with limit=20 and reverse=true ok 277 no error ok 278 correct number of entries ok 279 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 280 no error ok 281 correct number of entries ok 282 should be equivalent # test iterator with end after limit ok 283 no error ok 284 correct number of entries ok 285 should be equivalent # test iterator with end before limit ok 286 no error ok 287 correct number of entries ok 288 should be equivalent # test iterator with start after database end ok 289 no error ok 290 correct number of entries # test iterator with start after database end and reverse=true ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with start and end after database and and reverse=true ok 294 no error ok 295 correct number of entries # test iterator with start as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with start as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # test iterator with end as empty string ok 302 no error ok 303 correct number of entries ok 304 should be equivalent # test iterator with end as null ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # tearDown ok 308 cleanup returned an error # setUp common ok 309 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 310 correct error message # test batch#put() with null `value` ok 311 correct error message # test batch#put() with missing `key` ok 312 correct error message # test batch#put() with null `key` ok 313 correct error message # test batch#put() with missing `key` and `value` ok 314 correct error message # test batch#del() with missing `key` ok 315 correct error message # test batch#del() with null `key` ok 316 correct error message # test batch#del() with null `key` ok 317 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 318 correct error message # test batch#put() after write() ok 319 correct error message # test batch#del() after write() ok 320 correct error message # test batch#clear() after write() ok 321 correct error message # test batch#write() after write() ok 322 correct error message # test basic batch ok 323 no error ok 324 no error ok 325 no error ok 326 correct number of entries ok 327 should be equivalent # tearDown ok 328 cleanup returned an error # setUp common ok 329 cleanup returned an error # setUp db 1..329 # tests 329 # pass 329 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # tearDown ok 44 cleanup returned an error # setUp common ok 45 cleanup returned an error # setUp db # test get() with null key causes error ok 46 has error ok 47 (unnamed assert) ok 48 correct error message # test del() with null key causes error ok 49 has error ok 50 (unnamed assert) ok 51 correct error message # test put() with null key causes error ok 52 has error ok 53 (unnamed assert) ok 54 correct error message # test get() with undefined key causes error ok 55 has error ok 56 (unnamed assert) ok 57 correct error message # test del() with undefined key causes error ok 58 has error ok 59 (unnamed assert) ok 60 correct error message # test put() with undefined key causes error ok 61 has error ok 62 (unnamed assert) ok 63 correct error message # test get() with empty String key causes error ok 64 has error ok 65 (unnamed assert) ok 66 correct error message # test del() with empty String key causes error ok 67 has error ok 68 (unnamed assert) ok 69 correct error message # test put() with empty String key causes error ok 70 has error ok 71 (unnamed assert) ok 72 correct error message # test get() with empty ArrayBuffer key causes error ok 73 has error ok 74 (unnamed assert) ok 75 correct error message # test del() with empty ArrayBuffer key causes error ok 76 has error ok 77 (unnamed assert) ok 78 correct error message # test put() with empty ArrayBuffer key causes error ok 79 has error ok 80 (unnamed assert) ok 81 correct error message # test get() with empty Array key causes error ok 82 has error ok 83 (unnamed assert) ok 84 correct error message # test del() with empty Array key causes error ok 85 has error ok 86 (unnamed assert) ok 87 correct error message # test put() with empty Array key causes error ok 88 has error ok 89 (unnamed assert) ok 90 correct error message # test put()/get()/del() with `false` value ok 91 no error ok 92 no error, has key/value for `foo false` ok 93 is a Buffer ok 94 should be equal ok 95 no error, deleted key/value for `foo false` ok 96 entry propertly deleted ok 97 is NotFound # test put()/get()/del() with `0` value ok 98 no error ok 99 no error, has key/value for `foo 0` ok 100 is a Buffer ok 101 should be equal ok 102 no error, deleted key/value for `foo 0` ok 103 entry propertly deleted ok 104 is NotFound # test put()/get()/del() with `NaN` value ok 105 no error ok 106 no error, has key/value for `foo NaN` ok 107 is a Buffer ok 108 should be equal ok 109 no error, deleted key/value for `foo NaN` ok 110 entry propertly deleted ok 111 is NotFound # test put()/get()/del() with long String value ok 112 no error ok 113 no error, has key/value for `foo` ok 114 is a Buffer ok 115 should be equal ok 116 no error, deleted key/value for `foo` ok 117 entry propertly deleted ok 118 is NotFound # test put()/get()/del() with Buffer value ok 119 no error ok 120 no error, has key/value for `foo` ok 121 is a Buffer ok 122 should be equal ok 123 no error, deleted key/value for `foo` ok 124 entry propertly deleted ok 125 is NotFound # test put()/get()/del() with Array key ok 126 no error ok 127 no error, has key/value for `1,2,3,4` ok 128 is a Buffer ok 129 should be equal ok 130 no error, deleted key/value for `1,2,3,4` ok 131 entry propertly deleted ok 132 is NotFound # test put() with null value causes error ok 133 has error ok 134 (unnamed assert) ok 135 correct error message # test put() with undefined value causes error ok 136 has error ok 137 (unnamed assert) ok 138 correct error message # test put() with empty String value causes error ok 139 has error ok 140 (unnamed assert) ok 141 correct error message # test put() with empty ArrayBuffer value causes error ok 142 has error ok 143 (unnamed assert) ok 144 correct error message # test put() with empty Array value causes error ok 145 has error ok 146 (unnamed assert) ok 147 correct error message # test put()/get()/del() with `false` value ok 148 no error ok 149 no error, has key/value for `foo false` ok 150 is a Buffer ok 151 should be equal ok 152 no error, deleted key/value for `foo false` ok 153 entry propertly deleted ok 154 is NotFound # test put()/get()/del() with `0` value ok 155 no error ok 156 no error, has key/value for `foo 0` ok 157 is a Buffer ok 158 should be equal ok 159 no error, deleted key/value for `foo 0` ok 160 entry propertly deleted ok 161 is NotFound # test put()/get()/del() with `NaN` value ok 162 no error ok 163 no error, has key/value for `foo NaN` ok 164 is a Buffer ok 165 should be equal ok 166 no error, deleted key/value for `foo NaN` ok 167 entry propertly deleted ok 168 is NotFound # test put()/get()/del() with long String value ok 169 no error ok 170 no error, has key/value for `foo` ok 171 is a Buffer ok 172 should be equal ok 173 no error, deleted key/value for `foo` ok 174 entry propertly deleted ok 175 is NotFound # test put()/get()/del() with Buffer value ok 176 no error ok 177 no error, has key/value for `foo` ok 178 is a Buffer ok 179 should be equal ok 180 no error, deleted key/value for `foo` ok 181 entry propertly deleted ok 182 is NotFound # test put()/get()/del() with Array key ok 183 no error ok 184 no error, has key/value for `1,2,3,4` ok 185 is a Buffer ok 186 should be equal ok 187 no error, deleted key/value for `1,2,3,4` ok 188 entry propertly deleted ok 189 is NotFound # tearDown ok 190 cleanup returned an error # test close() ok 191 no error ok 192 no-arg close() throws ok 193 non-callback close() throws ok 194 no error # setUp common ok 195 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 196 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 197 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 198 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 should be equal # test iterator#next after iterator#end() callback with error ok 203 no error ok 204 returned error ok 205 correct error ok 206 correct message # test twice iterator#next() throws ok 207 returned error ok 208 correct error ok 209 should be equal # test simple iterator() ok 210 no error ok 211 no error ok 212 no error ok 213 no error ok 214 correct key ok 215 correct value ok 216 no error ok 217 correct key ok 218 correct value ok 219 no error ok 220 correct key ok 221 correct value ok 222 no error ok 223 err argument is undefined ok 224 key argument is undefined ok 225 value argument is undefined ok 226 correct number of entries # setUp #2 # test full data collection ok 227 no error ok 228 correct number of entries ok 229 should be equivalent # test iterator with reverse=true ok 230 no error ok 231 correct number of entries ok 232 should be equivalent # test iterator with start=0 ok 233 no error ok 234 correct number of entries ok 235 should be equivalent # test iterator with start=50 ok 236 no error ok 237 correct number of entries ok 238 should be equivalent # test iterator with start=50 and reverse=true ok 239 no error ok 240 correct number of entries ok 241 should be equivalent # test iterator with start being a midway key (49.5) ok 242 no error ok 243 correct number of entries ok 244 should be equivalent # test iterator with start being a midway key (49999) ok 245 no error ok 246 correct number of entries ok 247 should be equivalent # test iterator with start being a midway key and reverse=true ok 248 no error ok 249 correct number of entries ok 250 should be equivalent # test iterator with end=50 ok 251 no error ok 252 correct number of entries ok 253 should be equivalent # test iterator with end being a midway key (50.5) ok 254 no error ok 255 correct number of entries ok 256 should be equivalent # test iterator with end being a midway key (50555) ok 257 no error ok 258 correct number of entries ok 259 should be equivalent # test iterator with end being a midway key and reverse=true ok 260 no error ok 261 correct number of entries ok 262 should be equivalent # test iterator with end=0 ok 263 no error ok 264 correct number of entries # test iterator with start=30 and end=70 ok 265 no error ok 266 correct number of entries ok 267 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 268 no error ok 269 correct number of entries ok 270 should be equivalent # test iterator with limit=20 ok 271 no error ok 272 correct number of entries ok 273 should be equivalent # test iterator with limit=20 and start=20 ok 274 no error ok 275 correct number of entries ok 276 should be equivalent # test iterator with limit=20 and reverse=true ok 277 no error ok 278 correct number of entries ok 279 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 280 no error ok 281 correct number of entries ok 282 should be equivalent # test iterator with end after limit ok 283 no error ok 284 correct number of entries ok 285 should be equivalent # test iterator with end before limit ok 286 no error ok 287 correct number of entries ok 288 should be equivalent # test iterator with start after database end ok 289 no error ok 290 correct number of entries # test iterator with start after database end and reverse=true ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with start and end after database and and reverse=true ok 294 no error ok 295 correct number of entries # test iterator with start as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with start as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # test iterator with end as empty string ok 302 no error ok 303 correct number of entries ok 304 should be equivalent # test iterator with end as null ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # tearDown ok 308 cleanup returned an error # setUp common ok 309 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 310 correct error message # test batch#put() with null `value` ok 311 correct error message # test batch#put() with missing `key` ok 312 correct error message # test batch#put() with null `key` ok 313 correct error message # test batch#put() with missing `key` and `value` ok 314 correct error message # test batch#del() with missing `key` ok 315 correct error message # test batch#del() with null `key` ok 316 correct error message # test batch#del() with null `key` ok 317 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 318 correct error message # test batch#put() after write() ok 319 correct error message # test batch#del() after write() ok 320 correct error message # test batch#clear() after write() ok 321 correct error message # test batch#write() after write() ok 322 correct error message # test basic batch ok 323 no error ok 324 no error ok 325 no error ok 326 correct number of entries ok 327 should be equivalent # tearDown ok 328 cleanup returned an error # setUp common ok 329 cleanup returned an error # setUp db 1..329 # tests 329 # pass 329 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # tearDown ok 44 cleanup returned an error # setUp common ok 45 cleanup returned an error # setUp db # test get() with null key causes error ok 46 has error ok 47 (unnamed assert) ok 48 correct error message # test del() with null key causes error ok 49 has error ok 50 (unnamed assert) ok 51 correct error message # test put() with null key causes error ok 52 has error ok 53 (unnamed assert) ok 54 correct error message # test get() with undefined key causes error ok 55 has error ok 56 (unnamed assert) ok 57 correct error message # test del() with undefined key causes error ok 58 has error ok 59 (unnamed assert) ok 60 correct error message # test put() with undefined key causes error ok 61 has error ok 62 (unnamed assert) ok 63 correct error message # test get() with empty String key causes error ok 64 has error ok 65 (unnamed assert) ok 66 correct error message # test del() with empty String key causes error ok 67 has error ok 68 (unnamed assert) ok 69 correct error message # test put() with empty String key causes error ok 70 has error ok 71 (unnamed assert) ok 72 correct error message # test get() with empty ArrayBuffer key causes error ok 73 has error ok 74 (unnamed assert) ok 75 correct error message # test del() with empty ArrayBuffer key causes error ok 76 has error ok 77 (unnamed assert) ok 78 correct error message # test put() with empty ArrayBuffer key causes error ok 79 has error ok 80 (unnamed assert) ok 81 correct error message # test get() with empty Array key causes error ok 82 has error ok 83 (unnamed assert) ok 84 correct error message # test del() with empty Array key causes error ok 85 has error ok 86 (unnamed assert) ok 87 correct error message # test put() with empty Array key causes error ok 88 has error ok 89 (unnamed assert) ok 90 correct error message # test put()/get()/del() with `false` value ok 91 no error ok 92 no error, has key/value for `foo false` ok 93 is a Buffer ok 94 should be equal ok 95 no error, deleted key/value for `foo false` ok 96 entry propertly deleted ok 97 is NotFound # test put()/get()/del() with `0` value ok 98 no error ok 99 no error, has key/value for `foo 0` ok 100 is a Buffer ok 101 should be equal ok 102 no error, deleted key/value for `foo 0` ok 103 entry propertly deleted ok 104 is NotFound # test put()/get()/del() with `NaN` value ok 105 no error ok 106 no error, has key/value for `foo NaN` ok 107 is a Buffer ok 108 should be equal ok 109 no error, deleted key/value for `foo NaN` ok 110 entry propertly deleted ok 111 is NotFound # test put()/get()/del() with long String value ok 112 no error ok 113 no error, has key/value for `foo` ok 114 is a Buffer ok 115 should be equal ok 116 no error, deleted key/value for `foo` ok 117 entry propertly deleted ok 118 is NotFound # test put()/get()/del() with Buffer value ok 119 no error ok 120 no error, has key/value for `foo` ok 121 is a Buffer ok 122 should be equal ok 123 no error, deleted key/value for `foo` ok 124 entry propertly deleted ok 125 is NotFound # test put()/get()/del() with Array key ok 126 no error ok 127 no error, has key/value for `1,2,3,4` ok 128 is a Buffer ok 129 should be equal ok 130 no error, deleted key/value for `1,2,3,4` ok 131 entry propertly deleted ok 132 is NotFound # test put() with null value causes error ok 133 has error ok 134 (unnamed assert) ok 135 correct error message # test put() with undefined value causes error ok 136 has error ok 137 (unnamed assert) ok 138 correct error message # test put() with empty String value causes error ok 139 has error ok 140 (unnamed assert) ok 141 correct error message # test put() with empty ArrayBuffer value causes error ok 142 has error ok 143 (unnamed assert) ok 144 correct error message # test put() with empty Array value causes error ok 145 has error ok 146 (unnamed assert) ok 147 correct error message # test put()/get()/del() with `false` value ok 148 no error ok 149 no error, has key/value for `foo false` ok 150 is a Buffer ok 151 should be equal ok 152 no error, deleted key/value for `foo false` ok 153 entry propertly deleted ok 154 is NotFound # test put()/get()/del() with `0` value ok 155 no error ok 156 no error, has key/value for `foo 0` ok 157 is a Buffer ok 158 should be equal ok 159 no error, deleted key/value for `foo 0` ok 160 entry propertly deleted ok 161 is NotFound # test put()/get()/del() with `NaN` value ok 162 no error ok 163 no error, has key/value for `foo NaN` ok 164 is a Buffer ok 165 should be equal ok 166 no error, deleted key/value for `foo NaN` ok 167 entry propertly deleted ok 168 is NotFound # test put()/get()/del() with long String value ok 169 no error ok 170 no error, has key/value for `foo` ok 171 is a Buffer ok 172 should be equal ok 173 no error, deleted key/value for `foo` ok 174 entry propertly deleted ok 175 is NotFound # test put()/get()/del() with Buffer value ok 176 no error ok 177 no error, has key/value for `foo` ok 178 is a Buffer ok 179 should be equal ok 180 no error, deleted key/value for `foo` ok 181 entry propertly deleted ok 182 is NotFound # test put()/get()/del() with Array key ok 183 no error ok 184 no error, has key/value for `1,2,3,4` ok 185 is a Buffer ok 186 should be equal ok 187 no error, deleted key/value for `1,2,3,4` ok 188 entry propertly deleted ok 189 is NotFound # tearDown ok 190 cleanup returned an error # test close() ok 191 no error ok 192 no-arg close() throws ok 193 non-callback close() throws ok 194 no error # setUp common ok 195 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 196 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 197 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 198 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 should be equal # test iterator#next after iterator#end() callback with error ok 203 no error ok 204 returned error ok 205 correct error ok 206 correct message # test twice iterator#next() throws ok 207 returned error ok 208 correct error ok 209 should be equal # test simple iterator() ok 210 no error ok 211 no error ok 212 no error ok 213 no error ok 214 correct key ok 215 correct value ok 216 no error ok 217 correct key ok 218 correct value ok 219 no error ok 220 correct key ok 221 correct value ok 222 no error ok 223 err argument is undefined ok 224 key argument is undefined ok 225 value argument is undefined ok 226 correct number of entries # setUp #2 # test full data collection ok 227 no error ok 228 correct number of entries ok 229 should be equivalent # test iterator with reverse=true ok 230 no error ok 231 correct number of entries ok 232 should be equivalent # test iterator with start=0 ok 233 no error ok 234 correct number of entries ok 235 should be equivalent # test iterator with start=50 ok 236 no error ok 237 correct number of entries ok 238 should be equivalent # test iterator with start=50 and reverse=true ok 239 no error ok 240 correct number of entries ok 241 should be equivalent # test iterator with start being a midway key (49.5) ok 242 no error ok 243 correct number of entries ok 244 should be equivalent # test iterator with start being a midway key (49999) ok 245 no error ok 246 correct number of entries ok 247 should be equivalent # test iterator with start being a midway key and reverse=true ok 248 no error ok 249 correct number of entries ok 250 should be equivalent # test iterator with end=50 ok 251 no error ok 252 correct number of entries ok 253 should be equivalent # test iterator with end being a midway key (50.5) ok 254 no error ok 255 correct number of entries ok 256 should be equivalent # test iterator with end being a midway key (50555) ok 257 no error ok 258 correct number of entries ok 259 should be equivalent # test iterator with end being a midway key and reverse=true ok 260 no error ok 261 correct number of entries ok 262 should be equivalent # test iterator with end=0 ok 263 no error ok 264 correct number of entries # test iterator with start=30 and end=70 ok 265 no error ok 266 correct number of entries ok 267 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 268 no error ok 269 correct number of entries ok 270 should be equivalent # test iterator with limit=20 ok 271 no error ok 272 correct number of entries ok 273 should be equivalent # test iterator with limit=20 and start=20 ok 274 no error ok 275 correct number of entries ok 276 should be equivalent # test iterator with limit=20 and reverse=true ok 277 no error ok 278 correct number of entries ok 279 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 280 no error ok 281 correct number of entries ok 282 should be equivalent # test iterator with end after limit ok 283 no error ok 284 correct number of entries ok 285 should be equivalent # test iterator with end before limit ok 286 no error ok 287 correct number of entries ok 288 should be equivalent # test iterator with start after database end ok 289 no error ok 290 correct number of entries # test iterator with start after database end and reverse=true ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with start and end after database and and reverse=true ok 294 no error ok 295 correct number of entries # test iterator with start as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with start as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # test iterator with end as empty string ok 302 no error ok 303 correct number of entries ok 304 should be equivalent # test iterator with end as null ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # tearDown ok 308 cleanup returned an error # setUp common ok 309 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 310 correct error message # test batch#put() with null `value` ok 311 correct error message # test batch#put() with missing `key` ok 312 correct error message # test batch#put() with null `key` ok 313 correct error message # test batch#put() with missing `key` and `value` ok 314 correct error message # test batch#del() with missing `key` ok 315 correct error message # test batch#del() with null `key` ok 316 correct error message # test batch#del() with null `key` ok 317 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 318 correct error message # test batch#put() after write() ok 319 correct error message # test batch#del() after write() ok 320 correct error message # test batch#clear() after write() ok 321 correct error message # test batch#write() after write() ok 322 correct error message # test basic batch ok 323 no error ok 324 no error ok 325 no error ok 326 correct number of entries ok 327 should be equivalent # tearDown ok 328 cleanup returned an error # setUp common ok 329 cleanup returned an error # setUp db 1..329 # tests 329 # pass 329 # ok
timeout waiting to hear back from iexplore/9.0
not ok 1 Error: 'ArrayBuffer' is undefined on line 4576
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # test del on non-existent key ok 14 should not error on delete # tearDown ok 15 cleanup returned an error # setUp common ok 16 cleanup returned an error # setUp db # test argument-less put() throws ok 17 no-arg put() throws # test callback-less, 1-arg, put() throws ok 18 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 19 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 20 callback-less, 3-arg put() throws # test simple put() ok 21 no error ok 22 no error ok 23 should be equal # test object value put() ok 24 no error ok 25 no error ok 26 should be equal # tearDown ok 27 cleanup returned an error # setUp common ok 28 cleanup returned an error # setUp db # test argument-less get() throws ok 29 no-arg get() throws # test callback-less, 1-arg, get() throws ok 30 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 31 callback-less, 2-arg get() throws # test simple get() ok 32 no error ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should not be string by default ok 39 (unnamed assert) ok 40 should be equal ok 41 no error ok 42 should be string if not buffer ok 43 should be equal # tearDown ok 44 cleanup returned an error # setUp common ok 45 cleanup returned an error # setUp db # test get() with null key causes error ok 46 has error ok 47 (unnamed assert) ok 48 correct error message # test del() with null key causes error ok 49 has error ok 50 (unnamed assert) ok 51 correct error message # test put() with null key causes error ok 52 has error ok 53 (unnamed assert) ok 54 correct error message # test get() with undefined key causes error ok 55 has error ok 56 (unnamed assert) ok 57 correct error message # test del() with undefined key causes error ok 58 has error ok 59 (unnamed assert) ok 60 correct error message # test put() with undefined key causes error ok 61 has error ok 62 (unnamed assert) ok 63 correct error message # test get() with empty String key causes error ok 64 has error ok 65 (unnamed assert) ok 66 correct error message # test del() with empty String key causes error ok 67 has error ok 68 (unnamed assert) ok 69 correct error message # test put() with empty String key causes error ok 70 has error ok 71 (unnamed assert) ok 72 correct error message # test get() with empty ArrayBuffer key causes error ok 73 has error ok 74 (unnamed assert) ok 75 correct error message # test del() with empty ArrayBuffer key causes error ok 76 has error ok 77 (unnamed assert) ok 78 correct error message # test put() with empty ArrayBuffer key causes error ok 79 has error ok 80 (unnamed assert) ok 81 correct error message # test get() with empty Array key causes error ok 82 has error ok 83 (unnamed assert) ok 84 correct error message # test del() with empty Array key causes error ok 85 has error ok 86 (unnamed assert) ok 87 correct error message # test put() with empty Array key causes error ok 88 has error ok 89 (unnamed assert) ok 90 correct error message # test put()/get()/del() with `false` value ok 91 no error ok 92 no error, has key/value for `foo false` ok 93 is a Buffer ok 94 should be equal ok 95 no error, deleted key/value for `foo false` ok 96 entry propertly deleted ok 97 is NotFound # test put()/get()/del() with `0` value ok 98 no error ok 99 no error, has key/value for `foo 0` ok 100 is a Buffer ok 101 should be equal ok 102 no error, deleted key/value for `foo 0` ok 103 entry propertly deleted ok 104 is NotFound # test put()/get()/del() with `NaN` value ok 105 no error ok 106 no error, has key/value for `foo NaN` ok 107 is a Buffer ok 108 should be equal ok 109 no error, deleted key/value for `foo NaN` ok 110 entry propertly deleted ok 111 is NotFound # test put()/get()/del() with long String value ok 112 no error ok 113 no error, has key/value for `foo` ok 114 is a Buffer ok 115 should be equal ok 116 no error, deleted key/value for `foo` ok 117 entry propertly deleted ok 118 is NotFound # test put()/get()/del() with Buffer value ok 119 no error ok 120 no error, has key/value for `foo` ok 121 is a Buffer ok 122 should be equal ok 123 no error, deleted key/value for `foo` ok 124 entry propertly deleted ok 125 is NotFound # test put()/get()/del() with Array key ok 126 no error ok 127 no error, has key/value for `1,2,3,4` ok 128 is a Buffer ok 129 should be equal ok 130 no error, deleted key/value for `1,2,3,4` ok 131 entry propertly deleted ok 132 is NotFound # test put() with null value causes error ok 133 has error ok 134 (unnamed assert) ok 135 correct error message # test put() with undefined value causes error ok 136 has error ok 137 (unnamed assert) ok 138 correct error message # test put() with empty String value causes error ok 139 has error ok 140 (unnamed assert) ok 141 correct error message # test put() with empty ArrayBuffer value causes error ok 142 has error ok 143 (unnamed assert) ok 144 correct error message # test put() with empty Array value causes error ok 145 has error ok 146 (unnamed assert) ok 147 correct error message # test put()/get()/del() with `false` value ok 148 no error ok 149 no error, has key/value for `foo false` ok 150 is a Buffer ok 151 should be equal ok 152 no error, deleted key/value for `foo false` ok 153 entry propertly deleted ok 154 is NotFound # test put()/get()/del() with `0` value ok 155 no error ok 156 no error, has key/value for `foo 0` ok 157 is a Buffer ok 158 should be equal ok 159 no error, deleted key/value for `foo 0` ok 160 entry propertly deleted ok 161 is NotFound # test put()/get()/del() with `NaN` value ok 162 no error ok 163 no error, has key/value for `foo NaN` ok 164 is a Buffer ok 165 should be equal ok 166 no error, deleted key/value for `foo NaN` ok 167 entry propertly deleted ok 168 is NotFound # test put()/get()/del() with long String value ok 169 no error ok 170 no error, has key/value for `foo` ok 171 is a Buffer ok 172 should be equal ok 173 no error, deleted key/value for `foo` ok 174 entry propertly deleted ok 175 is NotFound # test put()/get()/del() with Buffer value ok 176 no error ok 177 no error, has key/value for `foo` ok 178 is a Buffer ok 179 should be equal ok 180 no error, deleted key/value for `foo` ok 181 entry propertly deleted ok 182 is NotFound # test put()/get()/del() with Array key ok 183 no error ok 184 no error, has key/value for `1,2,3,4` ok 185 is a Buffer ok 186 should be equal ok 187 no error, deleted key/value for `1,2,3,4` ok 188 entry propertly deleted ok 189 is NotFound # tearDown ok 190 cleanup returned an error # test close() ok 191 no error ok 192 no-arg close() throws ok 193 non-callback close() throws ok 194 no error # setUp common ok 195 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 196 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 197 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 198 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 should be equal # test iterator#next after iterator#end() callback with error ok 203 no error ok 204 returned error ok 205 correct error ok 206 correct message # test twice iterator#next() throws ok 207 returned error ok 208 correct error ok 209 should be equal # test simple iterator() ok 210 no error ok 211 no error ok 212 no error ok 213 no error ok 214 correct key ok 215 correct value ok 216 no error ok 217 correct key ok 218 correct value ok 219 no error ok 220 correct key ok 221 correct value ok 222 no error ok 223 err argument is undefined ok 224 key argument is undefined ok 225 value argument is undefined ok 226 correct number of entries # setUp #2 # test full data collection ok 227 no error ok 228 correct number of entries ok 229 should be equivalent # test iterator with reverse=true ok 230 no error ok 231 correct number of entries ok 232 should be equivalent # test iterator with start=0 ok 233 no error ok 234 correct number of entries ok 235 should be equivalent # test iterator with start=50 ok 236 no error ok 237 correct number of entries ok 238 should be equivalent # test iterator with start=50 and reverse=true ok 239 no error ok 240 correct number of entries ok 241 should be equivalent # test iterator with start being a midway key (49.5) ok 242 no error ok 243 correct number of entries ok 244 should be equivalent # test iterator with start being a midway key (49999) ok 245 no error ok 246 correct number of entries ok 247 should be equivalent # test iterator with start being a midway key and reverse=true ok 248 no error ok 249 correct number of entries ok 250 should be equivalent # test iterator with end=50 ok 251 no error ok 252 correct number of entries ok 253 should be equivalent # test iterator with end being a midway key (50.5) ok 254 no error ok 255 correct number of entries ok 256 should be equivalent # test iterator with end being a midway key (50555) ok 257 no error ok 258 correct number of entries ok 259 should be equivalent # test iterator with end being a midway key and reverse=true ok 260 no error ok 261 correct number of entries ok 262 should be equivalent # test iterator with end=0 ok 263 no error ok 264 correct number of entries # test iterator with start=30 and end=70 ok 265 no error ok 266 correct number of entries ok 267 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 268 no error ok 269 correct number of entries ok 270 should be equivalent # test iterator with limit=20 ok 271 no error ok 272 correct number of entries ok 273 should be equivalent # test iterator with limit=20 and start=20 ok 274 no error ok 275 correct number of entries ok 276 should be equivalent # test iterator with limit=20 and reverse=true ok 277 no error ok 278 correct number of entries ok 279 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 280 no error ok 281 correct number of entries ok 282 should be equivalent # test iterator with end after limit ok 283 no error ok 284 correct number of entries ok 285 should be equivalent # test iterator with end before limit ok 286 no error ok 287 correct number of entries ok 288 should be equivalent # test iterator with start after database end ok 289 no error ok 290 correct number of entries # test iterator with start after database end and reverse=true ok 291 no error ok 292 correct number of entries ok 293 should be equivalent # test iterator with start and end after database and and reverse=true ok 294 no error ok 295 correct number of entries # test iterator with start as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with start as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # test iterator with end as empty string ok 302 no error ok 303 correct number of entries ok 304 should be equivalent # test iterator with end as null ok 305 no error ok 306 correct number of entries ok 307 should be equivalent # tearDown ok 308 cleanup returned an error # setUp common ok 309 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 310 correct error message # test batch#put() with null `value` ok 311 correct error message # test batch#put() with missing `key` ok 312 correct error message # test batch#put() with null `key` ok 313 correct error message # test batch#put() with missing `key` and `value` ok 314 correct error message # test batch#del() with missing `key` ok 315 correct error message # test batch#del() with null `key` ok 316 correct error message # test batch#del() with null `key` ok 317 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 318 correct error message # test batch#put() after write() ok 319 correct error message # test batch#del() after write() ok 320 correct error message # test batch#clear() after write() ok 321 correct error message # test batch#write() after write() ok 322 correct error message # test basic batch ok 323 no error ok 324 no error ok 325 no error ok 326 correct number of entries ok 327 should be equivalent # tearDown ok 328 cleanup returned an error # setUp common ok 329 cleanup returned an error # setUp db 1..329 # tests 329 # pass 329 # ok
2013-07-08 02:49:19
8.0
✓10.0
9.0
23.0
24.0
25.0
canary
17.0
18.0
19.0
nightly
✓6.0
5.0.5
5.1
11.5
11.6
12.0
next
✓6.0
✓6.0
4.2
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # test object value put() ok 23 no error ok 24 no error ok 25 should be equal # tearDown ok 26 cleanup returned an error # setUp common ok 27 cleanup returned an error # setUp db # test argument-less get() throws ok 28 no-arg get() throws # test callback-less, 1-arg, get() throws ok 29 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 30 callback-less, 2-arg get() throws # test simple get() ok 31 no error ok 32 no error ok 33 should not be string by default ok 34 (unnamed assert) ok 35 should be equal ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should be string if not buffer ok 42 should be equal # tearDown ok 43 cleanup returned an error # setUp common ok 44 cleanup returned an error # setUp db # test get() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test del() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test put() with null key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test get() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test del() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test put() with undefined key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test get() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test del() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test put() with empty String key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test get() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test del() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test put() with empty ArrayBuffer key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test get() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test del() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put() with empty Array key causes error ok 87 has error ok 88 (unnamed assert) ok 89 correct error message # test put()/get()/del() with `false` value ok 90 no error ok 91 no error, has key/value for `foo false` ok 92 is a Buffer ok 93 should be equal ok 94 no error, deleted key/value for `foo false` ok 95 entry propertly deleted ok 96 is NotFound # test put()/get()/del() with `0` value ok 97 no error ok 98 no error, has key/value for `foo 0` ok 99 is a Buffer ok 100 should be equal ok 101 no error, deleted key/value for `foo 0` ok 102 entry propertly deleted ok 103 is NotFound # test put()/get()/del() with `NaN` value ok 104 no error ok 105 no error, has key/value for `foo NaN` ok 106 is a Buffer ok 107 should be equal ok 108 no error, deleted key/value for `foo NaN` ok 109 entry propertly deleted ok 110 is NotFound # test put()/get()/del() with long String value ok 111 no error ok 112 no error, has key/value for `foo` ok 113 is a Buffer ok 114 should be equal ok 115 no error, deleted key/value for `foo` ok 116 entry propertly deleted ok 117 is NotFound # test put()/get()/del() with Buffer value ok 118 no error ok 119 no error, has key/value for `foo` ok 120 is a Buffer ok 121 should be equal ok 122 no error, deleted key/value for `foo` ok 123 entry propertly deleted ok 124 is NotFound # test put()/get()/del() with Array key ok 125 no error ok 126 no error, has key/value for `1,2,3,4` ok 127 is a Buffer ok 128 should be equal ok 129 no error, deleted key/value for `1,2,3,4` ok 130 entry propertly deleted ok 131 is NotFound # test put() with null value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with undefined value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty String value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty ArrayBuffer value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put() with empty Array value causes error ok 144 has error ok 145 (unnamed assert) ok 146 correct error message # test put()/get()/del() with `false` value ok 147 no error ok 148 no error, has key/value for `foo false` ok 149 is a Buffer ok 150 should be equal ok 151 no error, deleted key/value for `foo false` ok 152 entry propertly deleted ok 153 is NotFound # test put()/get()/del() with `0` value ok 154 no error ok 155 no error, has key/value for `foo 0` ok 156 is a Buffer ok 157 should be equal ok 158 no error, deleted key/value for `foo 0` ok 159 entry propertly deleted ok 160 is NotFound # test put()/get()/del() with `NaN` value ok 161 no error ok 162 no error, has key/value for `foo NaN` ok 163 is a Buffer ok 164 should be equal ok 165 no error, deleted key/value for `foo NaN` ok 166 entry propertly deleted ok 167 is NotFound # test put()/get()/del() with long String value ok 168 no error ok 169 no error, has key/value for `foo` ok 170 is a Buffer ok 171 should be equal ok 172 no error, deleted key/value for `foo` ok 173 entry propertly deleted ok 174 is NotFound # test put()/get()/del() with Buffer value ok 175 no error ok 176 no error, has key/value for `foo` ok 177 is a Buffer ok 178 should be equal ok 179 no error, deleted key/value for `foo` ok 180 entry propertly deleted ok 181 is NotFound # test put()/get()/del() with Array key ok 182 no error ok 183 no error, has key/value for `1,2,3,4` ok 184 is a Buffer ok 185 should be equal ok 186 no error, deleted key/value for `1,2,3,4` ok 187 entry propertly deleted ok 188 is NotFound # tearDown ok 189 cleanup returned an error # test close() ok 190 no error ok 191 no-arg close() throws ok 192 non-callback close() throws ok 193 no error # setUp common ok 194 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 195 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 196 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 197 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 198 no error ok 199 returned error ok 200 correct error ok 201 should be equal # test iterator#next after iterator#end() callback with error ok 202 no error ok 203 returned error ok 204 correct error ok 205 correct message # test twice iterator#next() throws ok 206 returned error ok 207 correct error ok 208 should be equal # test simple iterator() ok 209 no error ok 210 no error ok 211 no error ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 correct key ok 220 correct value ok 221 no error ok 222 err argument is undefined ok 223 key argument is undefined ok 224 value argument is undefined ok 225 correct number of entries # setUp #2 # test full data collection ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with reverse=true ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=0 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start=50 and reverse=true ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49.5) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key (49999) ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with start being a midway key and reverse=true ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end=50 ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50.5) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key (50555) ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end being a midway key and reverse=true ok 259 no error ok 260 correct number of entries ok 261 should be equivalent # test iterator with end=0 ok 262 no error ok 263 correct number of entries # test iterator with start=30 and end=70 ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and start=20 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end after limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with end before limit ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start after database end and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with start and end after database and and reverse=true ok 291 no error ok 292 correct number of entries # test iterator with start as empty string ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with start as null ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as empty string ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # test iterator with end as null ok 302 no error ok 303 correct number of entries ok 304 should be equivalent # tearDown ok 305 cleanup returned an error # setUp common ok 306 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 307 correct error message # test batch#put() with null `value` ok 308 correct error message # test batch#put() with missing `key` ok 309 correct error message # test batch#put() with null `key` ok 310 correct error message # test batch#put() with missing `key` and `value` ok 311 correct error message # test batch#del() with missing `key` ok 312 correct error message # test batch#del() with null `key` ok 313 correct error message # test batch#del() with null `key` ok 314 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 315 correct error message # test basic batch ok 316 no error ok 317 no error ok 318 no error ok 319 correct number of entries ok 320 should be equivalent # tearDown ok 321 cleanup returned an error # setUp common ok 322 cleanup returned an error # setUp db 1..322 # tests 322 # pass 322 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # test object value put() ok 23 no error ok 24 no error ok 25 should be equal # tearDown ok 26 cleanup returned an error # setUp common ok 27 cleanup returned an error # setUp db # test argument-less get() throws ok 28 no-arg get() throws # test callback-less, 1-arg, get() throws ok 29 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 30 callback-less, 2-arg get() throws # test simple get() ok 31 no error ok 32 no error ok 33 should not be string by default ok 34 (unnamed assert) ok 35 should be equal ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should be string if not buffer ok 42 should be equal # tearDown ok 43 cleanup returned an error # setUp common ok 44 cleanup returned an error # setUp db # test get() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test del() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test put() with null key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test get() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test del() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test put() with undefined key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test get() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test del() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test put() with empty String key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test get() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test del() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test put() with empty ArrayBuffer key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test get() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test del() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put() with empty Array key causes error ok 87 has error ok 88 (unnamed assert) ok 89 correct error message # test put()/get()/del() with `false` value ok 90 no error ok 91 no error, has key/value for `foo false` ok 92 is a Buffer ok 93 should be equal ok 94 no error, deleted key/value for `foo false` ok 95 entry propertly deleted ok 96 is NotFound # test put()/get()/del() with `0` value ok 97 no error ok 98 no error, has key/value for `foo 0` ok 99 is a Buffer ok 100 should be equal ok 101 no error, deleted key/value for `foo 0` ok 102 entry propertly deleted ok 103 is NotFound # test put()/get()/del() with `NaN` value ok 104 no error ok 105 no error, has key/value for `foo NaN` ok 106 is a Buffer ok 107 should be equal ok 108 no error, deleted key/value for `foo NaN` ok 109 entry propertly deleted ok 110 is NotFound # test put()/get()/del() with long String value ok 111 no error ok 112 no error, has key/value for `foo` ok 113 is a Buffer ok 114 should be equal ok 115 no error, deleted key/value for `foo` ok 116 entry propertly deleted ok 117 is NotFound # test put()/get()/del() with Buffer value ok 118 no error ok 119 no error, has key/value for `foo` ok 120 is a Buffer ok 121 should be equal ok 122 no error, deleted key/value for `foo` ok 123 entry propertly deleted ok 124 is NotFound # test put()/get()/del() with Array key ok 125 no error ok 126 no error, has key/value for `1,2,3,4` ok 127 is a Buffer ok 128 should be equal ok 129 no error, deleted key/value for `1,2,3,4` ok 130 entry propertly deleted ok 131 is NotFound # test put() with null value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with undefined value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty String value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty ArrayBuffer value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put() with empty Array value causes error ok 144 has error ok 145 (unnamed assert) ok 146 correct error message # test put()/get()/del() with `false` value ok 147 no error ok 148 no error, has key/value for `foo false` ok 149 is a Buffer ok 150 should be equal ok 151 no error, deleted key/value for `foo false` ok 152 entry propertly deleted ok 153 is NotFound # test put()/get()/del() with `0` value ok 154 no error ok 155 no error, has key/value for `foo 0` ok 156 is a Buffer ok 157 should be equal ok 158 no error, deleted key/value for `foo 0` ok 159 entry propertly deleted ok 160 is NotFound # test put()/get()/del() with `NaN` value ok 161 no error ok 162 no error, has key/value for `foo NaN` ok 163 is a Buffer ok 164 should be equal ok 165 no error, deleted key/value for `foo NaN` ok 166 entry propertly deleted ok 167 is NotFound # test put()/get()/del() with long String value ok 168 no error ok 169 no error, has key/value for `foo` ok 170 is a Buffer ok 171 should be equal ok 172 no error, deleted key/value for `foo` ok 173 entry propertly deleted ok 174 is NotFound # test put()/get()/del() with Buffer value ok 175 no error ok 176 no error, has key/value for `foo` ok 177 is a Buffer ok 178 should be equal ok 179 no error, deleted key/value for `foo` ok 180 entry propertly deleted ok 181 is NotFound # test put()/get()/del() with Array key ok 182 no error ok 183 no error, has key/value for `1,2,3,4` ok 184 is a Buffer ok 185 should be equal ok 186 no error, deleted key/value for `1,2,3,4` ok 187 entry propertly deleted ok 188 is NotFound # tearDown ok 189 cleanup returned an error # test close() ok 190 no error ok 191 no-arg close() throws ok 192 non-callback close() throws ok 193 no error # setUp common ok 194 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 195 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 196 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 197 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 198 no error ok 199 returned error ok 200 correct error ok 201 should be equal # test iterator#next after iterator#end() callback with error ok 202 no error ok 203 returned error ok 204 correct error ok 205 correct message # test twice iterator#next() throws ok 206 returned error ok 207 correct error ok 208 should be equal # test simple iterator() ok 209 no error ok 210 no error ok 211 no error ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 correct key ok 220 correct value ok 221 no error ok 222 err argument is undefined ok 223 key argument is undefined ok 224 value argument is undefined ok 225 correct number of entries # setUp #2 # test full data collection ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with reverse=true ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=0 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start=50 and reverse=true ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49.5) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key (49999) ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with start being a midway key and reverse=true ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end=50 ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50.5) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key (50555) ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end being a midway key and reverse=true ok 259 no error ok 260 correct number of entries ok 261 should be equivalent # test iterator with end=0 ok 262 no error ok 263 correct number of entries # test iterator with start=30 and end=70 ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and start=20 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end after limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with end before limit ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start after database end and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with start and end after database and and reverse=true ok 291 no error ok 292 correct number of entries # test iterator with start as empty string ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with start as null ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as empty string ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # test iterator with end as null ok 302 no error ok 303 correct number of entries ok 304 should be equivalent # tearDown ok 305 cleanup returned an error # setUp common ok 306 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 307 correct error message # test batch#put() with null `value` ok 308 correct error message # test batch#put() with missing `key` ok 309 correct error message # test batch#put() with null `key` ok 310 correct error message # test batch#put() with missing `key` and `value` ok 311 correct error message # test batch#del() with missing `key` ok 312 correct error message # test batch#del() with null `key` ok 313 correct error message # test batch#del() with null `key` ok 314 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 315 correct error message # test basic batch ok 316 no error ok 317 no error ok 318 no error ok 319 correct number of entries ok 320 should be equivalent # tearDown ok 321 cleanup returned an error # setUp common ok 322 cleanup returned an error # setUp db 1..322 # tests 322 # pass 322 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # test object value put() ok 23 no error ok 24 no error ok 25 should be equal # tearDown ok 26 cleanup returned an error # setUp common ok 27 cleanup returned an error # setUp db # test argument-less get() throws ok 28 no-arg get() throws # test callback-less, 1-arg, get() throws ok 29 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 30 callback-less, 2-arg get() throws # test simple get() ok 31 no error ok 32 no error ok 33 should not be string by default ok 34 (unnamed assert) ok 35 should be equal ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should be string if not buffer ok 42 should be equal # tearDown ok 43 cleanup returned an error # setUp common ok 44 cleanup returned an error # setUp db # test get() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test del() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test put() with null key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test get() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test del() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test put() with undefined key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test get() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test del() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test put() with empty String key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test get() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test del() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test put() with empty ArrayBuffer key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test get() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test del() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put() with empty Array key causes error ok 87 has error ok 88 (unnamed assert) ok 89 correct error message # test put()/get()/del() with `false` value ok 90 no error ok 91 no error, has key/value for `foo false` ok 92 is a Buffer ok 93 should be equal ok 94 no error, deleted key/value for `foo false` ok 95 entry propertly deleted ok 96 is NotFound # test put()/get()/del() with `0` value ok 97 no error ok 98 no error, has key/value for `foo 0` ok 99 is a Buffer ok 100 should be equal ok 101 no error, deleted key/value for `foo 0` ok 102 entry propertly deleted ok 103 is NotFound # test put()/get()/del() with `NaN` value ok 104 no error ok 105 no error, has key/value for `foo NaN` ok 106 is a Buffer ok 107 should be equal ok 108 no error, deleted key/value for `foo NaN` ok 109 entry propertly deleted ok 110 is NotFound # test put()/get()/del() with long String value ok 111 no error ok 112 no error, has key/value for `foo` ok 113 is a Buffer ok 114 should be equal ok 115 no error, deleted key/value for `foo` ok 116 entry propertly deleted ok 117 is NotFound # test put()/get()/del() with Buffer value ok 118 no error ok 119 no error, has key/value for `foo` ok 120 is a Buffer ok 121 should be equal ok 122 no error, deleted key/value for `foo` ok 123 entry propertly deleted ok 124 is NotFound # test put()/get()/del() with Array key ok 125 no error ok 126 no error, has key/value for `1,2,3,4` ok 127 is a Buffer ok 128 should be equal ok 129 no error, deleted key/value for `1,2,3,4` ok 130 entry propertly deleted ok 131 is NotFound # test put() with null value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with undefined value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty String value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty ArrayBuffer value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put() with empty Array value causes error ok 144 has error ok 145 (unnamed assert) ok 146 correct error message # test put()/get()/del() with `false` value ok 147 no error ok 148 no error, has key/value for `foo false` ok 149 is a Buffer ok 150 should be equal ok 151 no error, deleted key/value for `foo false` ok 152 entry propertly deleted ok 153 is NotFound # test put()/get()/del() with `0` value ok 154 no error ok 155 no error, has key/value for `foo 0` ok 156 is a Buffer ok 157 should be equal ok 158 no error, deleted key/value for `foo 0` ok 159 entry propertly deleted ok 160 is NotFound # test put()/get()/del() with `NaN` value ok 161 no error ok 162 no error, has key/value for `foo NaN` ok 163 is a Buffer ok 164 should be equal ok 165 no error, deleted key/value for `foo NaN` ok 166 entry propertly deleted ok 167 is NotFound # test put()/get()/del() with long String value ok 168 no error ok 169 no error, has key/value for `foo` ok 170 is a Buffer ok 171 should be equal ok 172 no error, deleted key/value for `foo` ok 173 entry propertly deleted ok 174 is NotFound # test put()/get()/del() with Buffer value ok 175 no error ok 176 no error, has key/value for `foo` ok 177 is a Buffer ok 178 should be equal ok 179 no error, deleted key/value for `foo` ok 180 entry propertly deleted ok 181 is NotFound # test put()/get()/del() with Array key ok 182 no error ok 183 no error, has key/value for `1,2,3,4` ok 184 is a Buffer ok 185 should be equal ok 186 no error, deleted key/value for `1,2,3,4` ok 187 entry propertly deleted ok 188 is NotFound # tearDown ok 189 cleanup returned an error # test close() ok 190 no error ok 191 no-arg close() throws ok 192 non-callback close() throws ok 193 no error # setUp common ok 194 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 195 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 196 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 197 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 198 no error ok 199 returned error ok 200 correct error ok 201 should be equal # test iterator#next after iterator#end() callback with error ok 202 no error ok 203 returned error ok 204 correct error ok 205 correct message # test twice iterator#next() throws ok 206 returned error ok 207 correct error ok 208 should be equal # test simple iterator() ok 209 no error ok 210 no error ok 211 no error ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 correct key ok 220 correct value ok 221 no error ok 222 err argument is undefined ok 223 key argument is undefined ok 224 value argument is undefined ok 225 correct number of entries # setUp #2 # test full data collection ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with reverse=true ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=0 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start=50 and reverse=true ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49.5) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key (49999) ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with start being a midway key and reverse=true ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end=50 ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50.5) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key (50555) ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end being a midway key and reverse=true ok 259 no error ok 260 correct number of entries ok 261 should be equivalent # test iterator with end=0 ok 262 no error ok 263 correct number of entries # test iterator with start=30 and end=70 ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and start=20 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end after limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with end before limit ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start after database end and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with start and end after database and and reverse=true ok 291 no error ok 292 correct number of entries # test iterator with start as empty string ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with start as null ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as empty string ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # test iterator with end as null ok 302 no error ok 303 correct number of entries ok 304 should be equivalent # tearDown ok 305 cleanup returned an error # setUp common ok 306 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 307 correct error message # test batch#put() with null `value` ok 308 correct error message # test batch#put() with missing `key` ok 309 correct error message # test batch#put() with null `key` ok 310 correct error message # test batch#put() with missing `key` and `value` ok 311 correct error message # test batch#del() with missing `key` ok 312 correct error message # test batch#del() with null `key` ok 313 correct error message # test batch#del() with null `key` ok 314 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 315 correct error message # test basic batch ok 316 no error ok 317 no error ok 318 no error ok 319 correct number of entries ok 320 should be equivalent # tearDown ok 321 cleanup returned an error # setUp common ok 322 cleanup returned an error # setUp db 1..322 # tests 322 # pass 322 # ok
not ok 1 Error: 'ArrayBuffer' is undefined on line 4471
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # test object value put() ok 23 no error ok 24 no error ok 25 should be equal # tearDown ok 26 cleanup returned an error # setUp common ok 27 cleanup returned an error # setUp db # test argument-less get() throws ok 28 no-arg get() throws # test callback-less, 1-arg, get() throws ok 29 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 30 callback-less, 2-arg get() throws # test simple get() ok 31 no error ok 32 no error ok 33 should not be string by default ok 34 (unnamed assert) ok 35 should be equal ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should be string if not buffer ok 42 should be equal # tearDown ok 43 cleanup returned an error # setUp common ok 44 cleanup returned an error # setUp db # test get() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test del() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test put() with null key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test get() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test del() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test put() with undefined key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test get() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test del() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test put() with empty String key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test get() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test del() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test put() with empty ArrayBuffer key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test get() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test del() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put() with empty Array key causes error ok 87 has error ok 88 (unnamed assert) ok 89 correct error message # test put()/get()/del() with `false` value ok 90 no error ok 91 no error, has key/value for `foo false` ok 92 is a Buffer ok 93 should be equal ok 94 no error, deleted key/value for `foo false` ok 95 entry propertly deleted ok 96 is NotFound # test put()/get()/del() with `0` value ok 97 no error ok 98 no error, has key/value for `foo 0` ok 99 is a Buffer ok 100 should be equal ok 101 no error, deleted key/value for `foo 0` ok 102 entry propertly deleted ok 103 is NotFound # test put()/get()/del() with `NaN` value ok 104 no error ok 105 no error, has key/value for `foo NaN` ok 106 is a Buffer ok 107 should be equal ok 108 no error, deleted key/value for `foo NaN` ok 109 entry propertly deleted ok 110 is NotFound # test put()/get()/del() with long String value ok 111 no error ok 112 no error, has key/value for `foo` ok 113 is a Buffer ok 114 should be equal ok 115 no error, deleted key/value for `foo` ok 116 entry propertly deleted ok 117 is NotFound # test put()/get()/del() with Buffer value ok 118 no error ok 119 no error, has key/value for `foo` ok 120 is a Buffer ok 121 should be equal ok 122 no error, deleted key/value for `foo` ok 123 entry propertly deleted ok 124 is NotFound # test put()/get()/del() with Array key ok 125 no error ok 126 no error, has key/value for `1,2,3,4` ok 127 is a Buffer ok 128 should be equal ok 129 no error, deleted key/value for `1,2,3,4` ok 130 entry propertly deleted ok 131 is NotFound # test put() with null value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with undefined value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty String value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty ArrayBuffer value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put() with empty Array value causes error ok 144 has error ok 145 (unnamed assert) ok 146 correct error message # test put()/get()/del() with `false` value ok 147 no error ok 148 no error, has key/value for `foo false` ok 149 is a Buffer ok 150 should be equal ok 151 no error, deleted key/value for `foo false` ok 152 entry propertly deleted ok 153 is NotFound # test put()/get()/del() with `0` value ok 154 no error ok 155 no error, has key/value for `foo 0` ok 156 is a Buffer ok 157 should be equal ok 158 no error, deleted key/value for `foo 0` ok 159 entry propertly deleted ok 160 is NotFound # test put()/get()/del() with `NaN` value ok 161 no error ok 162 no error, has key/value for `foo NaN` ok 163 is a Buffer ok 164 should be equal ok 165 no error, deleted key/value for `foo NaN` ok 166 entry propertly deleted ok 167 is NotFound # test put()/get()/del() with long String value ok 168 no error ok 169 no error, has key/value for `foo` ok 170 is a Buffer ok 171 should be equal ok 172 no error, deleted key/value for `foo` ok 173 entry propertly deleted ok 174 is NotFound # test put()/get()/del() with Buffer value ok 175 no error ok 176 no error, has key/value for `foo` ok 177 is a Buffer ok 178 should be equal ok 179 no error, deleted key/value for `foo` ok 180 entry propertly deleted ok 181 is NotFound # test put()/get()/del() with Array key ok 182 no error ok 183 no error, has key/value for `1,2,3,4` ok 184 is a Buffer ok 185 should be equal ok 186 no error, deleted key/value for `1,2,3,4` ok 187 entry propertly deleted ok 188 is NotFound # tearDown ok 189 cleanup returned an error # test close() ok 190 no error ok 191 no-arg close() throws ok 192 non-callback close() throws ok 193 no error # setUp common ok 194 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 195 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 196 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 197 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 198 no error ok 199 returned error ok 200 correct error ok 201 should be equal # test iterator#next after iterator#end() callback with error ok 202 no error ok 203 returned error ok 204 correct error ok 205 correct message # test twice iterator#next() throws ok 206 returned error ok 207 correct error ok 208 should be equal # test simple iterator() ok 209 no error ok 210 no error ok 211 no error ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 correct key ok 220 correct value ok 221 no error ok 222 err argument is undefined ok 223 key argument is undefined ok 224 value argument is undefined ok 225 correct number of entries # setUp #2 # test full data collection ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with reverse=true ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=0 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start=50 and reverse=true ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49.5) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key (49999) ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with start being a midway key and reverse=true ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end=50 ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50.5) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key (50555) ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end being a midway key and reverse=true ok 259 no error ok 260 correct number of entries ok 261 should be equivalent # test iterator with end=0 ok 262 no error ok 263 correct number of entries # test iterator with start=30 and end=70 ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and start=20 ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end after limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with end before limit ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start after database end and reverse=true ok 288 no error ok 289 correct number of entries ok 290 should be equivalent # test iterator with start and end after database and and reverse=true ok 291 no error ok 292 correct number of entries # test iterator with start as empty string ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with start as null ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as empty string ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # test iterator with end as null ok 302 no error ok 303 correct number of entries ok 304 should be equivalent # tearDown ok 305 cleanup returned an error # setUp common ok 306 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 307 correct error message # test batch#put() with null `value` ok 308 correct error message # test batch#put() with missing `key` ok 309 correct error message # test batch#put() with null `key` ok 310 correct error message # test batch#put() with missing `key` and `value` ok 311 correct error message # test batch#del() with missing `key` ok 312 correct error message # test batch#del() with null `key` ok 313 correct error message # test batch#del() with null `key` ok 314 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 315 correct error message # test basic batch ok 316 no error ok 317 no error ok 318 no error ok 319 correct number of entries ok 320 should be equivalent # tearDown ok 321 cleanup returned an error # setUp common ok 322 cleanup returned an error # setUp db 1..322 # tests 322 # pass 322 # ok
android-browser/4.2
timeout waiting to hear back from android-browser/4.2
2013-05-19 14:40:07
8.0
9.0
✓10.0
✓23.0
✓24.0
✓25.0
✓canary
✓17.0
✓18.0
✓19.0
✓nightly
5.1
✓6.0
5.0.5
11.5
✓11.6
✓12.0
✓next
✓6.0
✓6.0
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less del() throws not ok 8 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple del() ok 11 no error ok 12 no error ok 13 entry propertly deleted ok 14 returned NotFound # tearDown not ok 15 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 16 cleanup returned an error # setUp db not ok 17 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less put() throws not ok 18 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, put() throws not ok 19 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 2-arg, put() throws not ok 20 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, put() throws not ok 21 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple put() ok 22 no error ok 23 no error ok 24 should be equal # tearDown not ok 25 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 26 cleanup returned an error # setUp db not ok 27 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less get() throws not ok 28 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, get() throws not ok 29 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, get() throws not ok 30 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple get() ok 31 no error ok 32 no error ok 33 should not be string by default ok 34 (unnamed assert) ok 35 should be equal ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should be string if not buffer ok 42 should be equal # tearDown not ok 43 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 44 cleanup returned an error # setUp db not ok 45 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test get() with null key causes error ok 46 has error ok 47 (unnamed assert) ok 48 correct error message # test del() with null key causes error ok 49 has error ok 50 (unnamed assert) ok 51 correct error message # test put() with null key causes error ok 52 has error ok 53 (unnamed assert) ok 54 correct error message # test get() with undefined key causes error ok 55 has error ok 56 (unnamed assert) ok 57 correct error message # test del() with undefined key causes error ok 58 has error ok 59 (unnamed assert) ok 60 correct error message # test put() with undefined key causes error ok 61 has error ok 62 (unnamed assert) ok 63 correct error message # test get() with empty String key causes error ok 64 has error ok 65 (unnamed assert) ok 66 correct error message # test del() with empty String key causes error ok 67 has error ok 68 (unnamed assert) ok 69 correct error message # test put() with empty String key causes error ok 70 has error ok 71 (unnamed assert) ok 72 correct error message # test get() with empty ArrayBuffer key causes error ok 73 has error ok 74 (unnamed assert) ok 75 correct error message # test del() with empty ArrayBuffer key causes error ok 76 has error ok 77 (unnamed assert) ok 78 correct error message # test put() with empty ArrayBuffer key causes error ok 79 has error ok 80 (unnamed assert) ok 81 correct error message # test get() with empty Array key causes error ok 82 has error ok 83 (unnamed assert) ok 84 correct error message # test del() with empty Array key causes error ok 85 has error ok 86 (unnamed assert) ok 87 correct error message # test put() with empty Array key causes error ok 88 has error ok 89 (unnamed assert) ok 90 correct error message # test put()/get()/del() with `false` value ok 91 no error ok 92 no error, has key/value for `foo false` ok 93 (unnamed assert) ok 94 should be equal ok 95 no error, deleted key/value for `foo false` ok 96 entry propertly deleted ok 97 (unnamed assert) # test put()/get()/del() with `0` value ok 98 no error ok 99 no error, has key/value for `foo 0` ok 100 (unnamed assert) ok 101 should be equal ok 102 no error, deleted key/value for `foo 0` ok 103 entry propertly deleted ok 104 (unnamed assert) # test put()/get()/del() with `NaN` value ok 105 no error ok 106 no error, has key/value for `foo NaN` ok 107 (unnamed assert) ok 108 should be equal ok 109 no error, deleted key/value for `foo NaN` ok 110 entry propertly deleted ok 111 (unnamed assert) # test put()/get()/del() with long String value ok 112 no error ok 113 no error, has key/value for `foo` ok 114 (unnamed assert) ok 115 should be equal ok 116 no error, deleted key/value for `foo` ok 117 entry propertly deleted ok 118 (unnamed assert) # test put()/get()/del() with Buffer key ok 119 no error ok 120 no error, has key/value for `foo` ok 121 (unnamed assert) ok 122 should be equal ok 123 no error, deleted key/value for `foo` ok 124 entry propertly deleted ok 125 (unnamed assert) # test put()/get()/del() with Array value ok 126 no error ok 127 no error, has key/value for `1,2,3,4` ok 128 (unnamed assert) ok 129 should be equal ok 130 no error, deleted key/value for `1,2,3,4` ok 131 entry propertly deleted ok 132 (unnamed assert) # test put() with null value causes error ok 133 has error ok 134 (unnamed assert) ok 135 correct error message # test put() with undefined value causes error ok 136 has error ok 137 (unnamed assert) ok 138 correct error message # test put() with empty String value causes error ok 139 has error ok 140 (unnamed assert) ok 141 correct error message # test put() with empty ArrayBuffer value causes error ok 142 has error ok 143 (unnamed assert) ok 144 correct error message # test put() with empty Array value causes error ok 145 has error ok 146 (unnamed assert) ok 147 correct error message # test put()/get()/del() with `false` value ok 148 no error ok 149 no error, has key/value for `foo false` ok 150 (unnamed assert) ok 151 should be equal ok 152 no error, deleted key/value for `foo false` ok 153 entry propertly deleted ok 154 (unnamed assert) # test put()/get()/del() with `0` value ok 155 no error ok 156 no error, has key/value for `foo 0` ok 157 (unnamed assert) ok 158 should be equal ok 159 no error, deleted key/value for `foo 0` ok 160 entry propertly deleted ok 161 (unnamed assert) # test put()/get()/del() with `NaN` value ok 162 no error ok 163 no error, has key/value for `foo NaN` ok 164 (unnamed assert) ok 165 should be equal ok 166 no error, deleted key/value for `foo NaN` ok 167 entry propertly deleted ok 168 (unnamed assert) # test put()/get()/del() with long String value ok 169 no error ok 170 no error, has key/value for `foo` ok 171 (unnamed assert) ok 172 should be equal ok 173 no error, deleted key/value for `foo` ok 174 entry propertly deleted ok 175 (unnamed assert) # test put()/get()/del() with Buffer key ok 176 no error ok 177 no error, has key/value for `foo` ok 178 (unnamed assert) ok 179 should be equal ok 180 no error, deleted key/value for `foo` ok 181 entry propertly deleted ok 182 (unnamed assert) # test put()/get()/del() with Array value ok 183 no error ok 184 no error, has key/value for `1,2,3,4` ok 185 (unnamed assert) ok 186 should be equal ok 187 no error, deleted key/value for `1,2,3,4` ok 188 entry propertly deleted ok 189 (unnamed assert) # tearDown not ok 190 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test close() not ok 191 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 192 cleanup returned an error # setUp db not ok 193 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#next() throws not ok 194 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#end() after next() throws not ok 195 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#end() throws not ok 196 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test twice iterator#end() callback with error ok 197 no error ok 198 returned error ok 199 correct error ok 200 should be equal # test iterator#next after iterator#end() callback with error ok 201 no error ok 202 returned error ok 203 correct error ok 204 correct message # test twice iterator#next() throws not ok 205 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple iterator() ok 206 no error not ok 1 Error: TypeError: 'undefined' is not a function
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less del() throws not ok 8 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple del() ok 11 no error ok 12 no error ok 13 entry propertly deleted ok 14 returned NotFound # tearDown not ok 15 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 16 cleanup returned an error # setUp db not ok 17 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less put() throws not ok 18 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, put() throws not ok 19 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 2-arg, put() throws not ok 20 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, put() throws not ok 21 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple put() ok 22 no error ok 23 no error ok 24 should be equal # tearDown not ok 25 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 26 cleanup returned an error # setUp db not ok 27 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less get() throws not ok 28 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, get() throws not ok 29 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, get() throws not ok 30 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple get() ok 31 no error ok 32 no error ok 33 should not be string by default ok 34 (unnamed assert) ok 35 should be equal ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should be string if not buffer ok 42 should be equal # tearDown not ok 43 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 44 cleanup returned an error # setUp db not ok 45 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test get() with null key causes error ok 46 has error ok 47 (unnamed assert) ok 48 correct error message # test del() with null key causes error ok 49 has error ok 50 (unnamed assert) ok 51 correct error message # test put() with null key causes error ok 52 has error ok 53 (unnamed assert) ok 54 correct error message # test get() with undefined key causes error ok 55 has error ok 56 (unnamed assert) ok 57 correct error message # test del() with undefined key causes error ok 58 has error ok 59 (unnamed assert) ok 60 correct error message # test put() with undefined key causes error ok 61 has error ok 62 (unnamed assert) ok 63 correct error message # test get() with empty String key causes error ok 64 has error ok 65 (unnamed assert) ok 66 correct error message # test del() with empty String key causes error ok 67 has error ok 68 (unnamed assert) ok 69 correct error message # test put() with empty String key causes error ok 70 has error ok 71 (unnamed assert) ok 72 correct error message # test get() with empty ArrayBuffer key causes error ok 73 has error ok 74 (unnamed assert) ok 75 correct error message # test del() with empty ArrayBuffer key causes error ok 76 has error ok 77 (unnamed assert) ok 78 correct error message # test put() with empty ArrayBuffer key causes error ok 79 has error ok 80 (unnamed assert) ok 81 correct error message # test get() with empty Array key causes error ok 82 has error ok 83 (unnamed assert) ok 84 correct error message # test del() with empty Array key causes error ok 85 has error ok 86 (unnamed assert) ok 87 correct error message # test put() with empty Array key causes error ok 88 has error ok 89 (unnamed assert) ok 90 correct error message # test put()/get()/del() with `false` value ok 91 no error ok 92 no error, has key/value for `foo false` ok 93 (unnamed assert) ok 94 should be equal ok 95 no error, deleted key/value for `foo false` ok 96 entry propertly deleted ok 97 (unnamed assert) # test put()/get()/del() with `0` value ok 98 no error ok 99 no error, has key/value for `foo 0` ok 100 (unnamed assert) ok 101 should be equal ok 102 no error, deleted key/value for `foo 0` ok 103 entry propertly deleted ok 104 (unnamed assert) # test put()/get()/del() with `NaN` value ok 105 no error ok 106 no error, has key/value for `foo NaN` ok 107 (unnamed assert) ok 108 should be equal ok 109 no error, deleted key/value for `foo NaN` ok 110 entry propertly deleted ok 111 (unnamed assert) # test put()/get()/del() with long String value ok 112 no error ok 113 no error, has key/value for `foo` ok 114 (unnamed assert) ok 115 should be equal ok 116 no error, deleted key/value for `foo` ok 117 entry propertly deleted ok 118 (unnamed assert) # test put()/get()/del() with Buffer key ok 119 no error ok 120 no error, has key/value for `foo` ok 121 (unnamed assert) ok 122 should be equal ok 123 no error, deleted key/value for `foo` ok 124 entry propertly deleted ok 125 (unnamed assert) # test put()/get()/del() with Array value ok 126 no error ok 127 no error, has key/value for `1,2,3,4` ok 128 (unnamed assert) ok 129 should be equal ok 130 no error, deleted key/value for `1,2,3,4` ok 131 entry propertly deleted ok 132 (unnamed assert) # test put() with null value causes error ok 133 has error ok 134 (unnamed assert) ok 135 correct error message # test put() with undefined value causes error ok 136 has error ok 137 (unnamed assert) ok 138 correct error message # test put() with empty String value causes error ok 139 has error ok 140 (unnamed assert) ok 141 correct error message # test put() with empty ArrayBuffer value causes error ok 142 has error ok 143 (unnamed assert) ok 144 correct error message # test put() with empty Array value causes error ok 145 has error ok 146 (unnamed assert) ok 147 correct error message # test put()/get()/del() with `false` value ok 148 no error ok 149 no error, has key/value for `foo false` ok 150 (unnamed assert) ok 151 should be equal ok 152 no error, deleted key/value for `foo false` ok 153 entry propertly deleted ok 154 (unnamed assert) # test put()/get()/del() with `0` value ok 155 no error ok 156 no error, has key/value for `foo 0` ok 157 (unnamed assert) ok 158 should be equal ok 159 no error, deleted key/value for `foo 0` ok 160 entry propertly deleted ok 161 (unnamed assert) # test put()/get()/del() with `NaN` value ok 162 no error ok 163 no error, has key/value for `foo NaN` ok 164 (unnamed assert) ok 165 should be equal ok 166 no error, deleted key/value for `foo NaN` ok 167 entry propertly deleted ok 168 (unnamed assert) # test put()/get()/del() with long String value ok 169 no error ok 170 no error, has key/value for `foo` ok 171 (unnamed assert) ok 172 should be equal ok 173 no error, deleted key/value for `foo` ok 174 entry propertly deleted ok 175 (unnamed assert) # test put()/get()/del() with Buffer key ok 176 no error ok 177 no error, has key/value for `foo` ok 178 (unnamed assert) ok 179 should be equal ok 180 no error, deleted key/value for `foo` ok 181 entry propertly deleted ok 182 (unnamed assert) # test put()/get()/del() with Array value ok 183 no error ok 184 no error, has key/value for `1,2,3,4` ok 185 (unnamed assert) ok 186 should be equal ok 187 no error, deleted key/value for `1,2,3,4` ok 188 entry propertly deleted ok 189 (unnamed assert) # tearDown not ok 190 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test close() not ok 191 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 192 cleanup returned an error # setUp db not ok 193 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#next() throws not ok 194 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#end() after next() throws not ok 195 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less iterator#end() throws not ok 196 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test twice iterator#end() callback with error ok 197 no error ok 198 returned error ok 199 correct error ok 200 should be equal # test iterator#next after iterator#end() callback with error ok 201 no error ok 202 returned error ok 203 correct error ok 204 correct message # test twice iterator#next() throws not ok 205 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple iterator() ok 206 no error not ok 1 Error: TypeError: 'undefined' is not a function
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'db.open.bind' is not a function --- operator: error expected: actual: {"message":"'db.open.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:196 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:185 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'db.open.bind' is not a function --- operator: error expected: actual: {"message":"'db.open.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:206 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 't.end.bind' is not a function --- operator: error expected: actual: {"message":"'t.end.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.setUp>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:292 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:101 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:72 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:99 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 ... # test argument-less del() throws not ok 8 TypeError: 'db.del.bind' is not a function --- operator: error expected: actual: {"message":"'db.del.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:298 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'db.del.bind' is not a function --- operator: error expected: actual: {"message":"'db.del.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:307 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'db.del.bind' is not a function --- operator: error expected: actual: {"message":"'db.del.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:316 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # test simple del() not ok 11 ReferenceError: Undefined variable: ArrayBuffer --- operator: error expected: actual: {"message":"Undefined variable: ArrayBuffer"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at isBuffer([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6314 checkKeyValue([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6329 <anonymous function: ldgap.prototype._put>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6197 <anonymous function: AbstractLevelDOWN.prototype.put>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6743 <anonymous function: module.exports.del>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:327 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 ... # tearDown not ok 12 TypeError: 'testCommon.tearDown.bind' is not a function --- operator: error expected: actual: {"message":"'testCommon.tearDown.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.tearDown>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:346 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # setUp common ok 13 cleanup returned an error # setUp db not ok 14 TypeError: 't.end.bind' is not a function --- operator: error expected: actual: {"message":"'t.end.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.setUp>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:363 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:101 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:72 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:99 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 ... # test argument-less put() throws not ok 15 TypeError: 'db.put.bind' is not a function --- operator: error expected: actual: {"message":"'db.put.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:369 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # test callback-less, 1-arg, put() throws not ok 16 TypeError: 'db.put.bind' is not a function --- operator: error expected: actual: {"message":"'db.put.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:378 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # test callback-less, 2-arg, put() throws not ok 17 TypeError: 'db.put.bind' is not a function --- operator: error expected: actual: {"message":"'db.put.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:387 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # test callback-less, 3-arg, put() throws not ok 18 TypeError: 'db.put.bind' is not a function --- operator: error expected: actual: {"message":"'db.put.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:396 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # test simple put() not ok 19 ReferenceError: Undefined variable: ArrayBuffer --- operator: error expected: actual: {"message":"Undefined variable: ArrayBuffer"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at isBuffer([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6314 checkKeyValue([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6329 <anonymous function: ldgap.prototype._put>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6197 <anonymous function: AbstractLevelDOWN.prototype.put>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6743 <anonymous function: module.exports.put>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:407 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 ... # tearDown not ok 20 TypeError: 'testCommon.tearDown.bind' is not a function --- operator: error expected: actual: {"message":"'testCommon.tearDown.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.tearDown>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:423 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # setUp common ok 21 cleanup returned an error # setUp db not ok 22 TypeError: 't.end.bind' is not a function --- operator: error expected: actual: {"message":"'t.end.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.setUp>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:4305 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:101 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:72 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:99 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 ... # test argument-less get() throws not ok 23 TypeError: 'db.get.bind' is not a function --- operator: error expected: actual: {"message":"'db.get.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:4311 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # test callback-less, 1-arg, get() throws not ok 24 TypeError: 'db.get.bind' is not a function --- operator: error expected: actual: {"message":"'db.get.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:4320 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # test callback-less, 3-arg, get() throws not ok 25 TypeError: 'db.get.bind' is not a function --- operator: error expected: actual: {"message":"'db.get.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:4329 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # test simple get() not ok 26 ReferenceError: Undefined variable: ArrayBuffer --- operator: error expected: actual: {"message":"Undefined variable: ArrayBuffer"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at isBuffer([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6314 checkKeyValue([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6329 <anonymous function: ldgap.prototype._put>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6197 <anonymous function: AbstractLevelDOWN.prototype.put>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6743 <anonymous function: module.exports.get>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:4340 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 ... # tearDown not ok 27 TypeError: 'testCommon.tearDown.bind' is not a function --- operator: error expected: actual: {"message":"'testCommon.tearDown.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.tearDown>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:4384 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7013 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 ... # setUp common ok 28 cleanup returned an error # setUp db not ok 29 TypeError: 't.end.bind' is not a function --- operator: error expected: actual: {"message":"'t.end.bind' is not a function"} stack: AbstractLevelDOWN([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6679 ldgap([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:6183 <anonymous function: 14>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5314 <anonymous function: Test.prototype.throws>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7273 <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:173 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 next([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7349 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:24 Error initially occurred at <anonymous function: module.exports.setUp>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:4472 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 <anonymous function: Results.prototype.push>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7432 g([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5865 <anonymous function: EventEmitter.prototype.emit>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:5783 <anonymous function: Test.prototype.end>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7042 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:101 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:72 <anonymous function: 2>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:99 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/2d8e9525902ed33dd3954fc2c7a6f07054a1df2c.1368970293263/1368970293785.e8672738.js:7009 ... # test get() with null key causes error ok 30 has error ok 31 (unnamed assert) ok 32 correct error message # test del() with null key causes error ok 33 has error ok 34 (unnamed assert) ok 35 correct error message # test put() with null key causes error ok 36 has error ok 37 (unnamed assert) ok 38 correct error message # test get() with undefined key causes error ok 39 has error ok 40 (unnamed assert) ok 41 correct error message # test del() with undefined key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test put() with undefined key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test get() with empty String key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test del() with empty String key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test put() with empty String key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message 1..56 # tests 56 # pass 34 # fail 22
firefox/nightly
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
not ok 1 Error: 'ArrayBuffer' is undefined on line 5326
not ok 1 Error: 'ArrayBuffer' is undefined on line 4483
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error ok 138 has error ok 139 (unnamed assert) ok 140 correct error message # test put() with empty Array value causes error ok 141 has error ok 142 (unnamed assert) ok 143 correct error message # test put()/get()/del() with `false` value ok 144 no error ok 145 no error, has key/value for `foo false` ok 146 (unnamed assert) ok 147 should be equal ok 148 no error, deleted key/value for `foo false` ok 149 entry propertly deleted ok 150 (unnamed assert) # test put()/get()/del() with `0` value ok 151 no error ok 152 no error, has key/value for `foo 0` ok 153 (unnamed assert) ok 154 should be equal ok 155 no error, deleted key/value for `foo 0` ok 156 entry propertly deleted ok 157 (unnamed assert) # test put()/get()/del() with `NaN` value ok 158 no error ok 159 no error, has key/value for `foo NaN` ok 160 (unnamed assert) ok 161 should be equal ok 162 no error, deleted key/value for `foo NaN` ok 163 entry propertly deleted ok 164 (unnamed assert) # test put()/get()/del() with long String value ok 165 no error ok 166 no error, has key/value for `foo` ok 167 (unnamed assert) ok 168 should be equal ok 169 no error, deleted key/value for `foo` ok 170 entry propertly deleted ok 171 (unnamed assert) # test put()/get()/del() with Buffer key ok 172 no error ok 173 no error, has key/value for `foo` ok 174 (unnamed assert) ok 175 should be equal ok 176 no error, deleted key/value for `foo` ok 177 entry propertly deleted ok 178 (unnamed assert) # test put()/get()/del() with Array value ok 179 no error ok 180 no error, has key/value for `1,2,3,4` ok 181 (unnamed assert) ok 182 should be equal ok 183 no error, deleted key/value for `1,2,3,4` ok 184 entry propertly deleted ok 185 (unnamed assert) # tearDown ok 186 cleanup returned an error # test close() ok 187 no error ok 188 no-arg close() throws ok 189 non-callback close() throws ok 190 no error # setUp common ok 191 cleanup returned an error # setUp db # test argument-less iterator#next() throws ok 192 no-arg iterator#next() throws # test argument-less iterator#end() after next() throws ok 193 no-arg iterator#end() throws # test argument-less iterator#end() throws ok 194 no-arg iterator#end() throws # test twice iterator#end() callback with error ok 195 no error ok 196 returned error ok 197 correct error ok 198 should be equal # test iterator#next after iterator#end() callback with error ok 199 no error ok 200 returned error ok 201 correct error ok 202 correct message # test twice iterator#next() throws ok 203 returned error ok 204 correct error ok 205 should be equal # test simple iterator() ok 206 no error ok 207 no error ok 208 no error ok 209 no error ok 210 correct key ok 211 correct value ok 212 no error ok 213 correct key ok 214 correct value ok 215 no error ok 216 correct key ok 217 correct value ok 218 no error ok 219 err argument is undefined ok 220 key argument is undefined ok 221 value argument is undefined ok 222 correct number of entries # setUp #2 # test full data collection ok 223 no error ok 224 correct number of entries ok 225 should be equivalent # test iterator with reverse=true ok 226 no error ok 227 correct number of entries ok 228 should be equivalent # test iterator with start=0 ok 229 no error ok 230 correct number of entries ok 231 should be equivalent # test iterator with start=50 ok 232 no error ok 233 correct number of entries ok 234 should be equivalent # test iterator with start=50 and reverse=true ok 235 no error ok 236 correct number of entries ok 237 should be equivalent # test iterator with start being a midway key (49.5) ok 238 no error ok 239 correct number of entries ok 240 should be equivalent # test iterator with start being a midway key (49999) ok 241 no error ok 242 correct number of entries ok 243 should be equivalent # test iterator with start being a midway key and reverse=true ok 244 no error ok 245 correct number of entries ok 246 should be equivalent # test iterator with end=50 ok 247 no error ok 248 correct number of entries ok 249 should be equivalent # test iterator with end being a midway key (50.5) ok 250 no error ok 251 correct number of entries ok 252 should be equivalent # test iterator with end being a midway key (50555) ok 253 no error ok 254 correct number of entries ok 255 should be equivalent # test iterator with end being a midway key and reverse=true ok 256 no error ok 257 correct number of entries ok 258 should be equivalent # test iterator with end=0 ok 259 no error ok 260 correct number of entries # test iterator with start=30 and end=70 ok 261 no error ok 262 correct number of entries ok 263 should be equivalent # test iterator with start=30 and end=70 and reverse=true ok 264 no error ok 265 correct number of entries ok 266 should be equivalent # test iterator with limit=20 ok 267 no error ok 268 correct number of entries ok 269 should be equivalent # test iterator with limit=20 and start=20 ok 270 no error ok 271 correct number of entries ok 272 should be equivalent # test iterator with limit=20 and reverse=true ok 273 no error ok 274 correct number of entries ok 275 should be equivalent # test iterator with limit=20 and start=20 and reverse=true ok 276 no error ok 277 correct number of entries ok 278 should be equivalent # test iterator with end after limit ok 279 no error ok 280 correct number of entries ok 281 should be equivalent # test iterator with end before limit ok 282 no error ok 283 correct number of entries ok 284 should be equivalent # test iterator with start after database end and reverse=true ok 285 no error ok 286 correct number of entries ok 287 should be equivalent # test iterator with start and end after database and and reverse=true ok 288 no error ok 289 correct number of entries # test iterator with start as empty string ok 290 no error ok 291 correct number of entries ok 292 should be equivalent # test iterator with start as null ok 293 no error ok 294 correct number of entries ok 295 should be equivalent # test iterator with end as empty string ok 296 no error ok 297 correct number of entries ok 298 should be equivalent # test iterator with end as null ok 299 no error ok 300 correct number of entries ok 301 should be equivalent # tearDown ok 302 cleanup returned an error # setUp common ok 303 cleanup returned an error # setUp db # test batch#put() with missing `value` ok 304 correct error message # test batch#put() with null `value` ok 305 correct error message # test batch#put() with missing `key` ok 306 correct error message # test batch#put() with null `key` ok 307 correct error message # test batch#put() with missing `key` and `value` ok 308 correct error message # test batch#del() with missing `key` ok 309 correct error message # test batch#del() with null `key` ok 310 correct error message # test batch#del() with null `key` ok 311 correct error message # test batch#clear() doesn't throw # test batch#write() with no callback ok 312 correct error message # basic batch ok 313 no error ok 314 no error ok 315 no error ok 316 correct number of entries ok 317 should be equivalent # tearDown ok 318 cleanup returned an error # setUp common ok 319 cleanup returned an error # setUp db 1..319 # tests 319 # pass 319 # ok
2013-05-19 13:18:43
8.0
9.0
10.0
23.0
24.0
25.0
canary
17.0
18.0
19.0
nightly
5.1
6.0
5.0.5
11.5
11.6
12.0
next
6.0
6.0
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: 'undefined' is not an object on line 4178
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: 'undefined' is not an object on line 4178
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: 'undefined' is not an object on line 4178
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less del() throws not ok 8 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple del() ok 11 no error KEY TO DELETE _leveldown_test_db_2!foo ok 12 no error ok 13 entry propertly deleted ok 14 returned NotFound # tearDown not ok 15 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 16 cleanup returned an error # setUp db not ok 17 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less put() throws not ok 18 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, put() throws not ok 19 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 2-arg, put() throws not ok 20 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, put() throws not ok 21 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple put() ok 22 no error ok 23 no error ok 24 should be equal # tearDown not ok 25 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 26 cleanup returned an error # setUp db not ok 27 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less get() throws not ok 28 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, get() throws not ok 29 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, get() throws not ok 30 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple get() ok 31 no error ok 32 no error ok 33 should not be string by default ok 34 (unnamed assert) ok 35 should be equal ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should be string if not buffer ok 42 should be equal # tearDown not ok 43 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 44 cleanup returned an error # setUp db not ok 45 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test get() with null key causes error ok 46 has error ok 47 (unnamed assert) ok 48 correct error message # test del() with null key causes error ok 49 has error ok 50 (unnamed assert) ok 51 correct error message # test put() with null key causes error ok 52 has error ok 53 (unnamed assert) ok 54 correct error message # test get() with undefined key causes error ok 55 has error ok 56 (unnamed assert) ok 57 correct error message # test del() with undefined key causes error ok 58 has error ok 59 (unnamed assert) ok 60 correct error message # test put() with undefined key causes error ok 61 has error ok 62 (unnamed assert) ok 63 correct error message # test get() with empty String key causes error ok 64 has error ok 65 (unnamed assert) ok 66 correct error message # test del() with empty String key causes error ok 67 has error ok 68 (unnamed assert) ok 69 correct error message # test put() with empty String key causes error ok 70 has error ok 71 (unnamed assert) ok 72 correct error message # test get() with empty ArrayBuffer key causes error ok 73 has error ok 74 (unnamed assert) ok 75 correct error message # test del() with empty ArrayBuffer key causes error ok 76 has error ok 77 (unnamed assert) ok 78 correct error message # test put() with empty ArrayBuffer key causes error ok 79 has error ok 80 (unnamed assert) ok 81 correct error message # test get() with empty Array key causes error ok 82 has error ok 83 (unnamed assert) ok 84 correct error message # test del() with empty Array key causes error ok 85 has error ok 86 (unnamed assert) ok 87 correct error message # test put() with empty Array key causes error ok 88 has error ok 89 (unnamed assert) ok 90 correct error message # test put()/get()/del() with `false` value ok 91 no error ok 92 no error, has key/value for `foo false` ok 93 (unnamed assert) ok 94 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 95 no error, deleted key/value for `foo false` ok 96 entry propertly deleted ok 97 (unnamed assert) # test put()/get()/del() with `0` value ok 98 no error ok 99 no error, has key/value for `foo 0` ok 100 (unnamed assert) ok 101 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 102 no error, deleted key/value for `foo 0` ok 103 entry propertly deleted ok 104 (unnamed assert) # test put()/get()/del() with `NaN` value ok 105 no error ok 106 no error, has key/value for `foo NaN` ok 107 (unnamed assert) ok 108 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 109 no error, deleted key/value for `foo NaN` ok 110 entry propertly deleted ok 111 (unnamed assert) # test put()/get()/del() with long String value ok 112 no error ok 113 no error, has key/value for `foo` ok 114 (unnamed assert) ok 115 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 116 no error, deleted key/value for `foo` ok 117 entry propertly deleted ok 118 (unnamed assert) # test put()/get()/del() with Buffer key ok 119 no error ok 120 no error, has key/value for `foo` ok 121 (unnamed assert) ok 122 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 123 no error, deleted key/value for `foo` ok 124 entry propertly deleted ok 125 (unnamed assert) # test put()/get()/del() with Array value ok 126 no error ok 127 no error, has key/value for `1,2,3,4` ok 128 (unnamed assert) ok 129 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 130 no error, deleted key/value for `1,2,3,4` ok 131 entry propertly deleted ok 132 (unnamed assert) # test put() with null value causes error ok 133 has error ok 134 (unnamed assert) ok 135 correct error message # test put() with undefined value causes error ok 136 has error ok 137 (unnamed assert) ok 138 correct error message # test put() with empty String value causes error ok 139 has error ok 140 (unnamed assert) ok 141 correct error message # test put() with empty ArrayBuffer value causes error not ok 142 has error --- operator: ok expected: true actual: ... not ok 143 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: 'undefined' is not an object
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less del() throws not ok 8 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple del() ok 11 no error KEY TO DELETE _leveldown_test_db_2!foo ok 12 no error ok 13 entry propertly deleted ok 14 returned NotFound # tearDown not ok 15 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 16 cleanup returned an error # setUp db not ok 17 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less put() throws not ok 18 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, put() throws not ok 19 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 2-arg, put() throws not ok 20 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, put() throws not ok 21 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple put() ok 22 no error ok 23 no error ok 24 should be equal # tearDown not ok 25 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 26 cleanup returned an error # setUp db not ok 27 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less get() throws not ok 28 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, get() throws not ok 29 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, get() throws not ok 30 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple get() ok 31 no error ok 32 no error ok 33 should not be string by default ok 34 (unnamed assert) ok 35 should be equal ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should be string if not buffer ok 42 should be equal # tearDown not ok 43 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 44 cleanup returned an error # setUp db not ok 45 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test get() with null key causes error ok 46 has error ok 47 (unnamed assert) ok 48 correct error message # test del() with null key causes error ok 49 has error ok 50 (unnamed assert) ok 51 correct error message # test put() with null key causes error ok 52 has error ok 53 (unnamed assert) ok 54 correct error message # test get() with undefined key causes error ok 55 has error ok 56 (unnamed assert) ok 57 correct error message # test del() with undefined key causes error ok 58 has error ok 59 (unnamed assert) ok 60 correct error message # test put() with undefined key causes error ok 61 has error ok 62 (unnamed assert) ok 63 correct error message # test get() with empty String key causes error ok 64 has error ok 65 (unnamed assert) ok 66 correct error message # test del() with empty String key causes error ok 67 has error ok 68 (unnamed assert) ok 69 correct error message # test put() with empty String key causes error ok 70 has error ok 71 (unnamed assert) ok 72 correct error message # test get() with empty ArrayBuffer key causes error ok 73 has error ok 74 (unnamed assert) ok 75 correct error message # test del() with empty ArrayBuffer key causes error ok 76 has error ok 77 (unnamed assert) ok 78 correct error message # test put() with empty ArrayBuffer key causes error ok 79 has error ok 80 (unnamed assert) ok 81 correct error message # test get() with empty Array key causes error ok 82 has error ok 83 (unnamed assert) ok 84 correct error message # test del() with empty Array key causes error ok 85 has error ok 86 (unnamed assert) ok 87 correct error message # test put() with empty Array key causes error ok 88 has error ok 89 (unnamed assert) ok 90 correct error message # test put()/get()/del() with `false` value ok 91 no error ok 92 no error, has key/value for `foo false` ok 93 (unnamed assert) ok 94 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 95 no error, deleted key/value for `foo false` ok 96 entry propertly deleted ok 97 (unnamed assert) # test put()/get()/del() with `0` value ok 98 no error ok 99 no error, has key/value for `foo 0` ok 100 (unnamed assert) ok 101 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 102 no error, deleted key/value for `foo 0` ok 103 entry propertly deleted ok 104 (unnamed assert) # test put()/get()/del() with `NaN` value ok 105 no error ok 106 no error, has key/value for `foo NaN` ok 107 (unnamed assert) ok 108 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 109 no error, deleted key/value for `foo NaN` ok 110 entry propertly deleted ok 111 (unnamed assert) # test put()/get()/del() with long String value ok 112 no error ok 113 no error, has key/value for `foo` ok 114 (unnamed assert) ok 115 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 116 no error, deleted key/value for `foo` ok 117 entry propertly deleted ok 118 (unnamed assert) # test put()/get()/del() with Buffer key ok 119 no error ok 120 no error, has key/value for `foo` ok 121 (unnamed assert) ok 122 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 123 no error, deleted key/value for `foo` ok 124 entry propertly deleted ok 125 (unnamed assert) # test put()/get()/del() with Array value ok 126 no error ok 127 no error, has key/value for `1,2,3,4` ok 128 (unnamed assert) ok 129 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 130 no error, deleted key/value for `1,2,3,4` ok 131 entry propertly deleted ok 132 (unnamed assert) # test put() with null value causes error ok 133 has error ok 134 (unnamed assert) ok 135 correct error message # test put() with undefined value causes error ok 136 has error ok 137 (unnamed assert) ok 138 correct error message # test put() with empty String value causes error ok 139 has error ok 140 (unnamed assert) ok 141 correct error message # test put() with empty ArrayBuffer value causes error not ok 142 has error --- operator: ok expected: true actual: ... not ok 143 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: 'undefined' is not an object
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: Uncaught exception: TypeError: Cannot convert 'err' to object on line 4181
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: Uncaught exception: TypeError: Cannot convert 'err' to object on line 4181
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: Uncaught exception: TypeError: Cannot convert 'err' to object on line 4181
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'db.open.bind' is not a function --- operator: error expected: actual: {"message":"'db.open.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:178 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'db.open.bind' is not a function --- operator: error expected: actual: {"message":"'db.open.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:188 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 't.end.bind' is not a function --- operator: error expected: actual: {"message":"'t.end.bind' is not a function"} stack: <anonymous function: module.exports.setUp>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4323 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test argument-less del() throws not ok 8 TypeError: 'db.del.bind' is not a function --- operator: error expected: actual: {"message":"'db.del.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4329 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'db.del.bind' is not a function --- operator: error expected: actual: {"message":"'db.del.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4338 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'db.del.bind' is not a function --- operator: error expected: actual: {"message":"'db.del.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4347 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test simple del() not ok 11 ReferenceError: Undefined variable: ArrayBuffer --- operator: error expected: actual: {"message":"Undefined variable: ArrayBuffer"} stack: isBuffer([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6369 checkKeyValue([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6384 <anonymous function: ldgap.prototype._put>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6248 <anonymous function: AbstractLevelDOWN.prototype.put>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6797 <anonymous function: module.exports.del>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4358 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 @ ... # tearDown not ok 12 TypeError: 'testCommon.tearDown.bind' is not a function --- operator: error expected: actual: {"message":"'testCommon.tearDown.bind' is not a function"} stack: <anonymous function: module.exports.tearDown>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4377 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # setUp common ok 13 cleanup returned an error # setUp db not ok 14 TypeError: 't.end.bind' is not a function --- operator: error expected: actual: {"message":"'t.end.bind' is not a function"} stack: <anonymous function: module.exports.setUp>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:5239 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test argument-less put() throws not ok 15 TypeError: 'db.put.bind' is not a function --- operator: error expected: actual: {"message":"'db.put.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:5245 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test callback-less, 1-arg, put() throws not ok 16 TypeError: 'db.put.bind' is not a function --- operator: error expected: actual: {"message":"'db.put.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:5254 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test callback-less, 2-arg, put() throws not ok 17 TypeError: 'db.put.bind' is not a function --- operator: error expected: actual: {"message":"'db.put.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:5263 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test callback-less, 3-arg, put() throws not ok 18 TypeError: 'db.put.bind' is not a function --- operator: error expected: actual: {"message":"'db.put.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:5272 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test simple put() not ok 19 ReferenceError: Undefined variable: ArrayBuffer --- operator: error expected: actual: {"message":"Undefined variable: ArrayBuffer"} stack: isBuffer([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6369 checkKeyValue([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6384 <anonymous function: ldgap.prototype._put>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6248 <anonymous function: AbstractLevelDOWN.prototype.put>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6797 <anonymous function: module.exports.put>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:5283 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 @ ... # tearDown not ok 20 TypeError: 'testCommon.tearDown.bind' is not a function --- operator: error expected: actual: {"message":"'testCommon.tearDown.bind' is not a function"} stack: <anonymous function: module.exports.tearDown>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:5299 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # setUp common ok 21 cleanup returned an error # setUp db not ok 22 TypeError: 't.end.bind' is not a function --- operator: error expected: actual: {"message":"'t.end.bind' is not a function"} stack: <anonymous function: module.exports.setUp>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4858 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test argument-less get() throws not ok 23 TypeError: 'db.get.bind' is not a function --- operator: error expected: actual: {"message":"'db.get.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4864 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test callback-less, 1-arg, get() throws not ok 24 TypeError: 'db.get.bind' is not a function --- operator: error expected: actual: {"message":"'db.get.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4873 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test callback-less, 3-arg, get() throws not ok 25 TypeError: 'db.get.bind' is not a function --- operator: error expected: actual: {"message":"'db.get.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4882 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test simple get() not ok 26 ReferenceError: Undefined variable: ArrayBuffer --- operator: error expected: actual: {"message":"Undefined variable: ArrayBuffer"} stack: isBuffer([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6369 checkKeyValue([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6384 <anonymous function: ldgap.prototype._put>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6248 <anonymous function: AbstractLevelDOWN.prototype.put>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6797 <anonymous function: module.exports.get>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4893 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 @ ... # tearDown not ok 27 TypeError: 'testCommon.tearDown.bind' is not a function --- operator: error expected: actual: {"message":"'testCommon.tearDown.bind' is not a function"} stack: <anonymous function: module.exports.tearDown>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4937 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # setUp common ok 28 cleanup returned an error # setUp db not ok 29 TypeError: 't.end.bind' is not a function --- operator: error expected: actual: {"message":"'t.end.bind' is not a function"} stack: <anonymous function: module.exports.setUp>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:4227 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:24 ... # test get() with null key causes error ok 30 has error ok 31 (unnamed assert) ok 32 correct error message # test del() with null key causes error ok 33 has error ok 34 (unnamed assert) ok 35 correct error message # test put() with null key causes error ok 36 has error ok 37 (unnamed assert) ok 38 correct error message # test get() with undefined key causes error ok 39 has error ok 40 (unnamed assert) ok 41 correct error message # test del() with undefined key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test put() with undefined key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test get() with empty String key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test del() with empty String key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test put() with empty String key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message 1..56 # tests 56 # pass 34 # fail 22
firefox/nightly
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: err is undefined on line 4181
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: err is undefined on line 4181
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: err is undefined on line 4181
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: err is undefined on line 4181
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: Uncaught TypeError: Cannot read property 'message' of undefined on line 4181
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: at: Test.ok.Test.true.Test.assert (http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7326:10) ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false at: Test.ok.Test.true.Test.assert (http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7326:10) ... not ok 1 Error: Uncaught TypeError: Cannot read property 'message' of undefined on line 4181
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: at: Test.ok.Test.true.Test.assert (http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7326:10) ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false at: Test.ok.Test.true.Test.assert (http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7326:10) ... not ok 1 Error: Uncaught TypeError: Cannot read property 'message' of undefined on line 4181
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: at: Test.ok.Test.true.Test.assert (http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7326:10) ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false at: Test.ok.Test.true.Test.assert (http://git.testling.com/work/no9/repos/a3e26b8f44ae5030982149986c33a8f75602da4d.1368965522463/1368965523003.08c498b5.js:7326:10) ... not ok 1 Error: Uncaught TypeError: Cannot read property 'message' of undefined on line 4181
not ok 1 Error: 'ArrayBuffer' is undefined on line 5326
not ok 1 Error: 'ArrayBuffer' is undefined on line 4238
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: Unable to get property 'message' of undefined or null reference on line 4181
2013-05-19 13:09:32
8.0
9.0
10.0
23.0
24.0
25.0
canary
17.0
18.0
19.0
nightly
5.1
6.0
5.0.5
11.5
11.6
12.0
next
6.0
6.0
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: 'undefined' is not an object on line 4275
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: 'undefined' is not an object on line 4275
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: 'undefined' is not an object on line 4275
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less del() throws not ok 8 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple del() ok 11 no error KEY TO DELETE _leveldown_test_db_2!foo ok 12 no error ok 13 entry propertly deleted ok 14 returned NotFound # tearDown not ok 15 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 16 cleanup returned an error # setUp db not ok 17 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less put() throws not ok 18 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, put() throws not ok 19 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 2-arg, put() throws not ok 20 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, put() throws not ok 21 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple put() ok 22 no error ok 23 no error ok 24 should be equal # tearDown not ok 25 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 26 cleanup returned an error # setUp db not ok 27 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less get() throws not ok 28 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, get() throws not ok 29 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, get() throws not ok 30 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple get() ok 31 no error ok 32 no error ok 33 should not be string by default ok 34 (unnamed assert) ok 35 should be equal ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should be string if not buffer ok 42 should be equal # tearDown not ok 43 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 44 cleanup returned an error # setUp db not ok 45 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test get() with null key causes error ok 46 has error ok 47 (unnamed assert) ok 48 correct error message # test del() with null key causes error ok 49 has error ok 50 (unnamed assert) ok 51 correct error message # test put() with null key causes error ok 52 has error ok 53 (unnamed assert) ok 54 correct error message # test get() with undefined key causes error ok 55 has error ok 56 (unnamed assert) ok 57 correct error message # test del() with undefined key causes error ok 58 has error ok 59 (unnamed assert) ok 60 correct error message # test put() with undefined key causes error ok 61 has error ok 62 (unnamed assert) ok 63 correct error message # test get() with empty String key causes error ok 64 has error ok 65 (unnamed assert) ok 66 correct error message # test del() with empty String key causes error ok 67 has error ok 68 (unnamed assert) ok 69 correct error message # test put() with empty String key causes error ok 70 has error ok 71 (unnamed assert) ok 72 correct error message # test get() with empty ArrayBuffer key causes error ok 73 has error ok 74 (unnamed assert) ok 75 correct error message # test del() with empty ArrayBuffer key causes error ok 76 has error ok 77 (unnamed assert) ok 78 correct error message # test put() with empty ArrayBuffer key causes error ok 79 has error ok 80 (unnamed assert) ok 81 correct error message # test get() with empty Array key causes error ok 82 has error ok 83 (unnamed assert) ok 84 correct error message # test del() with empty Array key causes error ok 85 has error ok 86 (unnamed assert) ok 87 correct error message # test put() with empty Array key causes error ok 88 has error ok 89 (unnamed assert) ok 90 correct error message # test put()/get()/del() with `false` value ok 91 no error ok 92 no error, has key/value for `foo false` ok 93 (unnamed assert) ok 94 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 95 no error, deleted key/value for `foo false` ok 96 entry propertly deleted ok 97 (unnamed assert) # test put()/get()/del() with `0` value ok 98 no error ok 99 no error, has key/value for `foo 0` ok 100 (unnamed assert) ok 101 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 102 no error, deleted key/value for `foo 0` ok 103 entry propertly deleted ok 104 (unnamed assert) # test put()/get()/del() with `NaN` value ok 105 no error ok 106 no error, has key/value for `foo NaN` ok 107 (unnamed assert) ok 108 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 109 no error, deleted key/value for `foo NaN` ok 110 entry propertly deleted ok 111 (unnamed assert) # test put()/get()/del() with long String value ok 112 no error ok 113 no error, has key/value for `foo` ok 114 (unnamed assert) ok 115 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 116 no error, deleted key/value for `foo` ok 117 entry propertly deleted ok 118 (unnamed assert) # test put()/get()/del() with Buffer key ok 119 no error ok 120 no error, has key/value for `foo` ok 121 (unnamed assert) ok 122 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 123 no error, deleted key/value for `foo` ok 124 entry propertly deleted ok 125 (unnamed assert) # test put()/get()/del() with Array value ok 126 no error ok 127 no error, has key/value for `1,2,3,4` ok 128 (unnamed assert) ok 129 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 130 no error, deleted key/value for `1,2,3,4` ok 131 entry propertly deleted ok 132 (unnamed assert) # test put() with null value causes error ok 133 has error ok 134 (unnamed assert) ok 135 correct error message # test put() with undefined value causes error ok 136 has error ok 137 (unnamed assert) ok 138 correct error message # test put() with empty String value causes error ok 139 has error ok 140 (unnamed assert) ok 141 correct error message # test put() with empty ArrayBuffer value causes error not ok 142 has error --- operator: ok expected: true actual: ... not ok 143 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: 'undefined' is not an object
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less del() throws not ok 8 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple del() ok 11 no error KEY TO DELETE _leveldown_test_db_2!foo ok 12 no error ok 13 entry propertly deleted ok 14 returned NotFound # tearDown not ok 15 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 16 cleanup returned an error # setUp db not ok 17 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less put() throws not ok 18 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, put() throws not ok 19 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 2-arg, put() throws not ok 20 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, put() throws not ok 21 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple put() ok 22 no error ok 23 no error ok 24 should be equal # tearDown not ok 25 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 26 cleanup returned an error # setUp db not ok 27 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test argument-less get() throws not ok 28 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 1-arg, get() throws not ok 29 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test callback-less, 3-arg, get() throws not ok 30 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test simple get() ok 31 no error ok 32 no error ok 33 should not be string by default ok 34 (unnamed assert) ok 35 should be equal ok 36 no error ok 37 should not be string by default ok 38 (unnamed assert) ok 39 should be equal ok 40 no error ok 41 should be string if not buffer ok 42 should be equal # tearDown not ok 43 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # setUp common ok 44 cleanup returned an error # setUp db not ok 45 TypeError: 'undefined' is not a function --- operator: error expected: actual: {"message":"'undefined' is not a function"} ... # test get() with null key causes error ok 46 has error ok 47 (unnamed assert) ok 48 correct error message # test del() with null key causes error ok 49 has error ok 50 (unnamed assert) ok 51 correct error message # test put() with null key causes error ok 52 has error ok 53 (unnamed assert) ok 54 correct error message # test get() with undefined key causes error ok 55 has error ok 56 (unnamed assert) ok 57 correct error message # test del() with undefined key causes error ok 58 has error ok 59 (unnamed assert) ok 60 correct error message # test put() with undefined key causes error ok 61 has error ok 62 (unnamed assert) ok 63 correct error message # test get() with empty String key causes error ok 64 has error ok 65 (unnamed assert) ok 66 correct error message # test del() with empty String key causes error ok 67 has error ok 68 (unnamed assert) ok 69 correct error message # test put() with empty String key causes error ok 70 has error ok 71 (unnamed assert) ok 72 correct error message # test get() with empty ArrayBuffer key causes error ok 73 has error ok 74 (unnamed assert) ok 75 correct error message # test del() with empty ArrayBuffer key causes error ok 76 has error ok 77 (unnamed assert) ok 78 correct error message # test put() with empty ArrayBuffer key causes error ok 79 has error ok 80 (unnamed assert) ok 81 correct error message # test get() with empty Array key causes error ok 82 has error ok 83 (unnamed assert) ok 84 correct error message # test del() with empty Array key causes error ok 85 has error ok 86 (unnamed assert) ok 87 correct error message # test put() with empty Array key causes error ok 88 has error ok 89 (unnamed assert) ok 90 correct error message # test put()/get()/del() with `false` value ok 91 no error ok 92 no error, has key/value for `foo false` ok 93 (unnamed assert) ok 94 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 95 no error, deleted key/value for `foo false` ok 96 entry propertly deleted ok 97 (unnamed assert) # test put()/get()/del() with `0` value ok 98 no error ok 99 no error, has key/value for `foo 0` ok 100 (unnamed assert) ok 101 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 102 no error, deleted key/value for `foo 0` ok 103 entry propertly deleted ok 104 (unnamed assert) # test put()/get()/del() with `NaN` value ok 105 no error ok 106 no error, has key/value for `foo NaN` ok 107 (unnamed assert) ok 108 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 109 no error, deleted key/value for `foo NaN` ok 110 entry propertly deleted ok 111 (unnamed assert) # test put()/get()/del() with long String value ok 112 no error ok 113 no error, has key/value for `foo` ok 114 (unnamed assert) ok 115 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 116 no error, deleted key/value for `foo` ok 117 entry propertly deleted ok 118 (unnamed assert) # test put()/get()/del() with Buffer key ok 119 no error ok 120 no error, has key/value for `foo` ok 121 (unnamed assert) ok 122 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 123 no error, deleted key/value for `foo` ok 124 entry propertly deleted ok 125 (unnamed assert) # test put()/get()/del() with Array value ok 126 no error ok 127 no error, has key/value for `1,2,3,4` ok 128 (unnamed assert) ok 129 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 130 no error, deleted key/value for `1,2,3,4` ok 131 entry propertly deleted ok 132 (unnamed assert) # test put() with null value causes error ok 133 has error ok 134 (unnamed assert) ok 135 correct error message # test put() with undefined value causes error ok 136 has error ok 137 (unnamed assert) ok 138 correct error message # test put() with empty String value causes error ok 139 has error ok 140 (unnamed assert) ok 141 correct error message # test put() with empty ArrayBuffer value causes error not ok 142 has error --- operator: ok expected: true actual: ... not ok 143 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: TypeError: 'undefined' is not an object
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: Uncaught exception: TypeError: Cannot convert 'err' to object on line 4278
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: Uncaught exception: TypeError: Cannot convert 'err' to object on line 4278
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws ok 4 no-arg open() throws # test callback-less, 1-arg, open() throws ok 5 callback-less, 1-arg open() throws # setUp common ok 6 cleanup returned an error # setUp db # test argument-less del() throws ok 7 no-arg del() throws # test callback-less, 1-arg, del() throws ok 8 callback-less, 1-arg del() throws # test callback-less, 3-arg, del() throws ok 9 callback-less, 2-arg del() throws # test simple del() ok 10 no error KEY TO DELETE _leveldown_test_db_2!foo ok 11 no error ok 12 entry propertly deleted ok 13 returned NotFound # tearDown ok 14 cleanup returned an error # setUp common ok 15 cleanup returned an error # setUp db # test argument-less put() throws ok 16 no-arg put() throws # test callback-less, 1-arg, put() throws ok 17 callback-less, 1-arg put() throws # test callback-less, 2-arg, put() throws ok 18 callback-less, 2-arg put() throws # test callback-less, 3-arg, put() throws ok 19 callback-less, 3-arg put() throws # test simple put() ok 20 no error ok 21 no error ok 22 should be equal # tearDown ok 23 cleanup returned an error # setUp common ok 24 cleanup returned an error # setUp db # test argument-less get() throws ok 25 no-arg get() throws # test callback-less, 1-arg, get() throws ok 26 callback-less, 1-arg get() throws # test callback-less, 3-arg, get() throws ok 27 callback-less, 2-arg get() throws # test simple get() ok 28 no error ok 29 no error ok 30 should not be string by default ok 31 (unnamed assert) ok 32 should be equal ok 33 no error ok 34 should not be string by default ok 35 (unnamed assert) ok 36 should be equal ok 37 no error ok 38 should be string if not buffer ok 39 should be equal # tearDown ok 40 cleanup returned an error # setUp common ok 41 cleanup returned an error # setUp db # test get() with null key causes error ok 42 has error ok 43 (unnamed assert) ok 44 correct error message # test del() with null key causes error ok 45 has error ok 46 (unnamed assert) ok 47 correct error message # test put() with null key causes error ok 48 has error ok 49 (unnamed assert) ok 50 correct error message # test get() with undefined key causes error ok 51 has error ok 52 (unnamed assert) ok 53 correct error message # test del() with undefined key causes error ok 54 has error ok 55 (unnamed assert) ok 56 correct error message # test put() with undefined key causes error ok 57 has error ok 58 (unnamed assert) ok 59 correct error message # test get() with empty String key causes error ok 60 has error ok 61 (unnamed assert) ok 62 correct error message # test del() with empty String key causes error ok 63 has error ok 64 (unnamed assert) ok 65 correct error message # test put() with empty String key causes error ok 66 has error ok 67 (unnamed assert) ok 68 correct error message # test get() with empty ArrayBuffer key causes error ok 69 has error ok 70 (unnamed assert) ok 71 correct error message # test del() with empty ArrayBuffer key causes error ok 72 has error ok 73 (unnamed assert) ok 74 correct error message # test put() with empty ArrayBuffer key causes error ok 75 has error ok 76 (unnamed assert) ok 77 correct error message # test get() with empty Array key causes error ok 78 has error ok 79 (unnamed assert) ok 80 correct error message # test del() with empty Array key causes error ok 81 has error ok 82 (unnamed assert) ok 83 correct error message # test put() with empty Array key causes error ok 84 has error ok 85 (unnamed assert) ok 86 correct error message # test put()/get()/del() with `false` value ok 87 no error ok 88 no error, has key/value for `foo false` ok 89 (unnamed assert) ok 90 should be equal KEY TO DELETE _leveldown_test_db_5!foo false ok 91 no error, deleted key/value for `foo false` ok 92 entry propertly deleted ok 93 (unnamed assert) # test put()/get()/del() with `0` value ok 94 no error ok 95 no error, has key/value for `foo 0` ok 96 (unnamed assert) ok 97 should be equal KEY TO DELETE _leveldown_test_db_5!foo 0 ok 98 no error, deleted key/value for `foo 0` ok 99 entry propertly deleted ok 100 (unnamed assert) # test put()/get()/del() with `NaN` value ok 101 no error ok 102 no error, has key/value for `foo NaN` ok 103 (unnamed assert) ok 104 should be equal KEY TO DELETE _leveldown_test_db_5!foo NaN ok 105 no error, deleted key/value for `foo NaN` ok 106 entry propertly deleted ok 107 (unnamed assert) # test put()/get()/del() with long String value ok 108 no error ok 109 no error, has key/value for `foo` ok 110 (unnamed assert) ok 111 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 112 no error, deleted key/value for `foo` ok 113 entry propertly deleted ok 114 (unnamed assert) # test put()/get()/del() with Buffer key ok 115 no error ok 116 no error, has key/value for `foo` ok 117 (unnamed assert) ok 118 should be equal KEY TO DELETE _leveldown_test_db_5!foo ok 119 no error, deleted key/value for `foo` ok 120 entry propertly deleted ok 121 (unnamed assert) # test put()/get()/del() with Array value ok 122 no error ok 123 no error, has key/value for `1,2,3,4` ok 124 (unnamed assert) ok 125 should be equal KEY TO DELETE _leveldown_test_db_5!1,2,3,4 ok 126 no error, deleted key/value for `1,2,3,4` ok 127 entry propertly deleted ok 128 (unnamed assert) # test put() with null value causes error ok 129 has error ok 130 (unnamed assert) ok 131 correct error message # test put() with undefined value causes error ok 132 has error ok 133 (unnamed assert) ok 134 correct error message # test put() with empty String value causes error ok 135 has error ok 136 (unnamed assert) ok 137 correct error message # test put() with empty ArrayBuffer value causes error not ok 138 has error --- operator: ok expected: true actual: ... not ok 139 (unnamed assert) --- operator: ok expected: true actual: false ... not ok 1 Error: Uncaught exception: TypeError: Cannot convert 'err' to object on line 4278
TAP version 13 # test database creation no-arg throws ok 1 no-arg leveldown() throws # test database open no-arg throws ok 2 database object returned ok 3 open() function exists # test database open no-arg throws not ok 4 TypeError: 'db.open.bind' is not a function --- operator: error expected: actual: {"message":"'db.open.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:178 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:24 ... # test callback-less, 1-arg, open() throws not ok 5 TypeError: 'db.open.bind' is not a function --- operator: error expected: actual: {"message":"'db.open.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:188 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:24 ... # setUp common ok 6 cleanup returned an error # setUp db not ok 7 TypeError: 't.end.bind' is not a function --- operator: error expected: actual: {"message":"'t.end.bind' is not a function"} stack: <anonymous function: module.exports.setUp>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:4445 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:24 ... # test argument-less del() throws not ok 8 TypeError: 'db.del.bind' is not a function --- operator: error expected: actual: {"message":"'db.del.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:4451 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:24 ... # test callback-less, 1-arg, del() throws not ok 9 TypeError: 'db.del.bind' is not a function --- operator: error expected: actual: {"message":"'db.del.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:4460 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:24 ... # test callback-less, 3-arg, del() throws not ok 10 TypeError: 'db.del.bind' is not a function --- operator: error expected: actual: {"message":"'db.del.bind' is not a function"} stack: <anonymous function: module.exports.args>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:4469 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:24 ... # test simple del() not ok 11 ReferenceError: Undefined variable: ArrayBuffer --- operator: error expected: actual: {"message":"Undefined variable: ArrayBuffer"} stack: isBuffer([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6369 checkKeyValue([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6384 <anonymous function: ldgap.prototype._put>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6248 <anonymous function: AbstractLevelDOWN.prototype.put>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6797 <anonymous function: module.exports.del>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:4480 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:24 @ ... # tearDown not ok 12 TypeError: 'testCommon.tearDown.bind' is not a function --- operator: error expected: actual: {"message":"'testCommon.tearDown.bind' is not a function"} stack: <anonymous function: module.exports.tearDown>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:4499 <anonymous function: Test.prototype.run>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:7187 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6077 <anonymous function: 16>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:6117 <anonymous function>([arguments not available])@http://git.testling.com/work/no9/repos/a767e1df8796a0d9b1b4b63975eac719aabcb76b.1368965023407/1368965023945.256ee181.js:24 ... # setUp common ok 13 cleanup returned an error # setUp db not ok 14 TypeError: 't.end.bind' is not a function --- operator: error expected: actual: {"message":"'t.e