summaryrefslogtreecommitdiffstats
path: root/tests/auto/qstatemachine
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-05-07 09:45:19 (GMT)
committerEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-05-07 09:45:19 (GMT)
commit56d27b54e2fe64782250e8e39012f345588cfad5 (patch)
tree1a8e3199886f9604bb5a011107f530b6bc279503 /tests/auto/qstatemachine
parent576dca0086b1566eafe9a24cf5946f46f4e857bf (diff)
downloadQt-56d27b54e2fe64782250e8e39012f345588cfad5.zip
Qt-56d27b54e2fe64782250e8e39012f345588cfad5.tar.gz
Qt-56d27b54e2fe64782250e8e39012f345588cfad5.tar.bz2
Rename NoDefaultStateInHistoryState -> NoDefaultStateInHistoryStateError for consistency
The other error values have Error in the name for namespacing purposes.
Diffstat (limited to 'tests/auto/qstatemachine')
-rw-r--r--tests/auto/qstatemachine/tst_qstatemachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qstatemachine/tst_qstatemachine.cpp b/tests/auto/qstatemachine/tst_qstatemachine.cpp
index e7ea403..3876a20 100644
--- a/tests/auto/qstatemachine/tst_qstatemachine.cpp
+++ b/tests/auto/qstatemachine/tst_qstatemachine.cpp
@@ -877,7 +877,7 @@ void tst_QStateMachine::historyStateHasNowhereToGo()
QCOMPARE(machine.configuration().count(), 1);
QVERIFY(machine.configuration().contains(machine.errorState()));
- QCOMPARE(machine.error(), QStateMachine::NoDefaultStateInHistoryState);
+ QCOMPARE(machine.error(), QStateMachine::NoDefaultStateInHistoryStateError);
QCOMPARE(machine.errorString(), QString::fromLatin1("Missing default state in history state 'historyState'"));
}