Class cas.cs4tb3.mellowd.ParserTest

3

tests

0

failures

0

ignored

0.013s

duration

100%

successful

Tests

Test Duration Result
parseTest[0: varDeclaration] 0.006s passed
parseTest[1: song] 0.002s passed
parseTest[2: block] 0.005s passed

Standard output

Parser Test 0: Rule=varDeclaration InFile=varDeclaration.mlod
-----------------------------------------------------------------------------------
Run: 0
	ParserRuleContext[varDeclaration]{start=[@0,0:5='phrase',<31>,1:0], stop=[@16,28:28='>',<45>,1:28]}

Run: 1
	ParserRuleContext[varDeclaration]{start=[@17,31:36='rhythm',<31>,2:0], stop=[@29,55:55='>',<45>,2:24]}

Run: 2
	ParserRuleContext[varDeclaration]{start=[@30,58:62='chord',<31>,3:0], stop=[@44,81:81=')',<43>,3:23]}

Run: 3
	ParserRuleContext[varDeclaration]{start=[@45,84:89='melody',<31>,4:0], stop=[@61,114:114=']',<41>,4:30]}

Parser Test 1: Rule=song InFile=simpleBlock.mlod
-----------------------------------------------------------------------------------
Run: 0
	ParserRuleContext[song]{start=[@0,0:5='sample',<31>,1:0], stop=[@42,99:98='<EOF>',<-1>,3:1]}

Parser Test 2: Rule=block InFile=chordNames.mlod
-----------------------------------------------------------------------------------
Run: 0
	ParserRuleContext[block]{start=[@0,0:8='chordTest',<31>,1:0], stop=[@60,150:150='}',<47>,4:0]}