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

Unified Diff: sky/tests/raw/box_layout.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/tests/framework/stocks-expected.txt ('k') | sky/tests/raw/box_layout-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/raw/box_layout.dart
diff --git a/sky/tests/raw/box_layout.dart b/sky/tests/raw/box_layout.dart
index 8f0f7286e18f847b9752e4a209a8ef42f34e72ba..65e4213fb60ef96f76603f0dbec5c7f2730d2244 100644
--- a/sky/tests/raw/box_layout.dart
+++ b/sky/tests/raw/box_layout.dart
@@ -1,14 +1,14 @@
-import '../resources/third_party/unittest/unittest.dart';
-import '../resources/unit.dart';
-import '../resources/display_list.dart';
import 'dart:math' as math;
import 'dart:sky' as sky;
+
import 'package:sky/framework/app.dart';
-import 'package:sky/framework/rendering/box.dart';
import 'package:sky/framework/rendering/block.dart';
+import 'package:sky/framework/rendering/box.dart';
import 'package:sky/framework/rendering/object.dart';
-TestApp app;
+import '../resources/display_list.dart';
+import '../resources/third_party/unittest/unittest.dart';
+import '../resources/unit.dart';
void main() {
initUnit();
@@ -19,6 +19,6 @@ void main() {
var padding = new RenderPadding(padding: new EdgeDims.all(50.0), child: inner);
var block = new RenderBlock(children: [padding]);
var outer = new RenderDecoratedBox(decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFF0000FF)), child: block);
- app = new TestApp(outer);
+ new TestRenderView(outer);
});
}
« no previous file with comments | « sky/tests/framework/stocks-expected.txt ('k') | sky/tests/raw/box_layout-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698