OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 import 'dart:async'; | 5 import 'dart:async'; |
6 | 6 |
7 import 'package:sky/app/view.dart'; | |
8 import 'package:sky/widgets/widget.dart'; | 7 import 'package:sky/widgets/widget.dart'; |
9 | 8 |
10 import '../../examples/stocks2/lib/stock_app.dart'; | 9 import '../../examples/stocks2/lib/stock_app.dart'; |
11 import '../resources/display_list.dart'; | 10 import '../resources/display_list.dart'; |
12 | 11 |
13 main() async { | 12 main() async { |
14 TestRenderView testRenderView = new TestRenderView(); | 13 TestRenderView testRenderView = new TestRenderView(); |
15 runApp(new StocksApp(), renderViewOverride: testRenderView); | 14 runApp(new StocksApp(), renderViewOverride: testRenderView); |
16 await testRenderView.checkFrame(); | 15 await testRenderView.checkFrame(); |
17 testRenderView.endTest(); | 16 testRenderView.endTest(); |
18 } | 17 } |
OLD | NEW |