Class: Google::Apis::ToolresultsV1beta3::FailureDetail

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

Overview

Details for an outcome with a FAILURE outcome summary.

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) ⇒ FailureDetail

Returns a new instance of FailureDetail.



972
973
974
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 972

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

Instance Attribute Details

#crashedBoolean Also known as: crashed?

If the failure was severe because the system (app) under test crashed. Corresponds to the JSON property crashed

Returns:

  • (Boolean)


944
945
946
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 944

def crashed
  @crashed
end

#not_installedBoolean Also known as: not_installed?

If an app is not installed and thus no test can be run with the app. This might be caused by trying to run a test on an unsupported platform. Corresponds to the JSON property notInstalled

Returns:

  • (Boolean)


951
952
953
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 951

def not_installed
  @not_installed
end

#other_native_crashBoolean Also known as: other_native_crash?

If a native process (including any other than the app) crashed. Corresponds to the JSON property otherNativeCrash

Returns:

  • (Boolean)


957
958
959
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 957

def other_native_crash
  @other_native_crash
end

#timed_outBoolean Also known as: timed_out?

If the test overran some time limit, and that is why it failed. Corresponds to the JSON property timedOut

Returns:

  • (Boolean)


963
964
965
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 963

def timed_out
  @timed_out
end

#unable_to_crawlBoolean Also known as: unable_to_crawl?

If the robo was unable to crawl the app; perhaps because the app did not start. Corresponds to the JSON property unableToCrawl

Returns:

  • (Boolean)


969
970
971
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 969

def unable_to_crawl
  @unable_to_crawl
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



977
978
979
980
981
982
983
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 977

def update!(**args)
  @crashed = args[:crashed] if args.key?(:crashed)
  @not_installed = args[:not_installed] if args.key?(:not_installed)
  @other_native_crash = args[:other_native_crash] if args.key?(:other_native_crash)
  @timed_out = args[:timed_out] if args.key?(:timed_out)
  @unable_to_crawl = args[:unable_to_crawl] if args.key?(:unable_to_crawl)
end