Class: Sqlite::DisplayTestParser
- Inherits:
-
Object
- Object
- Sqlite::DisplayTestParser
show all
- Includes:
- CommonTestParser
- Defined in:
- lib/parsers/display_test_parser.rb
Constant Summary
CommonTestParser::COMMENT
Instance Attribute Summary
#final, #result
Instance Method Summary
collapse
#choose, #get, #has?, #initialize
Instance Method Details
#get_final ⇒ Object
9
10
11
12
|
# File 'lib/parsers/display_test_parser.rb', line 9
def get_final
get(:query)
end
|
#has_final? ⇒ Boolean
5
6
7
|
# File 'lib/parsers/display_test_parser.rb', line 5
def has_final?
has?(:query)
end
|
#parse(test) ⇒ Object
14
15
16
|
# File 'lib/parsers/display_test_parser.rb', line 14
def parse(test)
final_parse test, { expected: get_final }
end
|