Class: Sqlite::QueryTestParser

Inherits:
Object
  • Object
show all
Includes:
CommonTestParser
Defined in:
lib/parsers/query_test_parser.rb

Constant Summary

Constants included from CommonTestParser

CommonTestParser::COMMENT

Instance Attribute Summary

Attributes included from CommonTestParser

#final, #result

Instance Method Summary collapse

Methods included from CommonTestParser

#choose, #get, #get_final, #has?, #has_final?, #initialize

Instance Method Details

#parse(test) ⇒ Object

test =

type: query,
seed: INSERT INTO ...,
expected: SELECT * FROM ...

return

seed: INSERT INTO ...,
expected: SELECT * FROM ...



16
17
18
# File 'lib/parsers/query_test_parser.rb', line 16

def parse(test)
  final_parse test
end