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

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: use hex for the colours in the test output 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
« no previous file with comments | « sky/tests/raw/render_box-expected.txt ('k') | sky/tests/raw/render_flex-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5a019fe8c4b430402338976fba74bbac82f54e83 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));
« no previous file with comments | « sky/tests/raw/render_box-expected.txt ('k') | sky/tests/raw/render_flex-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698