Tests: Add some lines to test editing of strings in debugger

Change-Id: I5178724e693db53ffcd99e3d17c3f6d18da0ef09
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Robert Loehning
2017-04-28 17:14:03 +02:00
parent 4ea64b902e
commit f2e296f7c7

View File

@@ -25,12 +25,21 @@
#include <QCoreApplication>
#include <QDebug>
#include <QString>
#include <iostream>
#include <string>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QString qs("I'm a QString");
std::string stds("I'm a std::string");
char c[] = "I'm a char c[]";
qDebug() << "This is a QString:" << qs;
std::cout << "This is a std::string: " << stds << std::endl;
std::cout << "This is a char c[]: " << c << std::endl;
qDebug() << "This is QDebug";
std::cout << "This is stdout" << std::endl;
std::cerr << "This is stderr" << std::endl;