diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-04-19 10:32:35 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-04-19 10:37:28 (GMT) |
commit | 1d453176fe4be7888df4362adc3e96acf0bd62c2 (patch) | |
tree | 18dc8ca6291b5db3becc3647e042d92223584ab2 /tests/auto/bic | |
parent | 8685a3b3f7c8cdf4e113ee494c67fd7a9b23923e (diff) | |
download | Qt-1d453176fe4be7888df4362adc3e96acf0bd62c2.zip Qt-1d453176fe4be7888df4362adc3e96acf0bd62c2.tar.gz Qt-1d453176fe4be7888df4362adc3e96acf0bd62c2.tar.bz2 |
[tst_bic] Blacklist all template expansions
Diffstat (limited to 'tests/auto/bic')
-rw-r--r-- | tests/auto/bic/qbic.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |