()
| 206 | test.init(); |
| 207 | }); |
| 208 | function run() { |
| 209 | // each of these can by async |
| 210 | synchronize(function() { |
| 211 | test.setup(); |
| 212 | }); |
| 213 | synchronize(function() { |
| 214 | test.run(); |
| 215 | }); |
| 216 | synchronize(function() { |
| 217 | test.teardown(); |
| 218 | }); |
| 219 | synchronize(function() { |
| 220 | test.finish(); |
| 221 | }); |
| 222 | } |
| 223 | // defer when previous test run passed, if storage is available |
| 224 | var bad = defined.sessionStorage && +sessionStorage.getItem("qunit-" + this.testName); |
| 225 | if (bad) { |