messagingapp/msgui/msgaudiofetcher/tsrc/unittest_msgaudiofetchermodel/inc/unittest_msgaudiofetchermodel.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingapp/msgui/msgaudiofetcher/tsrc/unittest_msgaudiofetchermodel/inc/unittest_msgaudiofetchermodel.h Tue Oct 05 13:58:47 2010 +0530
@@ -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: Item decorator of the message list view.
+ *
+ */
+
+#include "MsgAudioFetcherModel.h"
+class HbMainWindow;
+class HbListView;
+class TestMsgAudioFetcherModel:public QObject
+ {
+ Q_OBJECT
+public:
+ TestMsgAudioFetcherModel();
+ ~TestMsgAudioFetcherModel();
+private slots:
+
+ void initTestCase();
+
+ void test_Constructor();
+
+ void test_init();
+
+ void test_addToneFiles();
+
+ void test_insertIndex();
+
+ void test_clearAll();
+
+ void test_queryComplete();
+
+ void test_isDRM_data();
+
+ void test_isDRM();
+
+ void cleanupTestCase();
+private:
+
+ MsgAudioFetcherModel* mMsgAudioFetcherModel;
+ HbMainWindow* mTestMainWindow;
+ HbListView* mListView;
+ };