--- a/mpengine/tsrc/unittest_mpmediakeyhandler/inc/unittest_mpmediakeyhandler.h Tue Jul 06 14:13:36 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-/**
-* 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"
-* 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: Unit test for mpmediakeyhandler
-*
-*/
-
-#ifndef TESTMPMEDIAKEYHANDLER_H
-#define TESTMPMEDIAKEYHANDLER_H
-
-#include <QtTest/QtTest>
-
-class MpMediaKeyHandler;
-class MpMediaKeyHandlerPrivate;
-
-class TestMpMediaKeyHandler : public QObject
-{
- Q_OBJECT
-
-public:
-
- TestMpMediaKeyHandler();
- virtual ~TestMpMediaKeyHandler();
-
-// from QtTest
-public slots:
-
- void initTestCase();
- void cleanupTestCase();
- void init();
- void cleanup();
-
-// internal
-private slots:
-
- void testConstructor();
- void testDestructor();
- void testConstructorFail();
- void testDestructorFail();
- void testCommandVolumeUpKey();
- void testCommandVolumeDownKey();
- void testCommandPlayKey();
- void testCommandPauseKey();
- void testCommandPlayPauseKey();
- void testCommandStopKey();
- void testCommandFastForwardKeyPress();
- void testCommandFastForwardKeyRelease();
- void testCommandRewindKeyPress();
- void testCommandRewindKeyRelease();
- void testCommandForwardKey();
- void testCommandBackwardKey();
-
- void testPlay();
- void testAudioInputFunction();
- void testSelectAvInputFunction();
- void testSelectDiskFunction();
- void testTuneFunction();
-
-private:
-
- MpMediaKeyHandler *mTest;
- MpMediaKeyHandlerPrivate *mTestPrivate;
-
-};
-
-#endif // TESTMPMEDIAKEYHANDLER_H
-
-
-
-