mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
Bug 536380 - Open files with CEditor (specifically, rather than the default editor) in UI test suites
Change-Id: I4f9e94b51956ef72888c5dfb9cb10b39f93a9d38
This commit is contained in:
parent
fa50ca7bc0
commit
7f5ed929a9
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ public class EditorTestHelper {
|
|||
private static final long MAX_WAIT_TIME = 60000; // don't wait longer than 60 seconds
|
||||
|
||||
public static IEditorPart openInEditor(IFile file, boolean runEventLoop) throws PartInitException {
|
||||
IEditorPart part= IDE.openEditor(getActivePage(), file);
|
||||
IEditorPart part= IDE.openEditor(getActivePage(), file, C_EDITOR_ID);
|
||||
if (runEventLoop)
|
||||
runEventQueue(part);
|
||||
return part;
|
||||
|
|
Loading…
Add table
Reference in a new issue