From 3aa358dea87234b02170cb552b34f2696e944bf9 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <daniel.molkentin@nokia.com> Date: Fri, 9 Oct 2009 12:32:10 +0200 Subject: [PATCH] Get rid of tcf/json in the autotests, too. Reviewed-By: Oswald Buddenhagen --- tests/auto/debugger/dumpers.pro | 1 - tests/auto/debugger/tst_dumpers.cpp | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/tests/auto/debugger/dumpers.pro b/tests/auto/debugger/dumpers.pro index 201c36cb436..7e69829ccd5 100644 --- a/tests/auto/debugger/dumpers.pro +++ b/tests/auto/debugger/dumpers.pro @@ -6,7 +6,6 @@ MACROSDIR = ../../../share/qtcreator/gdbmacros SOURCES += \ $$DEBUGGERDIR/gdb/gdbmi.cpp \ - $$DEBUGGERDIR/tcf/json.cpp \ $$MACROSDIR/gdbmacros.cpp \ tst_dumpers.cpp \ diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 3f84e5cb6fe..b4ca3723c84 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -1,5 +1,4 @@ #include "gdb/gdbmi.h" -#include "tcf/json.h" #include "gdbmacros.h" #include "gdbmacros_p.h" @@ -87,10 +86,6 @@ static const char gdbmi12[] = "numchild=\"0\"}]"; -static const char jsont1[] = - "{\"Size\":100564,\"UID\":0,\"GID\":0,\"Permissions\":33261," - "\"ATime\":1242370878000,\"MTime\":1239154689000}"; - struct Int3 { Int3() { i1 = 42; i2 = 43; i3 = 44; } int i1, i2, i3; @@ -114,12 +109,6 @@ public: '\n' + QString(input)); } - void testJson(const char* input) - { - QCOMPARE('\n' + QString::fromLatin1(JsonValue(input).toString(false)), - '\n' + QString(input)); - } - private slots: void mi1() { testMi(gdbmi1); } void mi2() { testMi(gdbmi2); } @@ -132,8 +121,6 @@ private slots: void mi11() { testMi(gdbmi11); } //void mi12() { testMi(gdbmi12); } - void json1() { testJson(jsont1); } - void infoBreak(); void niceType(); void niceType_data(); -- GitLab