summaryrefslogtreecommitdiffstats
path: root/tests/auto/bic
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-04-19 12:32:35 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2010-04-19 12:37:28 +0200
commit1d453176fe4be7888df4362adc3e96acf0bd62c2 (patch)
tree18dc8ca6291b5db3becc3647e042d92223584ab2 /tests/auto/bic
parent8685a3b3f7c8cdf4e113ee494c67fd7a9b23923e (diff)
[tst_bic] Blacklist all template expansions
Diffstat (limited to 'tests/auto/bic')
-rw-r--r--tests/auto/bic/qbic.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/bic/qbic.cpp b/tests/auto/bic/qbic.cpp
index d2f289ba7c..e115453744 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;