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

Unified Diff: sky/tests/raw/render_flex.dart

Issue 1153053012: Make our raw/ tests actually check the paint output. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
Index: sky/tests/raw/render_flex.dart
diff --git a/sky/tests/raw/render_flex.dart b/sky/tests/raw/render_flex.dart
index 5cc95895e2ba906769b59876a9f7c801919a8a24..e5339e8d0983b3d4e52bd83b9f34fc4880a3c05e 100644
--- a/sky/tests/raw/render_flex.dart
+++ b/sky/tests/raw/render_flex.dart
@@ -4,6 +4,7 @@
import '../resources/third_party/unittest/unittest.dart';
import '../resources/unit.dart';
+import '../resources/display-list.dart';
import 'dart:sky' as sky;
import 'package:sky/framework/app.dart';
import 'package:sky/framework/rendering/render_block.dart';
@@ -35,7 +36,7 @@ class RenderSolidColor extends RenderDecoratedBox {
}
}
-AppView app;
+TestApp app;
void main() {
initUnit();
@@ -86,8 +87,7 @@ void main() {
flexRoot.add(decoratedRow);
decoratedRow.parentData.flex = 3;
-
- app = new AppView(root);
+ app = new TestApp(root);
expect(root.size.width, equals(sky.view.width));
expect(root.size.height, equals(sky.view.height));

Powered by Google App Engine
This is Rietveld 408576698