videoplayback/videoplaybackview/tsrc/testuserinputhandler/inc/testuserinputhandler.h
changeset 62 0e1e938beb1a
parent 59 a76e86df7ccd
--- a/videoplayback/videoplaybackview/tsrc/testuserinputhandler/inc/testuserinputhandler.h	Thu Sep 02 20:28:16 2010 +0300
+++ b/videoplayback/videoplaybackview/tsrc/testuserinputhandler/inc/testuserinputhandler.h	Fri Sep 17 08:30:05 2010 +0300
@@ -1,5 +1,5 @@
 /**
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
+* 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"
@@ -12,7 +12,7 @@
 * Contributors:
 *
 * Description:   tester for methods in User Input Handler
-* 
+*
 */
 
 #ifndef __TESTUSERINPUTHANDLER_H__
@@ -23,55 +23,38 @@
 #include <QtTest/QtTest>
 
 
-
 // forward declaration
 class CMPXVideoViewWrapper;
+class VideoBasePlaybackView;
 class CVideoPlaybackUserInputHandler;
-class VideoBasePlaybackView;
 
 
 class TestUserInputHandler : public QObject
 {
     Q_OBJECT
 
-public:
-
-    void init(); 
-    
-    void cleanup();
-        
-    void setup();
-    
-
-    // test functions for the test framework         
-private slots:
-
-    void testProcessMediaKeyPlay();
-
-    void testProcessMediaKeyPause();
-
-    void testProcessMediaKeyPlayPause();
+    public:
+        void init();
+        void cleanup();
+        void setup();
 
-    void testProcessMediaKeyStop();
+    // test functions for the test framework
+    private slots:
+        void testProcessMediaKeyPlay();
+        void testProcessMediaKeyPause();
+        void testProcessMediaKeyPlayPause();
+        void testProcessMediaKeyStop();
+        void testProcessMediaKeyForward();
+        void testProcessMediaKeyRewind();
+        void testProcessMediaKeyVolumeUp();
+        void testProcessMediaKeyVolumeDown();
+        void testProcessMediaKeyWhenLocked();
+        void testProcessMediaKeyWhenInBackground();
 
-    void testProcessMediaKeyForward();
-    
-    void testProcessMediaKeyRewind();
-    
-    void testProcessMediaKeyVolumeUp();
-    
-    void testProcessMediaKeyVolumeDown();
- 
-    void testHandleTVOutEventL();
-		
-    
-signals:
-    
-private:
-    CVideoPlaybackUserInputHandler*     mUserInputHdlr;	
-    VideoBasePlaybackView*              mBaseVideoView;
-    CMPXVideoViewWrapper*               mVideoViewWrapper;
- 
+    private:
+        CVideoPlaybackUserInputHandler*     mUserInputHdlr;
+        VideoBasePlaybackView*              mBaseVideoView;
+        CMPXVideoViewWrapper*               mVideoViewWrapper;
 };