aboutsummaryrefslogtreecommitdiff
path: root/tests/ut_mvideowidget/ut_mvideowidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ut_mvideowidget/ut_mvideowidget.h')
-rw-r--r--tests/ut_mvideowidget/ut_mvideowidget.h67
1 files changed, 0 insertions, 67 deletions
diff --git a/tests/ut_mvideowidget/ut_mvideowidget.h b/tests/ut_mvideowidget/ut_mvideowidget.h
deleted file mode 100644
index a8be9180..00000000
--- a/tests/ut_mvideowidget/ut_mvideowidget.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#ifndef _ut_mvideowidget_
-#define _ut_mvideowidget_
-
-#include <QtTest/QtTest>
-#include <QObject>
-
-#include <mapplication.h>
-#include <mvideowidget.h>
-
-Q_DECLARE_METATYPE(MVideoWidget *);
-
-class ut_mvideowidget: public QObject
-{
- Q_OBJECT;
-
-public:
- ut_mvideowidget();
- virtual ~ut_mvideowidget();
-
-private:
-
- MVideoWidget *m_subject;
- MApplication *app;
-
-
- bool waitVideoReady(int msec=1000);
- bool waitPositionChange(int msec=1000);
- bool waitPositionFreeze(int msec=1000);
- bool ready;
-public slots:
-
- void videoReady();
-
-private slots:
-
- void init();
- void cleanup();
- void initTestCase();
- void cleanupTestCase();
-
- void testInitialState();
- void testBogusOpen();
- void testOpen();
- void testPlayback();
- void testVolumeControl();
- void testPositionControl();
-};
-#endif