summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolstestcase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cpptoolstestcase.h')
-rw-r--r--src/plugins/cpptools/cpptoolstestcase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolstestcase.h b/src/plugins/cpptools/cpptoolstestcase.h
index 7fac75f5e3..a3c2529568 100644
--- a/src/plugins/cpptools/cpptoolstestcase.h
+++ b/src/plugins/cpptools/cpptoolstestcase.h
@@ -42,6 +42,7 @@ class Document;
class Snapshot;
}
namespace Core { class IEditor; }
+namespace TextEditor { class BaseTextEditor; }
namespace CppTools {
namespace Tests {
@@ -69,6 +70,7 @@ public:
~TestCase();
bool succeededSoFar() const;
+ bool openBaseTextEditor(const QString &fileName, TextEditor::BaseTextEditor **editor);
void closeEditorAtEndOfTestCase(Core::IEditor *editor);
static bool closeEditorWithoutGarbageCollectorInvocation(Core::IEditor *editor);