| Index: sky/tests/framework/stocks.dart
|
| diff --git a/sky/tests/framework/stocks.dart b/sky/tests/framework/stocks.dart
|
| index 69922b7fca67ec2b374c226562eff5d602619ff1..ac99398f2478d18e1fb961bdceeca824e08e42e4 100644
|
| --- a/sky/tests/framework/stocks.dart
|
| +++ b/sky/tests/framework/stocks.dart
|
| @@ -9,16 +9,10 @@ import 'package:sky/widgets/widget.dart';
|
|
|
| import '../../examples/stocks2/lib/stock_app.dart';
|
| import '../resources/display_list.dart';
|
| -import '../resources/third_party/unittest/unittest.dart';
|
| -import '../resources/unit.dart';
|
| -
|
| -void main() {
|
| - initUnit();
|
|
|
| +main() async {
|
| TestRenderView testRenderView = new TestRenderView();
|
| -
|
| - test("launching stock app", () {
|
| - runApp(new StocksApp(), renderViewOverride: testRenderView);
|
| - new Future.microtask(testRenderView.checkFrame);
|
| - });
|
| + runApp(new StocksApp(), renderViewOverride: testRenderView);
|
| + await testRenderView.checkFrame();
|
| + testRenderView.endTest();
|
| }
|
|
|