Class: Google::Apis::ToolresultsV1beta3::TestSuiteOverview
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::TestSuiteOverview
- 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
A summary of a test suite result either parsed from XML or uploaded directly by a user. Note: the API related comments are for StepService only. This message is also being used in ExecutionService in a read only mode for the corresponding step.
Instance Attribute Summary collapse
-
#error_count ⇒ Fixnum
Number of test cases in error, typically set by the service by parsing the xml_source.
-
#failure_count ⇒ Fixnum
Number of failed test cases, typically set by the service by parsing the xml_source.
-
#name ⇒ String
The name of the test suite.
-
#skipped_count ⇒ Fixnum
Number of test cases not run, typically set by the service by parsing the xml_source.
-
#total_count ⇒ Fixnum
Number of test cases, typically set by the service by parsing the xml_source.
-
#xml_source ⇒ Google::Apis::ToolresultsV1beta3::FileReference
A reference to a file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TestSuiteOverview
constructor
A new instance of TestSuiteOverview.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TestSuiteOverview
Returns a new instance of TestSuiteOverview
1803 1804 1805 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1803 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_count ⇒ Fixnum
Number of test cases in error, typically set by the service by parsing the xml_source.
- In create/response: always set - In update request: never
Corresponds to the JSON property
errorCount
1770 1771 1772 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1770 def error_count @error_count end |
#failure_count ⇒ Fixnum
Number of failed test cases, typically set by the service by parsing the xml_source. May also be set by the user.
- In create/response: always set - In update request: never
Corresponds to the JSON property
failureCount
1777 1778 1779 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1777 def failure_count @failure_count end |
#name ⇒ String
The name of the test suite.
- In create/response: always set - In update request: never
Corresponds to the JSON property
name
1783 1784 1785 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1783 def name @name end |
#skipped_count ⇒ Fixnum
Number of test cases not run, typically set by the service by parsing the xml_source.
- In create/response: always set - In update request: never
Corresponds to the JSON property
skippedCount
1790 1791 1792 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1790 def skipped_count @skipped_count end |
#total_count ⇒ Fixnum
Number of test cases, typically set by the service by parsing the xml_source.
- In create/response: always set - In update request: never
Corresponds to the JSON property
totalCount
1796 1797 1798 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1796 def total_count @total_count end |
#xml_source ⇒ Google::Apis::ToolresultsV1beta3::FileReference
A reference to a file.
Corresponds to the JSON property xmlSource
1801 1802 1803 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1801 def xml_source @xml_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1808 def update!(**args) @error_count = args[:error_count] if args.key?(:error_count) @failure_count = args[:failure_count] if args.key?(:failure_count) @name = args[:name] if args.key?(:name) @skipped_count = args[:skipped_count] if args.key?(:skipped_count) @total_count = args[:total_count] if args.key?(:total_count) @xml_source = args[:xml_source] if args.key?(:xml_source) end |