summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdeclarativevideo/tst_qdeclarativevideo.cpp
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-03-22 00:28:27 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-03-22 00:28:27 (GMT)
commit91ebcc413f0650ab235b93689776d4457bdbc80e (patch)
treedb4846ab6cf828b4f237e08b96b7615b14d1342e /tests/auto/qdeclarativevideo/tst_qdeclarativevideo.cpp
parent7a7dbde042b380f3005deb1c1e72e876eaa57d4c (diff)
downloadQt-91ebcc413f0650ab235b93689776d4457bdbc80e.zip
Qt-91ebcc413f0650ab235b93689776d4457bdbc80e.tar.gz
Qt-91ebcc413f0650ab235b93689776d4457bdbc80e.tar.bz2
Fixed inconsistent test naming.
TARGET and test class name should always match.
Diffstat (limited to 'tests/auto/qdeclarativevideo/tst_qdeclarativevideo.cpp')
-rw-r--r--tests/auto/qdeclarativevideo/tst_qdeclarativevideo.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/auto/qdeclarativevideo/tst_qdeclarativevideo.cpp b/tests/auto/qdeclarativevideo/tst_qdeclarativevideo.cpp
index 56dce28..0fbd78c 100644
--- a/tests/auto/qdeclarativevideo/tst_qdeclarativevideo.cpp
+++ b/tests/auto/qdeclarativevideo/tst_qdeclarativevideo.cpp
@@ -53,7 +53,7 @@
#include <QtMultimedia/qvideosurfaceformat.h>
-class tst_QmlGraphicsVideo : public QObject
+class tst_QDeclarativeVideo : public QObject
{
Q_OBJECT
public slots:
@@ -291,12 +291,12 @@ public:
};
-void tst_QmlGraphicsVideo::initTestCase()
+void tst_QDeclarativeVideo::initTestCase()
{
qRegisterMetaType<QDeclarativeVideo::Error>();
}
-void tst_QmlGraphicsVideo::nullPlayerControl()
+void tst_QDeclarativeVideo::nullPlayerControl()
{
QtTestMediaServiceProvider provider(0, 0, 0);
@@ -347,7 +347,7 @@ void tst_QmlGraphicsVideo::nullPlayerControl()
QCOMPARE(video.error(), QDeclarativeVideo::ServiceMissing);
}
-void tst_QmlGraphicsVideo::nullService()
+void tst_QDeclarativeVideo::nullService()
{
QtTestMediaServiceProvider provider(0);
@@ -402,7 +402,7 @@ void tst_QmlGraphicsVideo::nullService()
QCOMPARE(video.metaObject()->indexOfProperty("description"), -1);
}
-void tst_QmlGraphicsVideo::playing()
+void tst_QDeclarativeVideo::playing()
{
QtTestMediaServiceProvider provider;
QDeclarativeVideo video;
@@ -490,7 +490,7 @@ void tst_QmlGraphicsVideo::playing()
QCOMPARE(stoppedSpy.count(), stopped);
}
-void tst_QmlGraphicsVideo::paused()
+void tst_QDeclarativeVideo::paused()
{
QtTestMediaServiceProvider provider;
QDeclarativeVideo video;
@@ -778,7 +778,7 @@ void tst_QmlGraphicsVideo::paused()
QCOMPARE(stoppedSpy.count(), stopped);
}
-void tst_QmlGraphicsVideo::error()
+void tst_QDeclarativeVideo::error()
{
const QString errorString = QLatin1String("Failed to open device.");
@@ -815,7 +815,7 @@ void tst_QmlGraphicsVideo::error()
}
-void tst_QmlGraphicsVideo::hasAudio()
+void tst_QDeclarativeVideo::hasAudio()
{
QtTestMediaServiceProvider provider;
QDeclarativeVideo video;
@@ -838,7 +838,7 @@ void tst_QmlGraphicsVideo::hasAudio()
QCOMPARE(spy.count(), 3);
}
-void tst_QmlGraphicsVideo::hasVideo()
+void tst_QDeclarativeVideo::hasVideo()
{
QtTestMediaServiceProvider provider;
QDeclarativeVideo video;
@@ -862,7 +862,7 @@ void tst_QmlGraphicsVideo::hasVideo()
QCOMPARE(spy.count(), 3);
}
-void tst_QmlGraphicsVideo::fillMode()
+void tst_QDeclarativeVideo::fillMode()
{
QtTestMediaServiceProvider provider;
QDeclarativeVideo video;
@@ -888,7 +888,7 @@ void tst_QmlGraphicsVideo::fillMode()
QCOMPARE(videoItem->aspectRatioMode(), Qt::KeepAspectRatio);
}
-void tst_QmlGraphicsVideo::geometry()
+void tst_QDeclarativeVideo::geometry()
{
QtTestMediaServiceProvider provider;
QDeclarativeVideo video;
@@ -916,6 +916,6 @@ void tst_QmlGraphicsVideo::geometry()
QCOMPARE(videoItem->size().height(), qreal(328));
}
-QTEST_MAIN(tst_QmlGraphicsVideo)
+QTEST_MAIN(tst_QDeclarativeVideo)
#include "tst_qdeclarativevideo.moc"