diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-06-29 11:14:41 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-06-29 11:15:10 +0200 |
commit | dc7894d8e53382012d44c502480ca62605a08017 (patch) | |
tree | e8be0230175d42335689a6e0c68500ec6c105c9e /tests | |
parent | d69a12a10c62e3cad71792e5043207ba4cd7f524 (diff) | |
download | qt-creator-dc7894d8e53382012d44c502480ca62605a08017.tar.gz |
Tests: Fix typeprettyprinter.
Done-with: Erik Verbruggen
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp b/tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp index 1917f81e4e..a943377b7c 100644 --- a/tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp +++ b/tests/auto/cplusplus/typeprettyprinter/tst_typeprettyprinter.cpp @@ -82,9 +82,10 @@ void addRow(const FullySpecifiedType &f, QString result, QString name = QString( void tst_TypePrettyPrinter::basic_data() { - Control c; - TranslationUnit t(&c, 0); - unit = &t; + // seems it now works without a translation unit +// Control c; +// TranslationUnit t(&c, 0); +// unit = 0; QTest::addColumn<FullySpecifiedType>("type"); QTest::addColumn<QString>("name"); |