| Index: sky/tests/raw/render_flex.dart
|
| diff --git a/sky/tests/raw/render_flex.dart b/sky/tests/raw/render_flex.dart
|
| index 49baa219a5233450afff561ab063f8725ba55986..a19861aa07ab4ef675815c06eef1f8313e606a12 100644
|
| --- a/sky/tests/raw/render_flex.dart
|
| +++ b/sky/tests/raw/render_flex.dart
|
| @@ -2,15 +2,17 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -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/block.dart';
|
| import 'package:sky/framework/rendering/box.dart';
|
| import 'package:sky/framework/rendering/flex.dart';
|
|
|
| +import '../resources/display_list.dart';
|
| +import '../resources/third_party/unittest/unittest.dart';
|
| +import '../resources/unit.dart';
|
| +
|
| class RenderSolidColor extends RenderDecoratedBox {
|
| final sky.Size desiredSize;
|
| final sky.Color backgroundColor;
|
| @@ -48,8 +50,6 @@ class RenderSolidColor extends RenderDecoratedBox {
|
| }
|
| }
|
|
|
| -TestApp app;
|
| -
|
| void main() {
|
| initUnit();
|
|
|
| @@ -99,7 +99,8 @@ void main() {
|
|
|
| flexRoot.add(decoratedRow);
|
| decoratedRow.parentData.flex = 3;
|
| - app = new TestApp(root);
|
| +
|
| + new TestRenderView(root);
|
|
|
| expect(root.size.width, equals(sky.view.width));
|
| expect(root.size.height, equals(sky.view.height));
|
|
|