Search in sources :

Example 16 with TestConsoleProperties

use of com.intellij.execution.testframework.TestConsoleProperties in project intellij-plugins by JetBrains.

the class KarmaExecutionSession method createSMTRunnerConsoleView.

@NotNull
private SMTRunnerConsoleView createSMTRunnerConsoleView() {
    KarmaTestProxyFilterProvider filterProvider = new KarmaTestProxyFilterProvider(myProject, myKarmaServer);
    TestConsoleProperties testConsoleProperties = new KarmaConsoleProperties(myRunConfiguration, myExecutor, filterProvider);
    KarmaConsoleView consoleView = new KarmaConsoleView(testConsoleProperties, myKarmaServer, this);
    Disposer.register(myProject, consoleView);
    SMTestRunnerConnectionUtil.initConsoleView(consoleView, FRAMEWORK_NAME);
    return consoleView;
}
Also used : KarmaTestProxyFilterProvider(com.intellij.javascript.karma.tree.KarmaTestProxyFilterProvider) TestConsoleProperties(com.intellij.execution.testframework.TestConsoleProperties) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

TestConsoleProperties (com.intellij.execution.testframework.TestConsoleProperties)16 ProcessHandler (com.intellij.execution.process.ProcessHandler)5 ExecutionEnvironment (com.intellij.execution.runners.ExecutionEnvironment)4 ConsoleView (com.intellij.execution.ui.ConsoleView)4 MockPrinter (com.intellij.execution.testframework.sm.runner.ui.MockPrinter)3 NotNull (org.jetbrains.annotations.NotNull)3 DefaultExecutionResult (com.intellij.execution.DefaultExecutionResult)2 AttachToProcessListener (com.intellij.execution.testframework.sm.runner.ui.AttachToProcessListener)2 SMTestRunnerResultsForm (com.intellij.execution.testframework.sm.runner.ui.SMTestRunnerResultsForm)2 ModuleRunConfiguration (com.intellij.execution.configurations.ModuleRunConfiguration)1 RuntimeConfigurationError (com.intellij.execution.configurations.RuntimeConfigurationError)1 UrlFilter (com.intellij.execution.filters.UrlFilter)1 OSProcessHandler (com.intellij.execution.process.OSProcessHandler)1 TestFrameworkPropertyListener (com.intellij.execution.testframework.TestFrameworkPropertyListener)1 SMTestRunnerConnectionUtil (com.intellij.execution.testframework.sm.SMTestRunnerConnectionUtil)1 SMTRunnerConsoleProperties (com.intellij.execution.testframework.sm.runner.SMTRunnerConsoleProperties)1 SMTRunnerConsoleView (com.intellij.execution.testframework.sm.runner.ui.SMTRunnerConsoleView)1 KarmaTestProxyFilterProvider (com.intellij.javascript.karma.tree.KarmaTestProxyFilterProvider)1 Disposable (com.intellij.openapi.Disposable)1 Project (com.intellij.openapi.project.Project)1