Class: Google::Apis::ToolresultsV1beta3::FailureDetail
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::FailureDetail
- 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
Instance Attribute Summary collapse
-
#crashed ⇒ Boolean
(also: #crashed?)
If the failure was severe because the system (app) under test crashed.
-
#not_installed ⇒ Boolean
(also: #not_installed?)
If an app is not installed and thus no test can be run with the app.
-
#other_native_crash ⇒ Boolean
(also: #other_native_crash?)
If a native process (including any other than the app) crashed.
-
#timed_out ⇒ Boolean
(also: #timed_out?)
If the test overran some time limit, and that is why it failed.
-
#unable_to_crawl ⇒ Boolean
(also: #unable_to_crawl?)
If the robo was unable to crawl the app; perhaps because the app did not start.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FailureDetail
constructor
A new instance of FailureDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FailureDetail
Returns a new instance of FailureDetail
749 750 751 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#crashed ⇒ Boolean Also known as: crashed?
If the failure was severe because the system (app) under test crashed.
Corresponds to the JSON property crashed
721 722 723 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 721 def crashed @crashed end |
#not_installed ⇒ Boolean 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
728 729 730 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 728 def not_installed @not_installed end |
#other_native_crash ⇒ Boolean Also known as: other_native_crash?
If a native process (including any other than the app) crashed.
Corresponds to the JSON property otherNativeCrash
734 735 736 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 734 def other_native_crash @other_native_crash end |
#timed_out ⇒ Boolean Also known as: timed_out?
If the test overran some time limit, and that is why it failed.
Corresponds to the JSON property timedOut
740 741 742 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 740 def timed_out @timed_out end |
#unable_to_crawl ⇒ Boolean 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
746 747 748 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 746 def unable_to_crawl @unable_to_crawl end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
754 755 756 757 758 759 760 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 754 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 |