Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-octopus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
parser-octopus
Commits
1153f1db
Commit
1153f1db
authored
7 years ago
by
Ask Hjorth Larsen
Browse files
Options
Downloads
Patches
Plain Diff
include new tests
parent
3031d648
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/scala/eu/nomad_lab/parsers/OctopusParserSpec.scala
+24
-0
24 additions, 0 deletions
src/test/scala/eu/nomad_lab/parsers/OctopusParserSpec.scala
with
24 additions
and
0 deletions
src/test/scala/eu/nomad_lab/parsers/OctopusParserSpec.scala
+
24
−
0
View file @
1153f1db
...
@@ -49,5 +49,29 @@ object OctopusParserSpec extends Specification {
...
@@ -49,5 +49,29 @@ object OctopusParserSpec extends Specification {
"test Fe with json"
>>
{
"test Fe with json"
>>
{
ParserRun
.
parse
(
OctopusParser
,
"parsers/octopus/test/examples/Fe/static/info"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
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
}
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment