forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
d2b5136a50
commit
6728741702
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user