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

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

Overview

Details for an outcome with a FAILURE outcome summary.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FailureDetail

Returns a new instance of FailureDetail.



912
913
914
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 912

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)


870
871
872
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 870

def crashed
  @crashed
end

#device_out_of_memoryBoolean Also known as: device_out_of_memory?

If the device ran out of memory during a test, causing the test to crash. Corresponds to the JSON property deviceOutOfMemory

Returns:

  • (Boolean)


876
877
878
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 876

def device_out_of_memory
  @device_out_of_memory
end

#failed_roboscriptBoolean Also known as: failed_roboscript?

If the Roboscript failed to complete successfully, e.g., because a Roboscript action or assertion failed or a Roboscript action could not be matched during the entire crawl. Corresponds to the JSON property failedRoboscript

Returns:

  • (Boolean)


884
885
886
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 884

def failed_roboscript
  @failed_roboscript
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)


891
892
893
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 891

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)


897
898
899
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 897

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)


903
904
905
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 903

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)


909
910
911
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 909

def unable_to_crawl
  @unable_to_crawl
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



917
918
919
920
921
922
923
924
925
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 917

def update!(**args)
  @crashed = args[:crashed] if args.key?(:crashed)
  @device_out_of_memory = args[:device_out_of_memory] if args.key?(:device_out_of_memory)
  @failed_roboscript = args[:failed_roboscript] if args.key?(:failed_roboscript)
  @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