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); |
}); |
} |