aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2012-03-05 10:57:38 +0100
committerhjk <qthjk@ovi.com>2012-03-05 17:18:42 +0100
commit98565438c34f90f2fc1c7b0c14a098a31dac18b4 (patch)
tree9579e15fed71d43c6e2fc072689d2cc301066fe2 /tests
parenta913f3f68cc7dfaa80373db01143e8ac36dbfb02 (diff)
debugger: fix QDir gdb pretty printer for Qt 4.8
Change-Id: Iff0f28b37abed29920379302dc540d46588fc787 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/debugger/simple/simple_test_app.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp
index 20aec0389a..59e4665403 100644
--- a/tests/manual/debugger/simple/simple_test_app.cpp
+++ b/tests/manual/debugger/simple/simple_test_app.cpp
@@ -688,6 +688,23 @@ namespace qdatetime {
} // namespace qdatetime
+namespace qdir {
+
+ void testQDir()
+ {
+ QDir dir("/tmp");
+ dir.absolutePath();
+ BREAK_HERE;
+ // Check dir "/tmp" QDir.
+ // Check dir.absolutePath "/tmp" QString.
+ // Check dir.canonicalPath "/tmp" QString.
+ // Continue.
+ dummyStatement(&dir);
+ }
+
+} // namespace qdir
+
+
namespace qfileinfo {
void testQFileInfo()
@@ -6095,6 +6112,7 @@ int main(int argc, char *argv[])
qbytearray::testQByteArray();
qdatetime::testDateTime();
+ qdir::testQDir();
qfileinfo::testQFileInfo();
qhash::testQHash();
qlinkedlist::testQLinkedList();