summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-06 01:03:57 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-06 01:03:57 (GMT)
commitf528ab987a8d91e1f3f4049b754a008f1ffdd946 (patch)
tree5893c0c090c2d12718d07028a410163b79c85c8f /tests/auto
parent71b0c10cb0a0186b6978143566bb0b35b3de3b54 (diff)
downloadQt-f528ab987a8d91e1f3f4049b754a008f1ffdd946.zip
Qt-f528ab987a8d91e1f3f4049b754a008f1ffdd946.tar.gz
Qt-f528ab987a8d91e1f3f4049b754a008f1ffdd946.tar.bz2
rename
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/declarative/qmlgraphicswebview/tst_qmlgraphicswebview.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/auto/declarative/qmlgraphicswebview/tst_qmlgraphicswebview.cpp b/tests/auto/declarative/qmlgraphicswebview/tst_qmlgraphicswebview.cpp
index a8a0854..346bdc7 100644
--- a/tests/auto/declarative/qmlgraphicswebview/tst_qmlgraphicswebview.cpp
+++ b/tests/auto/declarative/qmlgraphicswebview/tst_qmlgraphicswebview.cpp
@@ -48,11 +48,11 @@
#include <QtCore/qdir.h>
#include <QtCore/qfile.h>
-class tst_qfxwebview : public QObject
+class tst_qmlgraphicswebview : public QObject
{
Q_OBJECT
public:
- tst_qfxwebview() {}
+ tst_qmlgraphicswebview() {}
private slots:
void basicProperties();
@@ -65,7 +65,7 @@ private:
QmlEngine engine;
QString tmpDir() const
{
- static QString tmpd = QDir::tempPath()+"/tst_qfxwebview-"
+ static QString tmpd = QDir::tempPath()+"/tst_qmlgraphicswebview-"
+ QDateTime::currentDateTime().toString(QLatin1String("yyyyMMddhhmmss"));
return tmpd;
}
@@ -83,12 +83,12 @@ void removeRecursive(const QString& dirname)
QDir().rmdir(dirname);
}
-void tst_qfxwebview::cleanupTestCase()
+void tst_qmlgraphicswebview::cleanupTestCase()
{
removeRecursive(tmpDir());
}
-void tst_qfxwebview::checkNoErrors(const QmlComponent& component)
+void tst_qmlgraphicswebview::checkNoErrors(const QmlComponent& component)
{
if (component.isError()) {
QList<QmlError> errors = component.errors();
@@ -103,7 +103,7 @@ void tst_qfxwebview::checkNoErrors(const QmlComponent& component)
QVERIFY(!component.isError());
}
-void tst_qfxwebview::basicProperties()
+void tst_qmlgraphicswebview::basicProperties()
{
QmlComponent component(&engine, QUrl::fromLocalFile(SRCDIR "/data/basic.qml"));
checkNoErrors(component);
@@ -139,7 +139,7 @@ void tst_qfxwebview::basicProperties()
QVERIFY(!wv->stopAction()->isEnabled());
}
-void tst_qfxwebview::setHtml()
+void tst_qmlgraphicswebview::setHtml()
{
QmlComponent component(&engine, QUrl::fromLocalFile(SRCDIR "/data/sethtml.qml"));
checkNoErrors(component);
@@ -148,6 +148,6 @@ void tst_qfxwebview::setHtml()
QCOMPARE(wv->html(),QString("<html><head></head><body><p>This is a <b>string</b> set on the WebView</p></body></html>"));
}
-QTEST_MAIN(tst_qfxwebview)
+QTEST_MAIN(tst_qmlgraphicswebview)
-#include "tst_qfxwebview.moc"
+#include "tst_qmlgraphicswebview.moc"