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>
24 lines
1.0 KiB
XML
24 lines
1.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite errors="0" failures="3" tests="4" name="tst_DateTime">
|
|
<properties>
|
|
<property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/>
|
|
<property value="@INSERT_QT_VERSION_HERE@" name="QtVersion"/>
|
|
</properties>
|
|
<testcase result="pass" name="initTestCase"/>
|
|
<testcase result="fail" name="dateTime">
|
|
<failure message="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]" result="fail"/>
|
|
</testcase>
|
|
<testcase result="fail" name="qurl">
|
|
<failure tag="empty rhs" message="Compared values are not the same
|
|
Actual (operandA): http://example.com
|
|
Expected (operandB): Invalid URL: " result="fail"/>
|
|
<failure tag="empty lhs" message="Compared values are not the same
|
|
Actual (operandA): Invalid URL:
|
|
Expected (operandB): http://example.com" result="fail"/>
|
|
</testcase>
|
|
<testcase result="pass" name="cleanupTestCase"/>
|
|
<system-err/>
|
|
</testsuite>
|