From e34963f2365d6352b8d1bc0761697cc0df5dd5ff Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 3 Nov 2009 16:19:53 +0100 Subject: Trivial MainView Test and now we have two.. :) --- src/tests/tabbar_test.cpp | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/tests/tabbar_test.cpp') diff --git a/src/tests/tabbar_test.cpp b/src/tests/tabbar_test.cpp index 7b40c487..08f295d1 100644 --- a/src/tests/tabbar_test.cpp +++ b/src/tests/tabbar_test.cpp @@ -18,8 +18,11 @@ * Boston, MA 02110-1301 USA */ -#include -#include +#include + +#include +#include +#include #include "../tabbar.h" @@ -101,6 +104,7 @@ void TabBarTest::cleanup() { } +// ------------------------------------------- void TabBarTest::tabbar_data() { @@ -109,8 +113,10 @@ void TabBarTest::tabbar_data() void TabBarTest::tabbar() { + SubTabBar widget; } +// ------------------------------------------- void TabBarTest::tabSizeHint_data() { @@ -127,7 +133,8 @@ void TabBarTest::tabSizeHint() // SubTabBar bar; // QVERIFY(bar.call_tabSizeHint(index).width() <= 250); } + +// ------------------------------------------- - -QTEST_MAIN(TabBarTest) -#include "tst_tabbar.moc" +QTEST_KDEMAIN(TabBarTest, GUI) +#include "tabbar_test.moc" -- cgit v1.2.1