public void testCorrectSelectionInsertion() throws Exception { ((StatisticsManagerImpl)StatisticsManager.getInstance()).enableStatistics(getTestRootDisposable()); addResource("http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd", getTestDataPath() + "/hibernate-mapping-3.0.dtd"); configureByFile("CorrectSelectionInsertion.xml"); selectItem(myFixture.getLookupElements()[4], '\t'); checkResultByFile("CorrectSelectionInsertion_after.xml"); CompletionLookupArranger.applyLastCompletionStatisticsUpdate(); configureByFile("CorrectSelectionInsertion2.xml"); myFixture.getEditor().getSelectionModel().removeSelection(); selectItem(myFixture.getLookupElements()[0], '\t'); checkResultByFile("CorrectSelectionInsertion2_after.xml"); }
@Override protected void setUp() throws Exception { super.setUp(); ((StatisticsManagerImpl)StatisticsManager.getInstance()).enableStatistics(getTestRootDisposable()); }
@RequiredDispatchThread @Override protected void setUp() throws Exception { super.setUp(); ((StatisticsManagerImpl)StatisticsManager.getInstance()).enableStatistics(getTestRootDisposable()); }
@Override protected void setUp() throws Exception { super.setUp(); ((StatisticsManagerImpl) StatisticsManager.getInstance()).enableStatistics(getTestRootDisposable()); }