|
1 ********* Start testing of tst_StrCmp ********* |
|
2 Config: Using QTest library 4.3.0, Qt 4.3.0 |
|
3 PASS : tst_StrCmp::initTestCase() |
|
4 PASS : tst_StrCmp::compareCharStars() |
|
5 XFAIL : tst_StrCmp::compareByteArray() Next test should fail |
|
6 Loc: [./tst_strcmp.cpp(55)] |
|
7 XFAIL : tst_StrCmp::compareByteArray() Next test should fail |
|
8 Loc: [./tst_strcmp.cpp(62)] |
|
9 XFAIL : tst_StrCmp::compareByteArray() Next test should fail |
|
10 Loc: [./tst_strcmp.cpp(69)] |
|
11 FAIL! : tst_StrCmp::compareByteArray() Compared values are not the same |
|
12 Actual (a): 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 ... |
|
13 Expected (b): 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 ... |
|
14 Loc: [./tst_strcmp.cpp(76)] |
|
15 FAIL! : tst_StrCmp::failByteArray() Compared values are not the same |
|
16 Actual (QByteArray("abc")): 61 62 63 |
|
17 Expected (QByteArray("cba")): 63 62 61 |
|
18 Loc: [./tst_strcmp.cpp(82)] |
|
19 FAIL! : tst_StrCmp::failByteArrayNull() Compared values are not the same |
|
20 Actual (QByteArray("foo")): 66 6F 6F |
|
21 Expected (QByteArray()): |
|
22 Loc: [./tst_strcmp.cpp(88)] |
|
23 FAIL! : tst_StrCmp::failByteArrayEmpty() Compared values are not the same |
|
24 Actual (QByteArray("")): |
|
25 Expected (QByteArray("foo")): 66 6F 6F |
|
26 Loc: [./tst_strcmp.cpp(93)] |
|
27 FAIL! : tst_StrCmp::failByteArraySingleChars() Compared values are not the same |
|
28 Actual (QByteArray("6")): 36 |
|
29 Expected (QByteArray("7")): 37 |
|
30 Loc: [./tst_strcmp.cpp(100)] |
|
31 PASS : tst_StrCmp::cleanupTestCase() |
|
32 Totals: 3 passed, 5 failed, 0 skipped |
|
33 ********* Finished testing of tst_StrCmp ********* |