removed redundant test code

This commit is contained in:
Ekaterina Tuzova
2011-07-11 21:38:56 +04:00
parent 37a988526c
commit 9493de2441

View File

@@ -60,19 +60,6 @@ public class PythonHighlightingTest extends PyLightFixtureTestCase {
doTest();
}
//public void testDocStrings() {
// EditorColorsManager manager = EditorColorsManager.getInstance();
// EditorColorsScheme scheme = (EditorColorsScheme)manager.getGlobalScheme().clone();
// manager.addColorsScheme(scheme);
// EditorColorsManager.getInstance().setGlobalScheme(scheme);
//
// TextAttributesKey xKey = TextAttributesKey.find("PY.DOC_COMMENT");
// TextAttributes xAttributes = new TextAttributes(Color.blue, Color.black, Color.white, EffectType.BOXED, Font.BOLD);
// scheme.setAttributes(xKey, xAttributes);
//
// doTest();
//}
public void testAssignmentTargets() {
setLanguageLevel(LanguageLevel.PYTHON26);
doTest(true, false);
@@ -166,23 +153,6 @@ public class PythonHighlightingTest extends PyLightFixtureTestCase {
doTest();
}
//public void testUnicodeOrByteRaw() {
// doTest(LanguageLevel.PYTHON25, true, true);
//}
//
//public void testUnicodeOrByte25() {
// doTest(LanguageLevel.PYTHON25, true, true);
//}
//
//public void testUnicodeOrByte26future() {
// doTest(LanguageLevel.PYTHON26, true, true);
//}
//
//public void testUnicodeOrByte30() {
// doTest(LanguageLevel.PYTHON30, true, true);
//}
// ---
private void doTest(final LanguageLevel languageLevel, final boolean checkWarnings, final boolean checkInfos) {
PythonLanguageLevelPusher.setForcedLanguageLevel(myFixture.getProject(), languageLevel);