Package com.intellij.execution.testframework

Examples of com.intellij.execution.testframework.TestConsoleProperties


  }

  @NotNull
  private SMTRunnerConsoleView createSMTRunnerConsoleView() {
    KarmaRunConfiguration runConfiguration = (KarmaRunConfiguration) myEnvironment.getRunProfile();
    TestConsoleProperties testConsoleProperties = new SMTRunnerConsoleProperties(
      runConfiguration,
      FRAMEWORK_NAME,
      myExecutor,
      false
    );
    testConsoleProperties.setUsePredefinedMessageFilter(false);
    testConsoleProperties.setIfUndefined(TestConsoleProperties.HIDE_PASSED_TESTS, false);
    testConsoleProperties.setIfUndefined(TestConsoleProperties.HIDE_IGNORED_TEST, true);
    testConsoleProperties.setIfUndefined(TestConsoleProperties.SCROLL_TO_SOURCE, true);

    KarmaConsoleView consoleView = new KarmaConsoleView(testConsoleProperties,
                                                        myEnvironment,
                                                        SMTestRunnerConnectionUtil.getSplitterPropertyName(FRAMEWORK_NAME),
                                                        myKarmaServer,
View Full Code Here


  }

  @NotNull
  private SMTRunnerConsoleView createSMTRunnerConsoleView(@Nullable JstdServer ideServer) {
    JstdRunConfiguration runConfiguration = (JstdRunConfiguration) myEnvironment.getRunProfile();
    TestConsoleProperties testConsoleProperties = new SMTRunnerConsoleProperties(
      runConfiguration,
      JSTD_FRAMEWORK_NAME,
      myEnvironment.getExecutor(),
      false
    );
    testConsoleProperties.setUsePredefinedMessageFilter(false);
    testConsoleProperties.setIfUndefined(TestConsoleProperties.HIDE_PASSED_TESTS, false);
    testConsoleProperties.setIfUndefined(TestConsoleProperties.HIDE_IGNORED_TEST, true);
    testConsoleProperties.setIfUndefined(TestConsoleProperties.SCROLL_TO_SOURCE, true);

    JstdConsoleView consoleView = new JstdConsoleView(testConsoleProperties,
                                                      myEnvironment,
                                                      SMTestRunnerConnectionUtil.getSplitterPropertyName(JSTD_FRAMEWORK_NAME),
                                                      ideServer);
View Full Code Here

  private static ConsoleView createConsole(@NotNull ExecutionEnvironment env) throws ExecutionException {
    final Project project = env.getProject();
    final DartUnitRunConfiguration runConfiguration = (DartUnitRunConfiguration)env.getRunProfile();
    final DartUnitRunnerParameters runnerParameters = runConfiguration.getRunnerParameters();

    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 {
View Full Code Here

TOP

Related Classes of com.intellij.execution.testframework.TestConsoleProperties

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.