diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-10-14 03:05:06 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-10-14 03:05:48 (GMT) |
commit | cca9125431672193e93676ebd449c48664b52ba3 (patch) | |
tree | c005f633920cd84cc0a058765069e43ad7c025e9 /tests/auto | |
parent | 3b9f49b9c56554b06436e0353baa7e74dc412e8f (diff) | |
download | Qt-cca9125431672193e93676ebd449c48664b52ba3.zip Qt-cca9125431672193e93676ebd449c48664b52ba3.tar.gz Qt-cca9125431672193e93676ebd449c48664b52ba3.tar.bz2 |
Fix animation autotests.
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/animations/data/badproperty1.qml | 2 | ||||
-rw-r--r-- | tests/auto/declarative/animations/tst_animations.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/animations/data/badproperty1.qml b/tests/auto/declarative/animations/data/badproperty1.qml index a01753e..78da34a 100644 --- a/tests/auto/declarative/animations/data/badproperty1.qml +++ b/tests/auto/declarative/animations/data/badproperty1.qml @@ -16,7 +16,7 @@ Rectangle { } states: State { name: "state1" - PropertyChanges { target: MyRect; pen.color: "blue" } + PropertyChanges { target: MyRect; border.color: "blue" } } transitions: Transition { ColorAnimation { target: MyRect; to: "red"; properties: "pen.colr"; duration: 1000 } diff --git a/tests/auto/declarative/animations/tst_animations.cpp b/tests/auto/declarative/animations/tst_animations.cpp index 0e46224..336f0d3 100644 --- a/tests/auto/declarative/animations/tst_animations.cpp +++ b/tests/auto/declarative/animations/tst_animations.cpp @@ -86,7 +86,7 @@ void tst_animations::dotProperty() QTest::qWait(animation.duration() + 50); QCOMPARE(rect.border()->width(), 10); - rect.border()->setWidth(1); + rect.border()->setWidth(0); animation.start(); animation.pause(); animation.setCurrentTime(125); |