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