diff options
author | Charles Yin <charles.yin@nokia.com> | 2012-04-05 10:17:34 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-05 05:14:56 +0200 |
commit | 82a048c3cff06dd6e9a97a72d235decb1a39e1c3 (patch) | |
tree | d10fa98238eb3b59d0752ec5dfb120ed6db07213 /tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp | |
parent | 95cb2a1b5caf7d7158dd1176380c1458ea22b54f (diff) |
Fix some issues with init_data() for qmltest
1. should not use hasOwnProperty, replace it with 'in'
2. the default init_data() method is unnessary
3. when init_data() returns empty, the test function should run in non data driven mode
Change-Id: I8cb19d3499b285d07c8b3d04abd9ddf33b1c5395
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp')
0 files changed, 0 insertions, 0 deletions