Commit graph

16596 commits

Author SHA1 Message Date
jbr7rr 100be23cf4 Medtrum: Improve failure modes;
- ReadDataPacket: Add crc check
- BLEComm: Differentiate between retryable and non-retryable error
- setBolus: Use readStatus to wait for bolus if any
2023-10-10 12:36:12 +02:00
jbr7rr 41afd7cb42 Medtrum: Force enable pump unreachable alarm 2023-10-09 20:08:00 +02:00
jbr7rr aa4e75c264 Medtrum: Refactor Notification packet;
Reduce cognitive complexity
    add check for size of maskedMessage
2023-10-09 19:09:30 +02:00
Milos Kozak 68d227239b
Merge pull request #2885 from jbr7rr/medtrum-fixes
Medtrum: Defaults and notification on warning
2023-10-09 16:24:01 +02:00
Milos Kozak 5e6b74cc37
New Crowdin updates (#2879)
* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations exam.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Norwegian Bokmal)

* New translations strings.xml (Romanian)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Czech)

* New translations strings.xml (Danish)

* New translations strings.xml (German)

* New translations strings.xml (Greek)

* New translations strings.xml (Hebrew)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Italian)

* New translations strings.xml (Korean)

* New translations strings.xml (Lithuanian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Swedish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Croatian)

* New translations strings.xml (Norwegian Bokmal)

* Update source file strings.xml
2023-10-09 13:00:57 +02:00
Milos Kozak fb5f54460d
Merge pull request #2886 from ryanhaining/assertthat_pump_medtrum
Rewrites pump/medtrum/ tests with matchers
2023-10-09 12:57:50 +02:00
Milos Kozak 5b557c13bf
Merge pull request #2887 from ryanhaining/assertthat_pump_omnipoddash
Rewrites pump/omnipod-dash tests with matchers
2023-10-09 12:57:37 +02:00
Milos Kozak b2c0fe4638
Merge pull request #2888 from nightscout/dependabot/gradle/dev/org.mockito-mockito-junit-jupiter-5.6.0
chore(deps): bump org.mockito:mockito-junit-jupiter from 5.5.0 to 5.6.0
2023-10-09 12:57:20 +02:00
dependabot[bot] e7455366ed
chore(deps): bump org.mockito:mockito-junit-jupiter from 5.5.0 to 5.6.0
Bumps [org.mockito:mockito-junit-jupiter](https://github.com/mockito/mockito) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.5.0...v5.6.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 08:21:37 +00:00
Ryan Haining f26aba03e5 Rewrites SuspendDeliveryCommandTest with matchers
Issue #2745
2023-10-08 21:00:56 -07:00
Ryan Haining 5139242bc1 Rewrites StopDeliveryCommandTest with matchers
Issue #2745
2023-10-08 21:00:52 -07:00
Ryan Haining 1d3c697caa Rewrites SilenceAlertsCommandTest with matchers
Issue #2745
2023-10-08 21:00:48 -07:00
Ryan Haining 124e27b449 Rewrites SetUniqueIdCommandTest with matchers
Issue #2745
2023-10-08 21:00:44 -07:00
Ryan Haining a4fb17e53c Rewrites ProgramTempBasalCommandTest with matchers
Issue #2745
2023-10-08 21:00:39 -07:00
Ryan Haining 249106cf6a Rewrites ProgramBolusCommandTest with matchers
Issue #2745
2023-10-08 21:00:32 -07:00
Ryan Haining 2929fd957f Rewrites ProgramBeepsCommandTest with matchers
Issue #2745
2023-10-08 20:50:28 -07:00
Ryan Haining f111f7f091 Rewrites ProgramAlertsCommandTest with matchers
Issue #2745
2023-10-08 20:49:30 -07:00
Ryan Haining 9840cf81c8 Rewrites ProgramBasalCommandTest with matchers
Issue #2745
2023-10-08 20:49:20 -07:00
Ryan Haining 77964df4ae Rewrites GetVersionCommandTest with matchers
Issue #2745
2023-10-08 20:43:09 -07:00
Ryan Haining d44367a170 Rewrites DeactivateCommandTest with matchers
Issue #2745
2023-10-08 20:42:55 -07:00
Ryan Haining 3566c64ca8 Rewrites GetStatusCommandTest with matchers
Issue #2745
2023-10-08 20:42:50 -07:00
Ryan Haining f85953694b Rewrites VersionResponseTest with matchers
Issue #2745
2023-10-08 20:32:56 -07:00
Ryan Haining 18cf56e267 Rewrites SetUniqueIdResponseTest with matchers
Issue #2745
2023-10-08 20:31:11 -07:00
Ryan Haining 25112828a2 Rewrites NakResponseTest with matchers
Issue #2745
2023-10-08 20:26:44 -07:00
Ryan Haining 6785f1a11d Rewrites DefaultStatusResponseTest with matchers
Issue #2745
2023-10-08 20:25:32 -07:00
Ryan Haining 8af75ade2a Rewrites AlarmStatusResponseTest with matchers
Issue #2745
2023-10-08 20:16:21 -07:00
Ryan Haining 5d4c0f7243 Rewrites StringLengthPrefixEncodingTest with matchers
Issue #2745
2023-10-08 19:14:54 -07:00
Ryan Haining 22b6f75444 Rewrites PayloadSplitJoinTest with matchers
Issue #2745
2023-10-08 19:08:06 -07:00
Ryan Haining b8ddafe220 Rewrites PayloadJoinerTest with matchers
Issue #2745
2023-10-08 19:05:49 -07:00
Ryan Haining 23a97d1dc5 Rewrites MessagePacketTest with matchers
Issue #2745
2023-10-08 19:00:47 -07:00
Ryan Haining 6bc5adfe52 Rewrites MilenageTest with matchers
Issue #2745
2023-10-08 18:57:21 -07:00
Ryan Haining 3ea240f4db Rewrites EapMessageTest with matchers
Issue #2745
2023-10-08 18:53:33 -07:00
Ryan Haining fe14ef27b2 Rewrites KeyExchangeTest with matchers
Issue #2745
2023-10-08 18:50:39 -07:00
Ryan Haining d71805b85b Rewrites EnDecryptTest with matchers
Issue #2745
2023-10-08 18:46:40 -07:00
Ryan Haining feb75829ee Rewrites FunctionsTest with matchers
Issue #2745
2023-10-08 18:44:26 -07:00
Ryan Haining 270d6fbdd2 Rewrites SynchronizePacketTest with matchers
Issue #2745
2023-10-08 18:26:14 -07:00
Ryan Haining b65512440c Rewrites SubscribePacketTest with matchers
Issue #2745
2023-10-08 18:23:16 -07:00
Ryan Haining d24d97cc4b Rewrites StopPatchPacketTest with matchers
Issue #2745
2023-10-08 18:22:05 -07:00
Ryan Haining d75bf0e611 Rewrites SetTimeZonePacketTest with matchers
Issue #2745
2023-10-08 18:20:33 -07:00
Ryan Haining 58dd9692de Rewrites SetTimePacketTest with matchers
Issue #2745
2023-10-08 18:17:44 -07:00
Ryan Haining b560313e75 Rewrites SetTempBasalPacketTest with matchers
Issue #2745
2023-10-08 18:16:12 -07:00
Ryan Haining 5bfedf055c Rewrites SetPatchPacketTest with matchers
Issue #2745
2023-10-08 18:13:21 -07:00
Ryan Haining 8f34ca5d89 Rewrites SetBolusPacketTest with matchers
Issue #2745
2023-10-08 18:12:06 -07:00
Ryan Haining efcc9baa66 Rewrites SetBolusMotorPacketTest with matchers
Issue #2745
2023-10-08 18:07:12 -07:00
Ryan Haining a87ba8b708 Rewrites SetBasalProfilePacketTest with matchers
Issue #2745
2023-10-08 18:05:06 -07:00
Ryan Haining 7ebe8e1698 Rewrites ResumePumpPacket with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining 59d81e47de Rewrites ReadBolusStatePacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining 7055ced8db Rewrites PrimePacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining eeb3a84b9c Rewrites PollPatchPacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining 8b85e00953 Rewrites NotificationPacketTest with matchers
Issue #2745
2023-10-08 17:58:09 -07:00