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/ui_node.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 import '../resources/third_party/unittest/unittest.dart'; | 12 import '../resources/third_party/unittest/unittest.dart'; |
13 import '../resources/unit.dart'; | 13 import '../resources/unit.dart'; |
14 | 14 |
15 void main() { | 15 void main() { |
16 initUnit(); | 16 initUnit(); |
17 | 17 |
18 TestRenderView testRenderView = new TestRenderView(); | 18 TestRenderView testRenderView = new TestRenderView(); |
19 | 19 |
20 test("launching stock app", () { | 20 test("launching stock app", () { |
21 new StocksApp(renderViewOverride: testRenderView); | 21 new StocksApp(renderViewOverride: testRenderView); |
22 new Future.microtask(testRenderView.checkFrame); | 22 new Future.microtask(testRenderView.checkFrame); |
23 }); | 23 }); |
24 } | 24 } |
OLD | NEW |