Index: sky/tests/raw/render_box.dart |
diff --git a/sky/tests/raw/render_box.dart b/sky/tests/raw/render_box.dart |
index e01469248cab8643e04599d01f10bd5b31cd700b..09adcb61b3d9872133f73077e112bde889915c47 100644 |
--- a/sky/tests/raw/render_box.dart |
+++ b/sky/tests/raw/render_box.dart |
@@ -10,13 +10,20 @@ import 'package:sky/rendering/object.dart'; |
import '../resources/display_list.dart'; |
import '../resources/third_party/unittest/unittest.dart'; |
import '../resources/unit.dart'; |
+import 'package:sky/theme2/colors.dart'; |
+import 'package:sky/theme2/shadows.dart'; |
void main() { |
initUnit(); |
test("should size to render view", () { |
RenderBox root = new RenderDecoratedBox( |
- decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFF00FF00)) |
+ decoration: new BoxDecoration( |
+ backgroundColor: const sky.Color(0xFF00FF00), |
+ gradient: new RadialGradient( |
+ center: Point.origin, radius: 500.0, |
+ colors: [Yellow[500], Blue[500]]), |
+ boxShadow: shadows[3]) |
); |
new TestRenderView(root); |
expect(root.size.width, equals(sky.view.width)); |