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'; | 7 import 'package:sky/app/view.dart'; |
8 import 'package:sky/widgets/widget.dart'; | 8 import 'package:sky/widgets/widget.dart'; |
9 | 9 |
10 import '../../examples/stocks2/lib/stock_app.dart'; | 10 import '../../examples/stocks2/lib/stock_app.dart'; |
11 import '../resources/display_list.dart'; | 11 import '../resources/display_list.dart'; |
12 | 12 |
13 main() async { | 13 main() async { |
14 TestRenderView testRenderView = new TestRenderView(); | 14 TestRenderView testRenderView = new TestRenderView(); |
15 runApp(new StocksApp(), renderViewOverride: testRenderView); | 15 runApp(new StocksApp(), renderViewOverride: testRenderView); |
16 await testRenderView.checkFrame(); | 16 await testRenderView.checkFrame(); |
17 testRenderView.endTest(); | 17 testRenderView.endTest(); |
18 } | 18 } |
OLD | NEW |