Class: OCRunner::TestCase
- Inherits:
-
Object
- Object
- OCRunner::TestCase
- Defined in:
- lib/ocrunner/test_case.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
Returns the value of attribute line.
-
#message ⇒ Object
Returns the value of attribute message.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#passed ⇒ Object
Returns the value of attribute passed.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(name) ⇒ TestCase
constructor
A new instance of TestCase.
Constructor Details
#initialize(name) ⇒ TestCase
Returns a new instance of TestCase.
6 7 8 |
# File 'lib/ocrunner/test_case.rb', line 6 def initialize(name) @name = name end |
Instance Attribute Details
#line ⇒ Object
Returns the value of attribute line.
4 5 6 |
# File 'lib/ocrunner/test_case.rb', line 4 def line @line end |
#message ⇒ Object
Returns the value of attribute message.
4 5 6 |
# File 'lib/ocrunner/test_case.rb', line 4 def @message end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/ocrunner/test_case.rb', line 3 def name @name end |
#passed ⇒ Object
Returns the value of attribute passed.
4 5 6 |
# File 'lib/ocrunner/test_case.rb', line 4 def passed @passed end |
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/ocrunner/test_case.rb', line 4 def path @path end |