Class: Applitools::TestResultSummary
- Inherits:
-
Object
- Object
- Applitools::TestResultSummary
- Defined in:
- lib/applitools/core/test_result_summary.rb
Instance Attribute Summary collapse
-
#exceptions ⇒ Object
Returns the value of attribute exceptions.
-
#failed ⇒ Object
Returns the value of attribute failed.
-
#matches ⇒ Object
Returns the value of attribute matches.
-
#mismatches ⇒ Object
Returns the value of attribute mismatches.
-
#missing ⇒ Object
Returns the value of attribute missing.
-
#passed ⇒ Object
Returns the value of attribute passed.
-
#results ⇒ Object
Returns the value of attribute results.
-
#unresolved ⇒ Object
Returns the value of attribute unresolved.
Instance Method Summary collapse
-
#initialize(results) ⇒ TestResultSummary
constructor
A new instance of TestResultSummary.
Constructor Details
#initialize(results) ⇒ TestResultSummary
Returns a new instance of TestResultSummary.
6 7 8 9 10 11 |
# File 'lib/applitools/core/test_result_summary.rb', line 6 def initialize(results) Applitools::ArgumentGuard.is_a?(results, 'results', Array) results.each_with_index do |r, i| Applitools::ArgumentGuard.is_a?(r, "results[#{i}]", Applitools::TestResults) end end |
Instance Attribute Details
#exceptions ⇒ Object
Returns the value of attribute exceptions.
5 6 7 |
# File 'lib/applitools/core/test_result_summary.rb', line 5 def exceptions @exceptions end |
#failed ⇒ Object
Returns the value of attribute failed.
5 6 7 |
# File 'lib/applitools/core/test_result_summary.rb', line 5 def failed @failed end |
#matches ⇒ Object
Returns the value of attribute matches.
5 6 7 |
# File 'lib/applitools/core/test_result_summary.rb', line 5 def matches @matches end |
#mismatches ⇒ Object
Returns the value of attribute mismatches.
5 6 7 |
# File 'lib/applitools/core/test_result_summary.rb', line 5 def mismatches @mismatches end |
#missing ⇒ Object
Returns the value of attribute missing.
5 6 7 |
# File 'lib/applitools/core/test_result_summary.rb', line 5 def missing @missing end |
#passed ⇒ Object
Returns the value of attribute passed.
5 6 7 |
# File 'lib/applitools/core/test_result_summary.rb', line 5 def passed @passed end |
#results ⇒ Object
Returns the value of attribute results.
5 6 7 |
# File 'lib/applitools/core/test_result_summary.rb', line 5 def results @results end |
#unresolved ⇒ Object
Returns the value of attribute unresolved.
5 6 7 |
# File 'lib/applitools/core/test_result_summary.rb', line 5 def unresolved @unresolved end |