aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppeditortestcase.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-03-12 16:25:45 +0100
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-03-13 13:41:37 +0000
commit6a94f7e3554ec0e4a5017fac8ff350267a7cdf01 (patch)
tree953d8cd3918a9b502e9f11e0ec01fd802d083f58 /src/plugins/cppeditor/cppeditortestcase.h
parent251b444cfd4618d49135458f0d9a766e43c8309f (diff)
CppEditor: Add basic test for ExtractFunction
Change-Id: I44f2edb2905e202669630ab5da85066011491fae Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/plugins/cppeditor/cppeditortestcase.h')
-rw-r--r--src/plugins/cppeditor/cppeditortestcase.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppeditortestcase.h b/src/plugins/cppeditor/cppeditortestcase.h
index 94c6543439..fdcbf73741 100644
--- a/src/plugins/cppeditor/cppeditortestcase.h
+++ b/src/plugins/cppeditor/cppeditortestcase.h
@@ -50,9 +50,13 @@ public:
TestDocument(const QByteArray &fileName, const QByteArray &source, char cursorMarker = '@');
bool hasCursorMarker() const;
+ bool hasAnchorMarker() const;
public:
int m_cursorPosition;
+ int m_anchorPosition;
+ QString m_selectionStartMarker;
+ QString m_selectionEndMarker;
CppEditor *m_editor;
CppEditorWidget *m_editorWidget;
};