Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Markus Scheidgen
parser-exciting
Commits
4b602f56
Commit
4b602f56
authored
Feb 11, 2016
by
ankit kariryaa
Browse files
Add test; Warning no real files to test are present in the directory at the moment
parent
dfa19c7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/scala/eu/nomad_lab/parsers/ExcitingParserSpec.scala
0 → 100644
View file @
4b602f56
package
eu.nomad_lab.parsers
import
org.specs2.mutable.Specification
object
ExcitingParserSpec
extends
Specification
{
"ExcitingParserTest"
>>
{
"test with json-events"
>>
{
//No test file present at the moment; Replace the README when test file is present
ParserRun
.
parse
(
ExcitingParser
,
"parsers/castep/test/examples/README.md"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
}
"test with json"
>>
{
ParserRun
.
parse
(
ExcitingParser
,
"parsers/exciting/test/examples/README.md"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment