Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Middleware
Commits
cbe23115
Commit
cbe23115
authored
Feb 14, 2019
by
Alexander David Hellwig
Browse files
Added testDynamicParameterList
parent
df097e2b
Pipeline
#105011
failed with stages
in 15 minutes and 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/de/monticore/lang/monticar/generator/middleware/JsonCliTest.java
View file @
cbe23115
...
...
@@ -38,5 +38,10 @@ public class JsonCliTest {
DistributedTargetGeneratorCli
.
main
(
new
String
[]{
"./src/test/resources/config/parameterTest/clusterParamsAllAlgosMinParams.json"
});
}
@Test
public
void
testDynamicParameterList
()
{
DistributedTargetGeneratorCli
.
main
(
new
String
[]{
"./src/test/resources/config/parameterTest/clusterDynamicList.json"
});
}
}
src/test/resources/config/parameterTest/clusterDynamicList.json
View file @
cbe23115
{
"modelsDir"
:
"src/test/resources/pacman/"
,
"outputDir"
:
"target/cliTest/
allAlgos
/"
,
"outputDir"
:
"target/cliTest/
dynamicList
/"
,
"rootModel"
:
"de.rwth.pacman.heithoff2.controller"
,
"generators"
:
[
"cpp"
,
"roscpp"
],
"clusteringParameters"
:{
...
...
@@ -8,9 +8,7 @@
"algorithmParameters"
:
[
{
"name"
:
"SpectralClustering"
,
"numberOfClusters"
:[
2
,
3
,
4
],
"l"
:
[
1
,
2
,
3
,
4
],
"sigma"
:
[
0.1
]
"numberOfClusters"
:[
2
,
3
,
4
,
6
,
7
]
}
]
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment