diff -r ae8abd0db65c -r e32024264ebb vmbx/vmbxcpplugin/tsrc/inc/ut_vmbxcpplugin.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vmbx/vmbxcpplugin/tsrc/inc/ut_vmbxcpplugin.h Fri Apr 16 15:31:58 2010 +0300 @@ -0,0 +1,80 @@ +/* +* Copyright (c) 2009 - 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: Implementation of the Ut_vmbxCpPlugin class +* +*/ + + +#ifndef UT_VMBXCPPLUGIN_H +#define UT_VMBXCPPLUGIN_H + +// System includes +#include +#include +#include +#include +#include +#include + + +// Class forwards +class VmbxCpPlugin; +class VmbxCpGroup; + +/*! + Mt_vmbxEngine module test class. + + Tests Ut_vmbxCpPlugin interface. + See cpp file for more information. + + @lib Ut_vmbxCpPlugin.lib +*/ + +// Class declaration +class Ut_vmbxCpPlugin : public QObject +{ + Q_OBJECT + +public: + Ut_vmbxCpPlugin(); + + virtual ~Ut_vmbxCpPlugin(); + +private slots: + + /*! + Called before the first testfunction is executed. + */ + void initTestCase(); + + /*! + Called after the last testfunction has been executed. + */ + void cleanupTestCase(); + + /*! + Test method in VmbxCpPlugin + */ + void testCreateSettingFormItemData(); + +private: //data + + /*! + Own. + */ + VmbxCpPlugin *mCpPlugin; + +}; + +#endif // _UT_VMBXCPPLUGIN_H