From 1153f1dbcf2cdf08353c48ad8e8195d4de34167b Mon Sep 17 00:00:00 2001
From: Ask Hjorth Larsen <asklarsen@gmail.com>
Date: Tue, 13 Feb 2018 20:20:15 +0100
Subject: [PATCH] include new tests

---
 .../nomad_lab/parsers/OctopusParserSpec.scala | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/src/test/scala/eu/nomad_lab/parsers/OctopusParserSpec.scala b/src/test/scala/eu/nomad_lab/parsers/OctopusParserSpec.scala
index dac9688..329c3ee 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
+    }
   }
 }
-- 
GitLab