mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 03:20:56 +07:00
removed redundant test code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user