mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
PY-11418 Remove redundant color scheme setup from the test
This commit is contained in:
@@ -366,13 +366,6 @@ public class PythonHighlightingTest extends PyTestCase {
|
||||
|
||||
// PY-11418
|
||||
public void testFunctionCalls() {
|
||||
final EditorColorsScheme scheme = createTemporaryColorScheme();
|
||||
final TextAttributesKey funcCallKey = TextAttributesKey.find("PY.FUNCTION_CALL");
|
||||
scheme.setAttributes(funcCallKey, new TextAttributes(Color.green, Color.black, Color.white, EffectType.BOXED, Font.BOLD));
|
||||
final TextAttributesKey methodCallKey = TextAttributesKey.find("PY.METHOD_CALL");
|
||||
scheme.setAttributes(methodCallKey, new TextAttributes(Color.red, Color.black, Color.white, EffectType.BOXED, Font.BOLD));
|
||||
final TextAttributesKey builtinKey = TextAttributesKey.find("PY.BUILTIN_NAME");
|
||||
scheme.setAttributes(builtinKey, new TextAttributes(Color.blue, Color.black, Color.white, EffectType.BOXED, Font.BOLD));
|
||||
doTest();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user