Skip to content
Snippets Groups Projects
Commit dc7894d8 authored by Christian Kamm's avatar Christian Kamm
Browse files

Tests: Fix typeprettyprinter.

Done-with: Erik Verbruggen
parent d69a12a1
No related branches found
No related tags found
No related merge requests found
...@@ -82,9 +82,10 @@ void addRow(const FullySpecifiedType &f, QString result, QString name = QString( ...@@ -82,9 +82,10 @@ void addRow(const FullySpecifiedType &f, QString result, QString name = QString(
void tst_TypePrettyPrinter::basic_data() void tst_TypePrettyPrinter::basic_data()
{ {
Control c; // seems it now works without a translation unit
TranslationUnit t(&c, 0); // Control c;
unit = &t; // TranslationUnit t(&c, 0);
// unit = 0;
QTest::addColumn<FullySpecifiedType>("type"); QTest::addColumn<FullySpecifiedType>("type");
QTest::addColumn<QString>("name"); QTest::addColumn<QString>("name");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment