diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-05-27 06:44:57 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-05-27 06:44:57 (GMT) |
commit | d61736900e8781fa2fa3b98f30abf8925787d0f9 (patch) | |
tree | 3109a78ad8e08bf49c620501c4b895f752c8bb53 /tests | |
parent | 0f932c13de7791246c1b30a8fed95a78867dde55 (diff) | |
download | Qt-d61736900e8781fa2fa3b98f30abf8925787d0f9.zip Qt-d61736900e8781fa2fa3b98f30abf8925787d0f9.tar.gz Qt-d61736900e8781fa2fa3b98f30abf8925787d0f9.tar.bz2 |
Fixed qpen test case panic in Symbian OS.
"Expected data of type _bool_, got _int_ for element 2 of data with
tag _differentColor_."
FALSE and TRUE are defined to int in Symbian OS, buu test case expects
boolean.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qpen/tst_qpen.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/qpen/tst_qpen.cpp b/tests/auto/qpen/tst_qpen.cpp index 0327629..4fc19c4 100644 --- a/tests/auto/qpen/tst_qpen.cpp +++ b/tests/auto/qpen/tst_qpen.cpp @@ -111,22 +111,22 @@ void tst_QPen::operator_eq_eq_data() QTest::newRow("differentColor") << QPen(Qt::red) << QPen(Qt::blue) - << FALSE; + << bool(FALSE); QTest::newRow("differentWidth") << QPen(Qt::red, 2) << QPen(Qt::red, 3) - << FALSE; + << bool(FALSE); QTest::newRow("differentPenStyle") << QPen(Qt::red, 2, Qt::DashLine) << QPen(Qt::red, 2, Qt::DotLine) - << FALSE; + << bool(FALSE); QTest::newRow("differentCapStyle") << QPen(Qt::red, 2, Qt::DashLine, Qt::RoundCap, Qt::BevelJoin) << QPen(Qt::red, 2, Qt::DashLine, Qt::SquareCap, Qt::BevelJoin) - << FALSE; + << bool(FALSE); QTest::newRow("differentJoinStyle") << QPen(Qt::red, 2, Qt::DashLine, Qt::RoundCap, Qt::BevelJoin) << QPen(Qt::red, 2, Qt::DashLine, Qt::RoundCap, Qt::MiterJoin) - << FALSE; + << bool(FALSE); QTest::newRow("same") << QPen(Qt::red, 2, Qt::DashLine, Qt::RoundCap, Qt::BevelJoin) << QPen(Qt::red, 2, Qt::DashLine, Qt::RoundCap, Qt::BevelJoin) - << TRUE; + << bool(TRUE); } |