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.xunitxml | |
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.xunitxml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_datetime.xunitxml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/testlib/selftests/expected_datetime.xunitxml b/tests/auto/testlib/selftests/expected_datetime.xunitxml index b6bb600251..af0e4db7e8 100644 --- a/tests/auto/testlib/selftests/expected_datetime.xunitxml +++ b/tests/auto/testlib/selftests/expected_datetime.xunitxml @@ -13,9 +13,9 @@ <testcase result="fail" name="qurl"> <failure tag="empty rhs" message="Compared values are not the same Actual (operandA): http://example.com - Expected (operandB): " result="fail"/> + Expected (operandB): Invalid URL: " result="fail"/> <failure tag="empty lhs" message="Compared values are not the same - Actual (operandA): + Actual (operandA): Invalid URL: Expected (operandB): http://example.com" result="fail"/> </testcase> <testcase result="pass" name="cleanupTestCase"/> |