From aa118de9ec9a83345776210a44aeea1990c956f4 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 3 Sep 2012 15:35:02 +0200 Subject: [PATCH] fakevim: make test compile This is a workaround. The real problem is a source incompatibility from Qt4 -> Qt5 (beta). QSKIP wants 2 arguments in the first, and 1 in the latter case. Change-Id: I11e914f378baf492cce62333a8284ba2a11bf61d Reviewed-by: Christian Kandeler --- src/plugins/fakevim/fakevim_test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/fakevim/fakevim_test.cpp b/src/plugins/fakevim/fakevim_test.cpp index 11966ebe9ec..af207111bf9 100644 --- a/src/plugins/fakevim/fakevim_test.cpp +++ b/src/plugins/fakevim/fakevim_test.cpp @@ -44,7 +44,10 @@ * Tests after this macro will be skipped and warning printed. * Uncomment it to test a feature -- if tests succeeds it should be removed from the test. */ -#define NOT_IMPLEMENTED QSKIP("Not fully implemented!", SkipSingle); +#define NOT_IMPLEMENTED return; + +// QTest::qSkip("Not fully implemented!", QTest::SkipSingle, __FILE__, __LINE__); +// return; // text cursor representation in comparisons (set empty to disable cursor position checking) #define X "|"