Code review comment for lp:~zsombi/ubuntu-ui-toolkit/76-refactoring

Revision history for this message
Tim Peeters (tpeeters) wrote :

2526 + Component { id: customStyle; ListItemStyle {} }
2527 +
2528 + function test_style_reset() {
2529 + testItem.style = customStyle;
2530 + testItem.style = undefined;
2531 + verify(testItem.style != 0, "Style set back to theme")
2532 + }

; missing

You only verify here that the style is not 0. Can we get the type of the style and validate that?

« Back to merge proposal