Commit 103fc832 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: add some test case for std::ifstream



Change-Id: I296bdd70724d8ae4b70ea27de788b0bc0b2294cb
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 2a27e470
......@@ -131,6 +131,7 @@ void dummyStatement(...) {}
#include <deque>
#include <iostream>
#include <iterator>
#include <fstream>
#include <map>
#include <list>
#include <set>
......@@ -1816,6 +1817,23 @@ namespace stdvector {
} // namespace stdvector
namespace stdstream {
void testStdStream()
{
using namespace std;
ifstream is;
BREAK_HERE;
is.open("/etc/passwd");
BREAK_HERE;
bool ok = is.good();
BREAK_HERE;
dummyStatement(&is, &ok);
}
} // namespace stdstream
void testQStandardItemModel()
{
//char buf[100];
......@@ -3716,6 +3734,7 @@ int main(int argc, char *argv[])
qfileinfo::testQFileInfo();
testQFixed();
stdvector::testStdVector();
stdstream::testStdStream();
testQHash1();
qobject::testQObject(argc, argv);
......
......@@ -20,5 +20,7 @@ message("this says <foo & bar>")
maemo5 {
target.path = /opt/usr/lib
target.path = /opt
INSTALLS += target
}
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