diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-09-18 23:07:46 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-02 22:34:42 +0200 |
commit | 59ad0019dcbb59b25a0d252575fe831b189d16f6 (patch) | |
tree | 80e9c85e11f707b11df8477426871915507062fa /tests/auto/testlib/selftests/expected_datetime.txt | |
parent | adce435a0c6f6d515fa4dd3af86c725843158514 (diff) |
Make QUrl::errorString() usable for QtTest output in invalid URLs
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>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_datetime.txt')
-rw-r--r-- | tests/auto/testlib/selftests/expected_datetime.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/testlib/selftests/expected_datetime.txt b/tests/auto/testlib/selftests/expected_datetime.txt index 6bd4103284..6e82bddda7 100644 --- a/tests/auto/testlib/selftests/expected_datetime.txt +++ b/tests/auto/testlib/selftests/expected_datetime.txt @@ -8,10 +8,10 @@ FAIL! : tst_DateTime::dateTime() Compared values are not the same 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): + 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): + 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) |