diff -r 12bc758d6a02 -r 25b8d29b7c59 cellular/psuinotes/tsrc/ut_psuiclinotehandler/ut_psuiclinotehandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cellular/psuinotes/tsrc/ut_psuiclinotehandler/ut_psuiclinotehandler.h Fri Oct 15 13:21:28 2010 +0300 @@ -0,0 +1,54 @@ +/* +* Copyright (c) 2010 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: +* +*/ + +#ifndef UT_PSUICLINOTEHANDLER_H +#define UT_PSUICLINOTEHANDLER_H + +#include +#include + +class CPsetContainer; +class PSetCliWrapper; +class PsUiCliNoteHandler; + +class UT_psuiclinotehandler : public QObject, MockService +{ + Q_OBJECT + +public: + UT_psuiclinotehandler(); + ~UT_psuiclinotehandler(); + +private slots: + void init(); + void cleanup(); + void t_memleak(); + + void t_construction(); + + void t_handleCliRequesting(); + void t_cliInformation(); + void t_handleCliError(); + void t_handleCnapStatus(); + +private: + CPsetContainer *m_psetContainer; + PSetCliWrapper *m_mockCliWrapper; + PsUiCliNoteHandler *m_cliHandler; +}; + +#endif // UT_PSUCLINOTEHANDLER_H