Module: MobyController::QT::ConfigureCommand

Includes:
Abstraction
Defined in:
lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/configure_command.rb

Instance Method Summary collapse

Instance Method Details

#make_messageObject

Creates service command message which will be sent to @sut_adapter by execute method

params

returns

raises



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

def make_message

  Comms::MessageGenerator.generate(
    Nokogiri::XML::Builder.new{
      TasCommands( :service => "confService", :id=> application_id ) {
        Target( :TasId => "Application" ){
          Command( value || "", ( params || {} ).merge( :name => name ) )
        }
      }
    }.to_xml
  )

end