Remove disabled code from QLibrary autotest

The removed code was already commented-out when it was first added in
2007, and would not form a useful test as it was not followed by any
verification steps.  QLibrary::setLoadHints() is tested elsewhere, so
this code can vanish.

Change-Id: I1c4dcaacaf31b0f38136336414cfbe3de1a406f3
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2011-11-18 16:45:09 +10:00 committed by Qt by Nokia
parent 1ce050cd5d
commit 7a65dd3108

View File

@ -568,11 +568,6 @@ void tst_QLibrary::multipleInstancesForOneLibrary()
QLibrary lib2(lib);
//lib2 should be loaded because lib1 was loaded and never unloaded
QCOMPARE(lib2.isLoaded(), true);
/*
lib1.setLoadHints(QLibrary::ResolveAllSymbolsHint);
lib2.setLoadHints(QLibrary::ExportExternalSymbolHint);
*/
}
QTEST_APPLESS_MAIN(tst_QLibrary)