notifications about tests passed/finished in SM runner. Balloon will be shown only...
[fedora-idea.git] / platform / smRunner / src / com / intellij / execution / testframework / sm / runner / SMTRunnerEventsListener.java
blob3828dc8f815a41afe374cbeef4417253e9839228
1 package com.intellij.execution.testframework.sm.runner;
3 import org.jetbrains.annotations.NotNull;
5 /**
6 * @author Roman Chernyatchik
8 * Handles Test Runner events
9 */
10 public interface SMTRunnerEventsListener {
11 /**
12 * On start testing, before tests and suits launching
13 * @param testsRoot
15 void onTestingStarted(@NotNull SMTestProxy testsRoot);
16 /**
17 * After test framework finish testing
18 * @param testsRootNode
20 void onTestingFinished(@NotNull SMTestProxy testsRoot);
22 * Tests count in next suite. For several suites this method will be invoked several times
24 void onTestsCountInSuite(int count);
26 void onTestStarted(@NotNull SMTestProxy test);
27 void onTestFinished(@NotNull SMTestProxy test);
28 void onTestFailed(@NotNull SMTestProxy test);
29 void onTestIgnored(@NotNull SMTestProxy test);
31 void onSuiteFinished(@NotNull SMTestProxy suite);
32 void onSuiteStarted(@NotNull SMTestProxy suite);