diff --git a/src/test/scala/eu/nomad_lab/parsers/OctopusParserSpec.scala b/src/test/scala/eu/nomad_lab/parsers/OctopusParserSpec.scala index dac96889a11ed7d442db812f0b5778dd1a8ab807..329c3eed53558099b9fd759d34356678a958a93e 100644 --- a/src/test/scala/eu/nomad_lab/parsers/OctopusParserSpec.scala +++ b/src/test/scala/eu/nomad_lab/parsers/OctopusParserSpec.scala @@ -49,5 +49,29 @@ object OctopusParserSpec extends Specification { "test Fe with json" >> { ParserRun.parse(OctopusParser, "parsers/octopus/test/examples/Fe/static/info", "json") must_== ParseResult.ParseSuccess } + "test newFe with json-events" >> { + ParserRun.parse(OctopusParser, "parsers/octopus/test/examples/newFe/static/info", "json-events") must_== ParseResult.ParseSuccess + } + "test newFe with json" >> { + ParserRun.parse(OctopusParser, "parsers/octopus/test/examples/newFe/static/info", "json") must_== ParseResult.ParseSuccess + } + "test newH2O with json-events" >> { + ParserRun.parse(OctopusParser, "parsers/octopus/test/examples/newH2O/static/info", "json-events") must_== ParseResult.ParseSuccess + } + "test newH2O with json" >> { + ParserRun.parse(OctopusParser, "parsers/octopus/test/examples/newH2O/static/info", "json") must_== ParseResult.ParseSuccess + } + "test newO2 with json-events" >> { + ParserRun.parse(OctopusParser, "parsers/octopus/test/examples/newO2/static/info", "json-events") must_== ParseResult.ParseSuccess + } + "test newO2 with json" >> { + ParserRun.parse(OctopusParser, "parsers/octopus/test/examples/newO2/static/info", "json") must_== ParseResult.ParseSuccess + } + "test newSi with json-events" >> { + ParserRun.parse(OctopusParser, "parsers/octopus/test/examples/newSi/static/info", "json-events") must_== ParseResult.ParseSuccess + } + "test newSi with json" >> { + ParserRun.parse(OctopusParser, "parsers/octopus/test/examples/newSi/static/info", "json") must_== ParseResult.ParseSuccess + } } }