()
| 1455 | test.init(); |
| 1456 | }); |
| 1457 | function run() { |
| 1458 | // each of these can by async |
| 1459 | synchronize(function() { |
| 1460 | test.setup(); |
| 1461 | }); |
| 1462 | synchronize(function() { |
| 1463 | test.run(); |
| 1464 | }); |
| 1465 | synchronize(function() { |
| 1466 | test.teardown(); |
| 1467 | }); |
| 1468 | synchronize(function() { |
| 1469 | test.finish(); |
| 1470 | }); |
| 1471 | } |
| 1472 | |
| 1473 | // `bad` initialized at top of scope |
| 1474 | // defer when previous test run passed, if storage is available |