59ad0019dc
If an URL is invalid, let's indicate that in the test output. To be helpful, let's make QUrl::errorString() include the component form of the URL. Change-Id: Iaafe16973ded79c7ea688fbb23808d91253e8c14 Reviewed-by: David Faure <faure@kde.org>
21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
********* Start testing of tst_DateTime *********
|
|
Config: Using QTest library @INSERT_QT_VERSION_HERE@, Qt @INSERT_QT_VERSION_HERE@
|
|
PASS : tst_DateTime::initTestCase()
|
|
FAIL! : tst_DateTime::dateTime() Compared values are not the same
|
|
Actual (local): 2000/05/03 04:03:04.000[local time]
|
|
Expected (utc): 2000/05/03 04:03:04.000[UTC]
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/datetime/tst_datetime.cpp(33)]
|
|
PASS : tst_DateTime::qurl(empty urls)
|
|
FAIL! : tst_DateTime::qurl(empty rhs) Compared values are not the same
|
|
Actual (operandA): http://example.com
|
|
Expected (operandB): Invalid URL:
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/datetime/tst_datetime.cpp(41)]
|
|
FAIL! : tst_DateTime::qurl(empty lhs) Compared values are not the same
|
|
Actual (operandA): Invalid URL:
|
|
Expected (operandB): http://example.com
|
|
Loc: [/home/user/dev/qt5/qtbase/tests/auto/testlib/selftests/datetime/tst_datetime.cpp(41)]
|
|
PASS : tst_DateTime::qurl(same urls)
|
|
PASS : tst_DateTime::cleanupTestCase()
|
|
Totals: 4 passed, 3 failed, 0 skipped
|
|
********* Finished testing of tst_DateTime *********
|