From 7a65dd310852037642d94a59566d1528315ea624 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Fri, 18 Nov 2011 16:45:09 +1000 Subject: [PATCH] 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 --- tests/auto/corelib/plugin/qlibrary/tst_qlibrary.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/auto/corelib/plugin/qlibrary/tst_qlibrary.cpp b/tests/auto/corelib/plugin/qlibrary/tst_qlibrary.cpp index a488aa021f..c3fe27dddf 100644 --- a/tests/auto/corelib/plugin/qlibrary/tst_qlibrary.cpp +++ b/tests/auto/corelib/plugin/qlibrary/tst_qlibrary.cpp @@ -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)