-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/fdp 2874 alarm info #45
Conversation
Signed-off-by: Sander van der Heijden <[email protected]>
Signed-off-by: Sander van der Heijden <[email protected]>
...ication/src/main/kotlin/org/gxf/crestdevicesimulator/simulator/data/entity/SimulatorState.kt
Outdated
Show resolved
Hide resolved
...ication/src/main/kotlin/org/gxf/crestdevicesimulator/simulator/data/entity/SimulatorState.kt
Outdated
Show resolved
Hide resolved
...n/kotlin/org/gxf/crestdevicesimulator/simulator/response/handlers/InfoAlarmCommandHandler.kt
Outdated
Show resolved
Hide resolved
...n/kotlin/org/gxf/crestdevicesimulator/simulator/response/handlers/InfoAlarmCommandHandler.kt
Outdated
Show resolved
Hide resolved
...n/kotlin/org/gxf/crestdevicesimulator/simulator/response/handlers/InfoAlarmCommandHandler.kt
Outdated
Show resolved
Hide resolved
...n/kotlin/org/gxf/crestdevicesimulator/simulator/response/handlers/InfoAlarmCommandHandler.kt
Outdated
Show resolved
Hide resolved
@BeforeEach | ||
fun setUp() { | ||
simulatorState = SimulatorState() | ||
simulatorState.resetUrc() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it strange to have to reset things on a newly created instance? Maybe a constructor parameter would be more logical, if there are different viable starting states?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default initial state of the simulator URC is "INIT", only for the unit tests, this initial state is not desired.
...tlin/org/gxf/crestdevicesimulator/simulator/response/handlers/InfoAlarmCommandHandlerTest.kt
Outdated
Show resolved
Hide resolved
...tlin/org/gxf/crestdevicesimulator/simulator/response/handlers/InfoAlarmCommandHandlerTest.kt
Outdated
Show resolved
Hide resolved
Signed-off-by: Sander van der Heijden <[email protected]>
Signed-off-by: Sander van der Heijden <[email protected]>
Signed-off-by: Sander van der Heijden <[email protected]>
Signed-off-by: Sander van der Heijden <[email protected]>
|
No description provided.