diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2010-04-20 13:35:43 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2010-04-20 13:42:56 (GMT) |
commit | ddf68c92b606b609d2db270c621af4f60ea0527f (patch) | |
tree | a7136865a9383a0f355d3702020202a9067c0eef | |
parent | 88a332f92a5c660ce934ea0132c9814de0cb02b6 (diff) | |
download | Qt-ddf68c92b606b609d2db270c621af4f60ea0527f.zip Qt-ddf68c92b606b609d2db270c621af4f60ea0527f.tar.gz Qt-ddf68c92b606b609d2db270c621af4f60ea0527f.tar.bz2 |
Fix to collections autotest
The test was checking for an implementation detail, rather than behaviour
which is part of the API.
With the symbian text codecs backend, this test failed because the converter
returns QByteArray() for empty input (for which isNull() returns true).
Reviewed-by: Thiago
-rw-r--r-- | tests/auto/collections/tst_collections.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/collections/tst_collections.cpp b/tests/auto/collections/tst_collections.cpp index e7b01a1..d092c34 100644 --- a/tests/auto/collections/tst_collections.cpp +++ b/tests/auto/collections/tst_collections.cpp @@ -2260,7 +2260,6 @@ void tst_Collections::qstring() QVERIFY(s.isNull()); QVERIFY(s.toLocal8Bit().size() == 0); QVERIFY(s.toLocal8Bit().isEmpty()); - QVERIFY(!s.toLocal8Bit().isNull()); s = "first-ascii"; QVERIFY(s.toAscii() == "first-ascii"); |