diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-08-24 07:03:09 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-08-24 07:03:09 (GMT) |
commit | 494d2d9041b7277f6d22146593ff01c7c7f7021b (patch) | |
tree | adf0cbde4789e99dbb9b3c38825dacb79ee363c3 | |
parent | fd6d3e18217d9b5c9c5c9435a1e7b47042a7f9ed (diff) | |
download | Qt-494d2d9041b7277f6d22146593ff01c7c7f7021b.zip Qt-494d2d9041b7277f6d22146593ff01c7c7f7021b.tar.gz Qt-494d2d9041b7277f6d22146593ff01c7c7f7021b.tar.bz2 |
Fix test on case insensitive filesystems.
We cannot have a failingComponent.qml and a FailingComponent.qml file
4 files changed, 9 insertions, 10 deletions
diff --git a/tests/auto/declarative/qmlparser/FailingComponent.qml b/tests/auto/declarative/qmlparser/FailingComponent.qml deleted file mode 100644 index 1c01e3d..0000000 --- a/tests/auto/declarative/qmlparser/FailingComponent.qml +++ /dev/null @@ -1,5 +0,0 @@ -import Qt 4.6 - -Object { - a: 10 -} diff --git a/tests/auto/declarative/qmlparser/failingComponent.qml b/tests/auto/declarative/qmlparser/failingComponent.qml index bc21243..1c01e3d 100644 --- a/tests/auto/declarative/qmlparser/failingComponent.qml +++ b/tests/auto/declarative/qmlparser/failingComponent.qml @@ -1,5 +1,5 @@ -import Test 1.0 -MyContainer { - FailingComponent {} -} +import Qt 4.6 +Object { + a: 10 +} diff --git a/tests/auto/declarative/qmlparser/failingComponentTest.qml b/tests/auto/declarative/qmlparser/failingComponentTest.qml new file mode 100644 index 0000000..74a6acf --- /dev/null +++ b/tests/auto/declarative/qmlparser/failingComponentTest.qml @@ -0,0 +1,4 @@ +import Test 1.0 +MyContainer { + FailingComponent {} +} diff --git a/tests/auto/declarative/qmlparser/tst_qmlparser.cpp b/tests/auto/declarative/qmlparser/tst_qmlparser.cpp index 0bac946..a9c4351 100644 --- a/tests/auto/declarative/qmlparser/tst_qmlparser.cpp +++ b/tests/auto/declarative/qmlparser/tst_qmlparser.cpp @@ -143,7 +143,7 @@ void tst_qmlparser::errors_data() QTest::newRow("unregisteredObject") << "unregisteredObject.qml" << "unregisteredObject.errors.txt" << false; QTest::newRow("empty") << "empty.qml" << "empty.errors.txt" << false; QTest::newRow("missingObject") << "missingObject.qml" << "missingObject.errors.txt" << false; - QTest::newRow("failingComponent") << "failingComponent.qml" << "failingComponent.errors.txt" << false; + QTest::newRow("failingComponent") << "failingComponentTest.qml" << "failingComponent.errors.txt" << false; QTest::newRow("missingSignal") << "missingSignal.qml" << "missingSignal.errors.txt" << false; QTest::newRow("finalOverride") << "finalOverride.qml" << "finalOverride.errors.txt" << false; } |