videocollection/videocollectionview/tsrc/testvideooperatorservice_p/inc/testvideooperatorservice_p.h
changeset 55 4bfa887905cf
child 67 72c709219fcd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/videocollection/videocollectionview/tsrc/testvideooperatorservice_p/inc/testvideooperatorservice_p.h	Mon Aug 23 14:27:29 2010 +0300
@@ -0,0 +1,60 @@
+/**
+* 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_P_H
+#define TESTVIDEOOPERATORSERVICE_P_H
+
+// INCLUDE FILES
+#include <qttest/qttest>
+#include "apgclistub.h"
+#include "apaidstub.h"
+#include "coemainstub.h"
+#include "apgtaskstub.h"
+
+// FORWARD DECLARATIONS
+class VideoOperatorServicePrivate;
+
+class TestVideoOperatorServicePrivate : public QObject
+{
+    Q_OBJECT
+
+public:
+    TestVideoOperatorServicePrivate();
+    virtual ~TestVideoOperatorServicePrivate();
+    
+private slots: // test functions for the test framework
+    void init();
+        
+    void cleanup();
+    
+private slots:
+    
+    void testLoad();
+    void testTitle();
+    void testIconResource();
+    void testLaunchService();
+    void testSlots();
+    
+signals:
+    
+private:
+    /** class under test */
+    VideoOperatorServicePrivate *mTestObject;
+
+};
+
+#endif//TESTVIDEOOPERATORSERVICE_P_H