diff -r 824471cb468a -r 21fe8338c6bf videocollection/videocollectionview/tsrc/testvideooperatorservice/inc/testvideooperatorservice.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videocollection/videocollectionview/tsrc/testvideooperatorservice/inc/testvideooperatorservice.h Fri Aug 06 09:43:48 2010 +0300 @@ -0,0 +1,56 @@ +/** +* 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: tests for VideoOperatorService +* +*/ + +#ifndef TESTVIDEOOPERATORSERVICE_H +#define TESTVIDEOCOLLECTIONUILOADER_H + +// INCLUDES +#include + +// FORWARD DECLARATIONS +class VideoOperatorService; + +class TestVideoOperatorService : public QObject +{ + Q_OBJECT + +public: + TestVideoOperatorService(); + virtual ~TestVideoOperatorService(); + +private slots: // test functions for the test framework + void init(); + + void cleanup(); + +private slots: + + void testLoad(); + void testTitle(); + void testIconResource(); + void testLaunchService(); + +signals: + +private: + /** class under test */ + VideoOperatorService *mTestObject; + + +}; + +#endif//TESTVIDEOCOLLECTIONUILOADER_H