use of com.intellij.execution.testframework.sm.runner.GeneralToSMTRunnerEventsConvertor in project intellij-community by JetBrains.
the class AntImportTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
myRootNode = new SMTestProxy.SMRootTestProxy();
myEventsProcessor = new GeneralToSMTRunnerEventsConvertor(getProject(), myRootNode, "SMTestFramework");
myEventsProcessor.onStartTesting();
}
use of com.intellij.execution.testframework.sm.runner.GeneralToSMTRunnerEventsConvertor in project intellij-community by JetBrains.
the class SMTestRunnerResultsFormTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
myConsoleProperties = createConsoleProperties();
TestConsoleProperties.HIDE_PASSED_TESTS.set(myConsoleProperties, false);
TestConsoleProperties.OPEN_FAILURE_LINE.set(myConsoleProperties, false);
TestConsoleProperties.SCROLL_TO_SOURCE.set(myConsoleProperties, false);
TestConsoleProperties.SELECT_FIRST_DEFECT.set(myConsoleProperties, false);
TestConsoleProperties.TRACK_RUNNING_TEST.set(myConsoleProperties, false);
final ExecutionEnvironment environment = new ExecutionEnvironment();
myConsole = new SMTRunnerConsoleView(myConsoleProperties);
myConsole.initUI();
myResultsViewer = myConsole.getResultsViewer();
myTestsRootNode = myResultsViewer.getTestsRootNode();
myEventsProcessor = new GeneralToSMTRunnerEventsConvertor(myConsoleProperties.getProject(), myResultsViewer.getTestsRootNode(), "SMTestFramework");
myEventsProcessor.addEventsListener(myResultsViewer);
myTreeModel = myResultsViewer.getTreeView().getModel();
}
Aggregations