Class: OCRunner::TestCase

Inherits:
Object
  • Object
show all
Defined in:
lib/ocrunner/test_case.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#lineObject

Returns the value of attribute line.



4
5
6
# File 'lib/ocrunner/test_case.rb', line 4

def line
  @line
end

#messageObject

Returns the value of attribute message.



4
5
6
# File 'lib/ocrunner/test_case.rb', line 4

def message
  @message
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/ocrunner/test_case.rb', line 3

def name
  @name
end

#passedObject

Returns the value of attribute passed.



4
5
6
# File 'lib/ocrunner/test_case.rb', line 4

def passed
  @passed
end

#pathObject

Returns the value of attribute path.



4
5
6
# File 'lib/ocrunner/test_case.rb', line 4

def path
  @path
end