void (@Nullable String updatedSuiteMetainfo, @Nullable String updatedTestMetainfo) { final String suiteName = "some_suite"; final String testName = "some_test"; final String initSuiteMeta = "suiteMeta"; final String initTestMeta = "testMeta"; myEventsProcessor.onSuiteTreeNodeAdded(true, suiteName, suiteName, initSuiteMeta, suiteName, TreeNodeEvent.ROOT_NODE_ID); myEventsProcessor.onSuiteTreeNodeAdded(false, testName, testName, initTestMeta, testName, suiteName); //myEventsProcessor.onSuiteTreeEnded(testName); //myEventsProcessor.onSuiteTreeEnded(suiteName); myEventsProcessor.onBuildTreeEnded(); myEventsProcessor.onSuiteStarted(new TestSuiteStartedEvent( suiteName, suiteName, TreeNodeEvent.ROOT_NODE_ID, suiteName, updatedSuiteMetainfo, null, null, true)); myEventsProcessor.onTestStarted(new TestStartedEvent( testName, testName, suiteName, testName, updatedTestMetainfo, null, null, true)); myResultsViewer.performUpdate(); PlatformTestUtil.waitWhileBusy(myResultsViewer.getTreeView()); final SMTestProxy suiteProxy = myEventsProcessor.findProxyById(suiteName); assertEquals(updatedSuiteMetainfo == null ? initSuiteMeta : updatedSuiteMetainfo, suiteProxy.getMetainfo()); final SMTestProxy testProxy = myEventsProcessor.findProxyById(testName); assertEquals(updatedTestMetainfo == null ? initTestMeta : updatedTestMetainfo, testProxy.getMetainfo()); }