Class: Google::Apis::TestingV1::TestDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/testing_v1/classes.rb,
generated/google/apis/testing_v1/representations.rb,
generated/google/apis/testing_v1/representations.rb

Overview

Additional details about the progress of the running test.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TestDetails

Returns a new instance of TestDetails



1441
1442
1443
# File 'generated/google/apis/testing_v1/classes.rb', line 1441

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_messageString

If the TestState is ERROR, then this string will contain human-readable details about the error. Corresponds to the JSON property errorMessage

Returns:

  • (String)


1421
1422
1423
# File 'generated/google/apis/testing_v1/classes.rb', line 1421

def error_message
  @error_message
end

#progress_messagesArray<String>

Human-readable, detailed descriptions of the test's progress. For example: "Provisioning a device", "Starting Test". During the course of execution new data may be appended to the end of progress_messages. Corresponds to the JSON property progressMessages

Returns:

  • (Array<String>)


1430
1431
1432
# File 'generated/google/apis/testing_v1/classes.rb', line 1430

def progress_messages
  @progress_messages
end

#video_recording_disabledBoolean Also known as: video_recording_disabled?

Indicates that video will not be recorded for this execution either because the user chose to disable it or the device does not support it. See AndroidModel.video_recording_not_supported Corresponds to the JSON property videoRecordingDisabled

Returns:

  • (Boolean)


1438
1439
1440
# File 'generated/google/apis/testing_v1/classes.rb', line 1438

def video_recording_disabled
  @video_recording_disabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1446
1447
1448
1449
1450
# File 'generated/google/apis/testing_v1/classes.rb', line 1446

def update!(**args)
  @error_message = args[:error_message] if args.key?(:error_message)
  @progress_messages = args[:progress_messages] if args.key?(:progress_messages)
  @video_recording_disabled = args[:video_recording_disabled] if args.key?(:video_recording_disabled)
end