diff -r e8a69c93c830 -r ecf6a73a9186 messagingapp/msgui/msgaudiofetcher/tsrc/unittest_msgaudiofetcherdialog/inc/unittest_msgaudiofetcherdialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingapp/msgui/msgaudiofetcher/tsrc/unittest_msgaudiofetcherdialog/inc/unittest_msgaudiofetcherdialog.h Tue Oct 05 13:58:47 2010 +0530 @@ -0,0 +1,48 @@ +/* + * 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 "msgaudiofetcherdialog.h" + +class TestMsgAudioFetcherDialog:public QObject{ + Q_OBJECT +public: + TestMsgAudioFetcherDialog(); + + ~TestMsgAudioFetcherDialog(); + +private slots: + + void initTestCase(); + + void test_Constructor(); + + void test_initMainWidget(); + + void test_initActions(); + + void test_doDelayedConstruction(); + + void test_onSelectAction(); + + void test_reset(); + + void cleanupTestCase(); + +private: + MsgAudioFetcherDialog* mAudioFetcherDialog; + HbMainWindow *mTestMainWindow; +};