Use QTEST_MAIN when possible
authorJan Arne Petersen <jpetersen@openismus.com>
Fri, 9 Mar 2012 10:08:09 +0000 (11:08 +0100)
committerJan Arne Petersen <jpetersen@openismus.com>
Fri, 9 Mar 2012 10:08:09 +0000 (11:08 +0100)
commit3f4d5cfdaaab7a79ca60fb19c1c6519310da4843
tree1147bfb9ef5966a4f0c6d504d4d925c41c1e831d
parentb153b75c96745d03bb2ac41183af8703870f1240
Use QTEST_MAIN when possible

Do not create QApplications explicitly but just use QTEST_MAIN when
possible. That allows the QApplication to obey commandline arguments.

RevBy: TBD
22 files changed:
tests/ft_exampleplugin/ft_exampleplugin.cpp
tests/ft_exampleplugin/ft_exampleplugin.h
tests/ft_mimpluginmanager/ft_mimpluginmanager.cpp
tests/ft_mimpluginmanager/ft_mimpluginmanager.h
tests/ut_maliit_inputmethod/ut_maliit_inputmethod.cpp
tests/ut_mattributeextensionmanager/ut_mattributeextensionmanager.cpp
tests/ut_mattributeextensionmanager/ut_mattributeextensionmanager.h
tests/ut_mimpluginmanager/ut_mimpluginmanager.cpp
tests/ut_mimpluginmanager/ut_mimpluginmanager.h
tests/ut_mimserveroptions/ut_mimserveroptions.cpp
tests/ut_mimserveroptions/ut_mimserveroptions.h
tests/ut_mimsettings/ut_mimsettings.cpp
tests/ut_mimsettings/ut_mimsettings.h
tests/ut_minputcontext/ut_minputcontext.cpp
tests/ut_minputcontext/ut_minputcontext.h
tests/ut_minputmethodquickplugin/ut_minputmethodquickplugin.cpp
tests/ut_mkeyoverride/ut_mkeyoverride.cpp
tests/ut_mkeyoverride/ut_mkeyoverride.h
tests/ut_mtoolbardata/ut_mtoolbardata.cpp
tests/ut_mtoolbardata/ut_mtoolbardata.h
tests/ut_mtoolbaritem/ut_mtoolbaritem.cpp
tests/ut_mtoolbaritem/ut_mtoolbaritem.h