diff test/dw_resource_test.cc @ 2016:8cf59505bd0a

tests cleanup
author corvid <corvid@lavabit.com>
date Sat, 14 May 2011 06:45:42 +0000
parents bfb8bc9ddf62
children 223cf05a7e6a
line wrap: on
line diff
--- a/test/dw_resource_test.cc	Sat May 14 06:43:17 2011 +0000
+++ b/test/dw_resource_test.cc	Sat May 14 06:45:42 2011 +0000
@@ -56,6 +56,7 @@
    fontAttrs.weight = 400;
    fontAttrs.style = FONT_STYLE_NORMAL;
    fontAttrs.letterSpacing = 0;
+   fontAttrs.fontVariant = FONT_VARIANT_NORMAL;
    styleAttrs.font = dw::core::style::Font::create (layout, &fontAttrs);
 
    styleAttrs.color = Color::create (layout, 0x000000);
@@ -72,6 +73,8 @@
    styleAttrs.margin.setVal (0);
    styleAttrs.backgroundColor = NULL;
 
+   widgetStyle = Style::create (layout, &styleAttrs);
+
    SelectionResource *res = layout->getResourceFactory()->createListResource
       (ListResource::SELECTION_AT_MOST_ONE, 4);
    //SelectionResource *res =