1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-29 05:21:37 +03:00

updated tests for new Textarea

This commit is contained in:
ricardo.jl.rufino
2015-04-22 13:52:31 -03:00
committed by Federico Fissore
parent 1c78ba5f3d
commit 725dffa69e
10 changed files with 174 additions and 21 deletions

View File

@ -31,7 +31,7 @@ package processing.app;
import org.fest.swing.fixture.JMenuItemFixture;
import org.junit.Test;
import processing.app.helpers.JEditTextAreaFixture;
import processing.app.helpers.RSyntaxTextAreaFixture;
import static org.junit.Assert.assertEquals;
@ -42,7 +42,7 @@ public class AutoformatSavesCaretPositionTest extends AbstractGUITest {
JMenuItemFixture menuToolsAutoFormat = window.menuItem("menuToolsAutoFormat");
menuToolsAutoFormat.requireEnabled();
JEditTextAreaFixture editor = window.jEditTextArea("editor");
RSyntaxTextAreaFixture editor = window.RSyntaxTextArea("editor");
editor.setText("void setup() {\n" +
" // put your setup code here, to run once:\n" +
"\n" +