File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
scala/edu/ie3/simbench/config
test/scala/edu/ie3/test/common Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 2424conversion {
2525 removeSwitches = "Boolean" | false
2626 participantWorkersPerType = "Int" | 20
27+ createTimeSeries = "Boolean" | false
2728}
Original file line number Diff line number Diff line change 1- // generated by tscfg 0.9.993 on Mon Aug 30 16:37:01 CEST 2021
1+ // generated by tscfg 0.9.993 on Tue Aug 31 18:23:23 CEST 2021
22// source: src/main/resources/config-template.conf
33
44package edu .ie3 .simbench .config
@@ -38,6 +38,7 @@ object SimbenchConfig {
3838 }
3939
4040 final case class Conversion (
41+ createTimeSeries : scala.Boolean ,
4142 participantWorkersPerType : scala.Int ,
4243 removeSwitches : scala.Boolean
4344 )
@@ -48,6 +49,9 @@ object SimbenchConfig {
4849 $tsCfgValidator : $TsCfgValidator
4950 ): SimbenchConfig .Conversion = {
5051 SimbenchConfig .Conversion (
52+ createTimeSeries = c.hasPathOrNull(" createTimeSeries" ) && c.getBoolean(
53+ " createTimeSeries"
54+ ),
5155 participantWorkersPerType =
5256 if (c.hasPathOrNull(" participantWorkersPerType" ))
5357 c.getInt(" participantWorkersPerType" )
Original file line number Diff line number Diff line change @@ -34,7 +34,11 @@ trait ConfigTestData {
3434 )
3535
3636 val validConversionConfig : Conversion =
37- Conversion (removeSwitches = false , participantWorkersPerType = 20 )
37+ Conversion (
38+ removeSwitches = false ,
39+ participantWorkersPerType = 20 ,
40+ createTimeSeries = false
41+ )
3842
3943 val validConfig = new SimbenchConfig (validConversionConfig, validIo)
4044}
You can’t perform that action at this time.
0 commit comments