Class: MobyCommand::Tap
- Inherits:
-
CommandData
- Object
- CommandData
- MobyCommand::Tap
- Defined in:
- lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/tap.rb
Instance Method Summary collapse
- #get_hold ⇒ Object
- #get_x ⇒ Object
- #get_y ⇒ Object
-
#initialize(xcoordinate = nil, ycoordinate = nil, time_to_hold = 1, times_to_tap = 1, time_between_taps = 1) ⇒ Tap
constructor
- Constructor to Tap == params text
-
(optional) String to be added to text sequence if given.
Constructor Details
#initialize(xcoordinate = nil, ycoordinate = nil, time_to_hold = 1, times_to_tap = 1, time_between_taps = 1) ⇒ Tap
Constructor to Tap
params
- text
-
(optional) String to be added to text sequence if given.
returns
Instance of TypeText
33 34 35 36 37 38 39 40 |
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/tap.rb', line 33 def initialize( xcoordinate = nil, ycoordinate = nil, time_to_hold = 1, times_to_tap = 1, time_between_taps = 1 ) # Set status value to nil (not executed) @_xcoordinate = xcoordinate @_ycoordinate = ycoordinate @_time_to_hold = time_to_hold @_times_to_tap = times_to_tap @_time_between_taps = time_between_taps end |
Instance Method Details
#get_hold ⇒ Object
48 49 50 |
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/tap.rb', line 48 def get_hold @_time_to_hold end |
#get_x ⇒ Object
42 43 44 |
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/tap.rb', line 42 def get_x @_xcoordinate end |
#get_y ⇒ Object
45 46 47 |
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/tap.rb', line 45 def get_y @_ycoordinate end |