CppEditor: Be more strict about quickfixes that were not triggered

in tests

Change-Id: I1f4b4c7a1f4068a83d385e74d75a482b5effdb0c
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-01-28 22:55:17 +02:00
committed by Orgad Shaneh
parent d2b5136a50
commit 6728741702
2 changed files with 4 additions and 17 deletions

View File

@@ -1406,16 +1406,7 @@ void CppEditorPlugin::test_quickfix_InsertVirtualMethods_data()
"public:\n"
" virtual int virtualFuncA() = 0;\n"
"};\n"
) << _(
"class BaseA {\n"
"public:\n"
" virtual int virtualFuncA();\n"
"};\n\n"
"class Derived : public Bas@eA {\n"
"public:\n"
" virtual int virtualFuncA() = 0;\n"
"};\n"
);
) << _();
// Check: One pure, one not
QTest::newRow("Some_Pure")