Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: sky/tests/framework/stocks.dart

Issue 1177043008: Make it possible to test that the stock app doesn't crash on startup and paints the basic scaffold … (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/sdk/lib/framework/widgets/ui_node.dart ('k') | sky/tests/framework/stocks-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 import 'dart:async';
6
7 import 'package:sky/framework/app.dart';
8 import 'package:sky/framework/widgets/ui_node.dart';
9
10 import '../../examples/stocks2/lib/stock_app.dart';
11 import '../resources/display_list.dart';
12 import '../resources/third_party/unittest/unittest.dart';
13 import '../resources/unit.dart';
14
15 void main() {
16 initUnit();
17
18 TestRenderView testRenderView = new TestRenderView();
19
20 test("launching stock app", () {
21 new StocksApp(renderViewOverride: testRenderView);
22 new Future.microtask(testRenderView.checkFrame);
23 });
24 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/widgets/ui_node.dart ('k') | sky/tests/framework/stocks-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698