Package com.intellij.execution.testframework.sm.runner.ui

Examples of com.intellij.execution.testframework.sm.runner.ui.SMTRunnerConsoleView


                                                              executor,
                                                              server,
                                                              myNodeInterpreterPath,
                                                              myRunSettings,
                                                              myExecutionType);
    SMTRunnerConsoleView smtRunnerConsoleView = session.getSmtConsoleView();
    ProcessHandler processHandler = session.getProcessHandler();
    // TODO make smtRunnerConsoleView instance of LanguageConsoleView to make it more usage for debugging
    DefaultExecutionResult executionResult = new DefaultExecutionResult(smtRunnerConsoleView, processHandler);
    executionResult.setRestartActions(new ToggleAutoTestAction(myExecutionEnvironment));
    return executionResult;
View Full Code Here


    final TestConsoleProperties testConsoleProperties =
      new SMTRunnerConsoleProperties(runConfiguration, DART_FRAMEWORK_NAME, env.getExecutor());
    testConsoleProperties.setUsePredefinedMessageFilter(false);

    final SMTRunnerConsoleView smtConsoleView = SMTestRunnerConnectionUtil
      .createConsoleWithCustomLocator(DART_FRAMEWORK_NAME, testConsoleProperties, env, new DartTestLocationProvider(), true, null);

    try {
      final VirtualFile dartFile = runnerParameters.getDartFile();
      smtConsoleView.addMessageFilter(new DartConsoleFilter(project, dartFile));

      final String workingDir = StringUtil.isEmptyOrSpaces(runnerParameters.getWorkingDirectory())
                                ? dartFile.getParent().getPath()
                                : runnerParameters.getWorkingDirectory();
      smtConsoleView.addMessageFilter(new DartRelativePathsConsoleFilter(project, workingDir));
    }
    catch (RuntimeConfigurationError ignore) {/**/}

    Disposer.register(project, smtConsoleView);
    return smtConsoleView;
View Full Code Here

TOP

Related Classes of com.intellij.execution.testframework.sm.runner.ui.SMTRunnerConsoleView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.