public interface TextInputFixture extends TextDisplayFixture, EditableComponentFixture
| Modifier and Type | Method and Description |
|---|---|
TextInputFixture |
deleteText()
Simulates a user deleting all the text in the
managed by this fixture. |
TextInputFixture |
enterText(String text)
Simulates a user entering the given text in the
managed by this fixture. |
TextInputFixture |
select(String text)
Simulates a user selecting the given text contained in the
managed by this fixture. |
TextInputFixture |
selectAll()
Simulates a user selecting all the text contained in the
managed by this fixture. |
TextInputFixture |
selectText(int start,
int end)
Simulates a user selecting a portion of the text contained in the
managed by this
fixture. |
requireText, requireText, textrequireEditable, requireNotEditableTextInputFixture enterText(String text)
Component managed by this fixture.text - the text to enter.TextInputFixture deleteText()
Component managed by this fixture.TextInputFixture selectAll()
Component managed by this fixture.TextInputFixture selectText(int start, int end)
Component managed by this
fixture.start - index where selection should start.end - index where selection should end.TextInputFixture select(String text)
Component managed by this fixture.text - the text to select.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.