test: Check for null string comparison
authorSergio Ahumada <sergio.ahumada@nokia.com>
Tue, 4 Sep 2012 18:32:33 +0000 (20:32 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 5 Sep 2012 01:03:02 +0000 (03:03 +0200)
commit10ed50002c2ad6f4caaa7b922af5a9f1d3d91f52
tree6c4a723eba010272ae366ba6b78a410e5cbfabcd
parent0102f34f1ebe91aaff6fb2edc83a7ebf7ffb4d1e
test: Check for null string comparison

Do not compare a QString to QString(). Instead use the .isEmpty() method.

Change-Id: I8bb5e64563bf173abe7288bb9e35375bee1fe445
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp