Class: MobyCommand::Group

Inherits:
CommandData
  • Object
show all
Defined in:
lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(interval, application, block) ⇒ Group

Constructor to Group

params

interval: interval between commands application: target application block: block of commands to group



31
32
33
34
35
36
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb', line 31

def initialize( interval, application, block )    
  @interval = interval
  @application = application
  @block = block
  @multitouch = false
end

Instance Attribute Details

#applicationObject (readonly)

Returns the value of attribute application.



24
25
26
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb', line 24

def application
  @application
end

#blockObject (readonly)

Returns the value of attribute block.



24
25
26
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb', line 24

def block
  @block
end

#intervalObject (readonly)

Returns the value of attribute interval.



24
25
26
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb', line 24

def interval
  @interval
end

#multitouchObject (readonly)

Returns the value of attribute multitouch.



24
25
26
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb', line 24

def multitouch
  @multitouch
end

Instance Method Details

#set_multitouch(multitouch = true) ⇒ Object



38
39
40
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/group.rb', line 38

def set_multitouch(multitouch = true)
  @multitouch = multitouch
end