summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtextscriptengine
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-08-06 01:04:23 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-08-06 03:39:12 (GMT)
commit56b349951a70f3ab95e334e41e37f017e91cf481 (patch)
tree76c37ddbf800b6a5186bda53aa7e00ebd768322c /tests/auto/qtextscriptengine
parent90480b9a25568858d1383e0aab6f5708a7dabd4f (diff)
downloadQt-56b349951a70f3ab95e334e41e37f017e91cf481.zip
Qt-56b349951a70f3ab95e334e41e37f017e91cf481.tar.gz
Qt-56b349951a70f3ab95e334e41e37f017e91cf481.tar.bz2
Cleaned up test naming and platform-specific tests.
When an autotest fails to compile, there's no way to determine which testcase(s) have been prevented from running. Our results parsing tools have been guessing, under the assumption that a directory called `qdogwalker' always contains a testcase named `tst_qdogwalker'. That wasn't true for all our tests, so let's make it true. Also changed the platform-specific tests so that qmake will simply skip those tests on unsupported platforms, instead of wasting time compiling a useless QTEST_NOOP_MAIN test.
Diffstat (limited to 'tests/auto/qtextscriptengine')
-rw-r--r--tests/auto/qtextscriptengine/tst_qtextscriptengine.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/auto/qtextscriptengine/tst_qtextscriptengine.cpp b/tests/auto/qtextscriptengine/tst_qtextscriptengine.cpp
index 30f97ba..13d0f34 100644
--- a/tests/auto/qtextscriptengine/tst_qtextscriptengine.cpp
+++ b/tests/auto/qtextscriptengine/tst_qtextscriptengine.cpp
@@ -76,13 +76,13 @@
// This test depends on the fonts in the following package being installed:
// http://people.freedesktop.org/~hausmann/harfbuzz-test-fonts-0.1.tar.bz2
-class tst_QScriptEngine : public QObject
+class tst_QTextScriptEngine : public QObject
{
Q_OBJECT
public:
- tst_QScriptEngine();
- virtual ~tst_QScriptEngine();
+ tst_QTextScriptEngine();
+ virtual ~tst_QTextScriptEngine();
public slots:
@@ -104,19 +104,19 @@ private slots:
void linearB();
};
-tst_QScriptEngine::tst_QScriptEngine()
+tst_QTextScriptEngine::tst_QTextScriptEngine()
{
}
-tst_QScriptEngine::~tst_QScriptEngine()
+tst_QTextScriptEngine::~tst_QTextScriptEngine()
{
}
-void tst_QScriptEngine::init()
+void tst_QTextScriptEngine::init()
{
}
-void tst_QScriptEngine::cleanup()
+void tst_QTextScriptEngine::cleanup()
{
}
@@ -172,7 +172,7 @@ static bool shaping( const QFont &f, const ShapeTable *s)
}
#endif
-void tst_QScriptEngine::devanagari()
+void tst_QTextScriptEngine::devanagari()
{
#if defined(Q_WS_X11)
{
@@ -284,7 +284,7 @@ void tst_QScriptEngine::devanagari()
#endif
}
-void tst_QScriptEngine::bengali()
+void tst_QTextScriptEngine::bengali()
{
#if defined(Q_WS_X11)
{
@@ -531,7 +531,7 @@ void tst_QScriptEngine::bengali()
#endif
}
-void tst_QScriptEngine::gurmukhi()
+void tst_QTextScriptEngine::gurmukhi()
{
#if defined(Q_WS_X11)
{
@@ -556,7 +556,7 @@ void tst_QScriptEngine::gurmukhi()
#endif
}
-void tst_QScriptEngine::oriya()
+void tst_QTextScriptEngine::oriya()
{
#if defined(Q_WS_X11)
{
@@ -596,7 +596,7 @@ void tst_QScriptEngine::oriya()
}
-void tst_QScriptEngine::tamil()
+void tst_QTextScriptEngine::tamil()
{
#if defined(Q_WS_X11)
{
@@ -667,7 +667,7 @@ void tst_QScriptEngine::tamil()
}
-void tst_QScriptEngine::telugu()
+void tst_QTextScriptEngine::telugu()
{
#if defined(Q_WS_X11)
{
@@ -713,7 +713,7 @@ void tst_QScriptEngine::telugu()
}
-void tst_QScriptEngine::kannada()
+void tst_QTextScriptEngine::kannada()
{
#if defined(Q_WS_X11)
{
@@ -783,7 +783,7 @@ void tst_QScriptEngine::kannada()
-void tst_QScriptEngine::malayalam()
+void tst_QTextScriptEngine::malayalam()
{
#if defined(Q_WS_X11)
{
@@ -838,7 +838,7 @@ void tst_QScriptEngine::malayalam()
-void tst_QScriptEngine::khmer()
+void tst_QTextScriptEngine::khmer()
{
#if defined(Q_WS_X11)
{
@@ -881,7 +881,7 @@ void tst_QScriptEngine::khmer()
#endif
}
-void tst_QScriptEngine::linearB()
+void tst_QTextScriptEngine::linearB()
{
#if defined(Q_WS_X11)
{
@@ -909,5 +909,5 @@ void tst_QScriptEngine::linearB()
}
-QTEST_MAIN(tst_QScriptEngine)
+QTEST_MAIN(tst_QTextScriptEngine)
#include "tst_qtextscriptengine.moc"