From e55e1a596c818758c97703fd5ec3072831576f69 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date: Mon, 23 Feb 2009 21:15:32 +0100
Subject: [PATCH] make the testcase output some html to check for overquoting

---
 tests/manual/gdbdebugger/simple/app.cpp     | 5 ++++-
 tests/manual/gdbdebugger/simple/app/app.pro | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp
index 76eadf2d9fd..2a605e26a20 100644
--- a/tests/manual/gdbdebugger/simple/app.cpp
+++ b/tests/manual/gdbdebugger/simple/app.cpp
@@ -215,14 +215,17 @@ void testIO()
     qDebug() << "qDebug() 1";
     qDebug() << "qDebug() 2";
     qDebug() << "qDebug() 3";
+    qDebug() << "qDebug <foo & bar>";
 
     std::cout << "std::cout @@ 1" << std::endl;
     std::cout << "std::cout @@ 2\n";
     std::cout << "std::cout @@ 3" << std::endl;
+    std::cout << "std::cout <foo & bar>\n";
 
     std::cerr << "std::cerr 1\n";
     std::cerr << "std::cerr 2\n";
     std::cerr << "std::cerr 3\n";
+    std::cerr << "std::cerr <foo & bar>\n";
 }
 
 void testQLinkedList()
@@ -961,7 +964,7 @@ void testHidden()
 
 int main(int argc, char *argv[])
 {
-    //testIO();
+    testIO();
     testHidden();
     testArray();
 
diff --git a/tests/manual/gdbdebugger/simple/app/app.pro b/tests/manual/gdbdebugger/simple/app/app.pro
index bf168bab106..2210857b6a2 100644
--- a/tests/manual/gdbdebugger/simple/app/app.pro
+++ b/tests/manual/gdbdebugger/simple/app/app.pro
@@ -7,3 +7,5 @@ DESTDIR = ..
 # Input
 SOURCES += ../app.cpp
 QT += network
+
+message("this says <foo & bar>")
-- 
GitLab