Commit 7d134000 authored by hjk's avatar hjk

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: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 50eab33a
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment