mirror of
https://github.com/esp8266/Arduino.git
synced 2025-12-19 22:42:48 +03:00
24 lines
583 B
Java
24 lines
583 B
Java
package processing.app.helpers;
|
|
|
|
import org.fest.swing.fixture.FrameFixture;
|
|
import processing.app.Editor;
|
|
import processing.app.syntax.JEditTextArea;
|
|
|
|
public class ArduinoFrameFixture extends FrameFixture {
|
|
|
|
private final Editor editor;
|
|
|
|
public ArduinoFrameFixture(Editor editor) {
|
|
super(editor);
|
|
this.editor = editor;
|
|
}
|
|
|
|
public JEditTextAreaFixture jEditTextArea(String name) {
|
|
return new JEditTextAreaFixture(robot, (JEditTextArea) this.robot.finder().find(new JEditTextAreaComponentMatcher(name)));
|
|
}
|
|
|
|
public Editor getEditor() {
|
|
return editor;
|
|
}
|
|
}
|