Debugger: Remove StdStream dumper test

This was testing a bool value, not a stream, and doing that wrong
on Windows.

Change-Id: I86b1aaea99e77b2aa3c37bb5c9c3e0ba8a90cb05
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-04-17 10:20:38 +02:00
parent 50eab33aac
commit 7d13400041

View File

@@ -4383,24 +4383,6 @@ void tst_Dumpers::dumper_data()
+ Check("v2.3", "[3]", "", "Foo");
QTest::newRow("StdStream")
<< Data("#include <istream>\n"
"#include <fstream>\n",
"using namespace std;\n"
"ifstream is0, is;\n"
"#ifdef Q_OS_WIN\n"
"is.open(\"C:\\\\Program Files\\\\Windows NT\\\\Accessories\\\\wordpad.exe\");\n"
"#else\n"
"is.open(\"/etc/passwd\");\n"
"#endif\n"
"bool ok = is.good();\n"
"unused(&ok, &is, &is0);\n")
+ Check("is", "", "std::ifstream")
+ Check("ok", "true", "bool");
QTest::newRow("StdUnorderedMap")
<< Data("#include <unordered_map>\n"
"#include <string>\n",