SSLTestResults are created by running SSLTestCases. They are then added to an SSLTestReport so that they can be included in that report.
# File lib/ssl_test/ssl_test_result.rb, line 13 def initialize(testcase_id, passed=false) @id = testcase_id @passed = passed end
# File lib/ssl_test/ssl_test_result.rb, line 11 def passed? ; @passed ; end
# File lib/ssl_test/ssl_test_result.rb, line 18 def to_h { :id => id, :passed => passed? ? "Pass" : "Fail", :description => description, :expected_result => expected_result, :actual_result => actual_result, :start_time => start_time, :stop_time => stop_time, } end