Class: MobyCommand::FindObjectCommand

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

Instance Method Summary collapse

Constructor Details

#initialize(sut, app_details = nil, params = nil, checksum = nil) ⇒ FindObjectCommand

Constructor

params

btn_id

(optional) String, id for the button perform this command on

command_type

(optional) Symbol, defines the command to perform on the button

returns

MobyCommand::FindObjectCommand

New CommandData object

raises

ArgumentError

When the supplied command_type is invalid.



32
33
34
35
36
37
38
39
40
41
42
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/find_object.rb', line 32

def initialize( sut, app_details = nil, params = nil, checksum = nil )

  @_params = params

  @_app_details = app_details

  @_sut = sut

  @_checksum = checksum

end

Instance Method Details

#application_detailsObject

TODO: document me



45
46
47
48
49
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/find_object.rb', line 45

def application_details

  @_app_details

end

#checksumObject

TODO: document me



59
60
61
62
63
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/find_object.rb', line 59

def checksum

  @_checksum

end

#search_parametersObject

TODO: document me



52
53
54
55
56
# File 'lib/testability-driver-plugins/testability-driver-qt-sut-plugin/commands/find_object.rb', line 52

def search_parameters

  @_params

end