LibAtomsParserSpec.scala 495 Bytes
Newer Older
Carl Poelking's avatar
Carl Poelking committed
1
2
3
4
5
6
7
package eu.nomad_lab.parsers

import org.specs2.mutable.Specification

object LibAtomsParserSpec extends Specification {
  "LibAtomsParserTest" >> {
    "test with json-events" >> {
Carl Poelking's avatar
Carl Poelking committed
8
      ParserRun.parse(LibAtomsParser, "parsers/lib-atoms/test/lib-atoms-gap-test/gp.xml", "json-events") must_== ParseResult.ParseSuccess
Carl Poelking's avatar
Carl Poelking committed
9
10
    }
    "test with json" >> {
Carl Poelking's avatar
Carl Poelking committed
11
      ParserRun.parse(LibAtomsParser, "parsers/lib-atoms/test/lib-atoms-gap-test/gp.xml", "json") must_== ParseResult.ParseSuccess
Carl Poelking's avatar
Carl Poelking committed
12
13
14
    }
  }
}