--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tsdevicedialog/tsdevicedialogplugin/tsrc/t_tstaskgriditem/t_tstaskgriditem.cpp Thu Sep 16 12:11:40 2010 +0100
@@ -0,0 +1,53 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#include "t_tstaskgriditem.h"
+#include "tstasksgriditem.h"
+#include <hbabstractviewitem.h>
+#include <QtTest/QtTest>
+void T_TsTaskGridItem::testConstructor()
+{
+ QVERIFY(0!=mInstance);
+}
+
+void T_TsTaskGridItem::testCreateItem()
+{
+ HbAbstractViewItem *const instance = mInstance->createItem();
+ delete instance;
+ QVERIFY(0!=instance);
+}
+
+void T_TsTaskGridItem::testUpdateChildItems()
+{
+ HbAbstractViewItem *item = mInstance->createItem();
+ item->updateChildItems();
+ delete item;
+}
+
+void T_TsTaskGridItem::init()
+{
+ mInstance = new TsTasksGridItem();
+ QVERIFY(0!=mInstance);
+}
+
+void T_TsTaskGridItem::clean()
+{
+ delete mInstance;
+ mInstance = 0;
+}
+
+QTEST_MAIN(T_TsTaskGridItem)