Пример #1
0
 /**
  * Adds test to tree and updates status line. Test proxy should be initialized, proxy parent must
  * be some suite (already added to tree)
  *
  * @param testProxy Proxy
  */
 public void onTestStarted(@NotNull final SMTestProxy testProxy) {
   if (!testProxy.isConfig()) {
     updateOnTestStarted(false);
   }
   _addTestOrSuite(testProxy);
   fireOnTestNodeAdded(testProxy);
 }
Пример #2
0
  public void onTestFailed(@NotNull final SMTestProxy test) {
    updateOnTestFailed(false);
    if (test.isConfig()) {
      myStartedTestCount++;
      myFinishedTestCount++;
    }
    updateIconProgress(false);

    // still expand failure when user selected another test
    if (myLastSelected != null
        && TestConsoleProperties.TRACK_RUNNING_TEST.value(myProperties)
        && TestConsoleProperties.HIDE_PASSED_TESTS.value(myProperties)) {
      myTreeBuilder.expand(test, null);
    }
  }
Пример #3
0
 public void onTestFinished(@NotNull final SMTestProxy test) {
   if (!test.isConfig()) {
     updateOnTestFinished(false);
   }
   updateIconProgress(false);
 }