-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
chore: Adding unittests for parsing StatusNotification messages with …
…no timestamps * adding tests written as part of this #10 * removing a couple of build warnings triggered by cast's in a test * fixed ktor upgrade in the test server
1 parent
4e5c17d
commit 032d24e
Showing
5 changed files
with
49 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
v16/src/test/resources/status_notification/req-timestamp-no-timezone.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[2, "2024120922534800000049", "StatusNotification", { | ||
"connectorId": 1, | ||
"status": "Available", | ||
"errorCode": "NoError", | ||
"info": "eCp_12V", | ||
"timestamp": "2024-12-09T22:53:49.000" | ||
}] |
7 changes: 7 additions & 0 deletions
7
v16/src/test/resources/status_notification/req-timestamp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[2, "2024120922534800000049", "StatusNotification", { | ||
"connectorId": 1, | ||
"status": "Available", | ||
"errorCode": "NoError", | ||
"info": "eCp_12V", | ||
"timestamp": "2024-12-09T22:53:49.000Z" | ||
}] |