QtTestLib: use new qEnvironmentVariableIsEmpty()
authorMarc Mutz <marc.mutz@kdab.com>
Mon, 6 Aug 2012 22:18:45 +0000 (00:18 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 14 Aug 2012 18:21:19 +0000 (20:21 +0200)
commita2fbe8056cfad33eee5a4752e6f61230d5ac96da
treef47923eebc1a3d23449dfd3cfd1b101650c72bc4
parentbdd682ea4cc21938eed080817fb931d362d8231a
QtTestLib: use new qEnvironmentVariableIsEmpty()

Except where using the contents of the variable, in which case
collapse two calls to qgetenv() for the same variable into one
that stores the result in a temporary QByteArray and continues
working with that one instead.

Change-Id: I6c09a20ae946327ccb85e4833a60a373a8a07355
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/testlib/qtestcase.cpp