From 1d453176fe4be7888df4362adc3e96acf0bd62c2 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 19 Apr 2010 12:32:35 +0200 Subject: [tst_bic] Blacklist all template expansions --- tests/auto/bic/qbic.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/auto/bic/qbic.cpp b/tests/auto/bic/qbic.cpp index d2f289b..e115453 100644 --- a/tests/auto/bic/qbic.cpp +++ b/tests/auto/bic/qbic.cpp @@ -57,6 +57,10 @@ void QBic::removeBlacklistedClass(const QString &wildcard) bool QBic::isBlacklisted(const QString &className) const { + // all templates are blacklisted + if (className.contains('<')) + return true; + for (int i = 0; i < blackList.count(); ++i) if (blackList.at(i).exactMatch(className)) return true; -- cgit v0.12