Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
#14 Parse ConfirmedCovNotification
Browse files Browse the repository at this point in the history
  • Loading branch information
baardl committed Sep 4, 2020
1 parent 05f5b0c commit 10cdbd9
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ void buildObservationFromUnconfirmedCovNotificationTest() {
assertEquals(2, observations.getObservations().size());
}

@Test
void buildObservationFromConfirmedCovNotificationTest() {
String line = "810a002b01040005060109121c020003e92c008000013a012b4e09552e44000000002f096f2e8204002f4f";
BvlcResult bvlcResult = BvlcParser.parse(line);
assertNotNull(bvlcResult);
NpduResult npduResult = NpduParser.parse(bvlcResult.getUnprocessedHexString());
assertNotNull(npduResult);
// String apduHexString = npduResult.getUnprocessedHexString();
// Service service = ServiceParser.fromApduHexString(apduHexString);
}

@Test
void validateRestartTime() {
String line = "810b00340100100209001c020007d22c020007d239004e09702e91002f09cb2e2ea4770c0b03b40a341d402f2f09c42e91002f4f000";
Expand Down

0 comments on commit 10cdbd9

Please sign in to comment.