Examples of KarmaRunConfiguration


Examples of com.intellij.javascript.karma.execution.KarmaRunConfiguration

    return ImmutableList.copyOf(captured);
  }

  @Nullable
  private WebBrowser getWebBrowserToReuse() {
    KarmaRunConfiguration runConfiguration = ObjectUtils.tryCast(myEnvironment.getRunProfile(), KarmaRunConfiguration.class);
    if (runConfiguration != null) {
      WebBrowser browser = WEB_BROWSER_KEY.get(runConfiguration);
      // browser can be removed or deactivated in "Settings | Web Browsers"
      if (!WebBrowserManager.getInstance().getActiveBrowsers().contains(browser)) {
        WEB_BROWSER_KEY.set(runConfiguration, null);
View Full Code Here

Examples of com.intellij.javascript.karma.execution.KarmaRunConfiguration

    }
    return null;
  }

  private void setWebBrowserToReuse(@Nullable WebBrowser browser) {
    KarmaRunConfiguration runConfiguration = ObjectUtils.tryCast(myEnvironment.getRunProfile(), KarmaRunConfiguration.class);
    if (runConfiguration != null) {
      WEB_BROWSER_KEY.set(runConfiguration, browser);
    }
  }
View Full Code Here

Examples of com.intellij.javascript.karma.execution.KarmaRunConfiguration

  @NotNull
  private static RunContentDescriptor doCoverage(@NotNull ExecutionResult executionResult,
                                                 @NotNull final ExecutionEnvironment env,
                                                 @NotNull final KarmaServer server) {
    final KarmaRunConfiguration runConfiguration = (KarmaRunConfiguration) env.getRunProfile();
    CoverageEnabledConfiguration coverageEnabledConfiguration = CoverageEnabledConfiguration.getOrCreate(runConfiguration);
    CoverageHelper.resetCoverageSuit(runConfiguration);
    final String coverageFilePath = coverageEnabledConfiguration.getCoverageFilePath();
    RunContentBuilder contentBuilder = new RunContentBuilder(executionResult, env);
    final RunContentDescriptor descriptor = contentBuilder.showRunContent(env.getContentToReuse());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.