diff options
author | David Schulz <david.schulz@qt.io> | 2019-06-28 09:19:00 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2019-07-02 07:59:36 +0000 |
commit | 302be8acb92a06b0f790e67d4e2321a45bac89a4 (patch) | |
tree | 011ed654027c054e6e75c749a817178c35058a13 /tests/auto | |
parent | a1ba347fa51d9a0d8e86cda01d2bdb2c7f1a32c6 (diff) |
Debugger: Fix qdir dumper test for cdb
entryInfoList and entryList is not supported by cdb, because we cannot
call the count function to populate these lists.
Change-Id: I6f1f2b5905232d4b220120b1b0a20bfea029c9f0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index c912f726aa..8c3a17f4e1 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -2064,10 +2064,10 @@ void tst_Dumpers::dumper_data() + Check("dir", quoted(tempDir), "@QDir") // + Check("dir.canonicalPath", quoted(tempDir), "@QString") + Check("dir.absolutePath", quoted(tempDir), "@QString") % Optional() - + Check("dir.entryInfoList.0", "[0]", quoted(tempDir + "/."), "@QFileInfo") - + Check("dir.entryInfoList.1", "[1]", quoted(tempDir + "/.."), "@QFileInfo") - + Check("dir.entryList.0", "[0]", "\".\"", "@QString") - + Check("dir.entryList.1", "[1]", "\"..\"", "@QString"); + + Check("dir.entryInfoList.0", "[0]", quoted(tempDir + "/."), "@QFileInfo") % NoCdbEngine + + Check("dir.entryInfoList.1", "[1]", quoted(tempDir + "/.."), "@QFileInfo") % NoCdbEngine + + Check("dir.entryList.0", "[0]", "\".\"", "@QString") % NoCdbEngine + + Check("dir.entryList.1", "[1]", "\"..\"", "@QString") % NoCdbEngine; QTest::newRow("QFileInfo") |