use of com.intellij.lang.javascript.flex.FlexStackTraceFilter in project intellij-plugins by JetBrains.
the class FlexBaseRunner method createFlexUnitRunnerConsole.
public static ExecutionConsole createFlexUnitRunnerConsole(Project project, ExecutionEnvironment env, ProcessHandler processHandler) throws ExecutionException {
FlexStackTraceFilter stackTraceFilter = new FlexStackTraceFilter(project);
SMTRunnerConsoleProperties consoleProps = new FlexUnitConsoleProperties((FlexUnitRunConfiguration) env.getRunProfile(), env);
consoleProps.addStackTraceFilter(stackTraceFilter);
BaseTestsOutputConsoleView consoleView = SMTestRunnerConnectionUtil.createAndAttachConsole("FlexUnit", processHandler, consoleProps);
consoleView.addMessageFilter(stackTraceFilter);
Disposer.register(project, consoleView);
return consoleView;
}
Aggregations