Module: MobyController::QT::InfoLoggerCommand

Includes:
Abstraction
Defined in:
lib/testability-driver-plugins/testability-driver-qt-sut-plugin/controllers/infologger_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/infologger_command.rb', line 32

def make_message

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

end