mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-01 03:47:23 +03:00
Avoid referring directly to RSyntaxTextArea, at least in the names
This commit is contained in:
@ -31,7 +31,7 @@ package processing.app;
|
||||
|
||||
import org.fest.swing.fixture.JMenuItemFixture;
|
||||
import org.junit.Test;
|
||||
import processing.app.helpers.RSyntaxTextAreaFixture;
|
||||
import processing.app.helpers.SketchTextAreaFixture;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
@ -42,7 +42,7 @@ public class AutoformatSavesCaretPositionTest extends AbstractGUITest {
|
||||
JMenuItemFixture menuToolsAutoFormat = window.menuItem("menuToolsAutoFormat");
|
||||
menuToolsAutoFormat.requireEnabled();
|
||||
|
||||
RSyntaxTextAreaFixture editor = window.RSyntaxTextArea("editor");
|
||||
SketchTextAreaFixture editor = window.textArea("editor");
|
||||
editor.setText("void setup() {\n" +
|
||||
" // put your setup code here, to run once:\n" +
|
||||
"\n" +
|
||||
|
Reference in New Issue
Block a user