@Override protected void tearDown() throws Exception { final CodeStyleSettings currentSettings = CodeStyleSettingsManager.getInstance(myProject).getCurrentSettings(); currentSettings.USE_FQ_CLASS_NAMES = myOldFQNamesSetting; super.tearDown(); }
@Override protected void setUp() throws Exception { super.setUp(); setupGenericSampleClasses(); final CodeStyleSettings currentSettings = CodeStyleSettingsManager.getInstance(myProject).getCurrentSettings(); myOldFQNamesSetting = currentSettings.USE_FQ_CLASS_NAMES; currentSettings.USE_FQ_CLASS_NAMES = true; }