summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2020-09-02 16:30:11 +0200
committerPaul Wicking <paul.wicking@qt.io>2020-09-02 16:57:30 +0200
commit99341b1fd3948e7243fa96cb1341a7046f8d4ce7 (patch)
tree73be07037f594ed7c9c5bef86729f5c681a6be1a /tests
parente5e8c559d5a128d5c80bfbc90527bdbe3229f583 (diff)
QDoc: Add Config::showInternal()
Add simple getter to avoid unnecessary calls to Config::getBool(CONFIG_SHOWINTERNAL). Task-number: QTBUG-71176 Change-Id: I56ce19437327f8ceb698f4754ea8814d7245a4a6 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qdoc/config/tst_config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qdoc/config/tst_config.cpp b/tests/auto/qdoc/config/tst_config.cpp
index 668150540..816057512 100644
--- a/tests/auto/qdoc/config/tst_config.cpp
+++ b/tests/auto/qdoc/config/tst_config.cpp
@@ -81,6 +81,7 @@ Config &tst_Config::initConfig(const QStringList &args, const char *qdocconf)
void tst_Config::classMembersInitializeToFalseOrEmpty()
{
auto &config = initConfig();
+ QCOMPARE(config.showInternal(), false);
QCOMPARE(config.singleExec(), false);
QVERIFY(config.defines().isEmpty());