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
fb5f54460d
Merge pull request #2886 from ryanhaining/assertthat_pump_medtrum
...
Rewrites pump/medtrum/ tests with matchers
2023-10-09 12:57:50 +02: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
Ryan Haining
ed726a1d29
Rewrites MedtrumPacketTest with matchers
...
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
764ae29e56
Rewrites GetTimePacketTest with matchers
...
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
568b6cbcc5
Rewrites GetRecordPacketTest with matchers
...
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
3e8455ad2e
Rewrites GetDeviceTypePacketTest with matchers
...
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
d39a23977d
Rewrites CancelTempBasalPacketTest with matchers
...
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
9cb7bed31a
Rewrites ClearPumpAlarmPacketTest with matchers
...
Issue #2745
2023-10-08 17:58:09 -07:00
Ryan Haining
b1a2d20646
Rewrites CancelBolusPacketTest with matchers
...
Issue #2745
2023-10-08 17:58:01 -07:00
Ryan Haining
c95654c0ac
Rewrites AuthorizePacketTest with matchers
...
Issue #2745
2023-10-08 17:53:29 -07:00
Ryan Haining
b83e19ea6a
Rewrites ActivatePacketTest with matchers
...
Issue #2745
2023-10-08 16:44:57 -07:00
Ryan Haining
82731361c6
Rewrites WriteCommandPacketsTest with matchers
...
Issue #2745
2023-10-08 16:42:05 -07:00
Ryan Haining
4653541a7b
Rewrites CryptTest with matchers
...
Also renames "expect" to "expected" since "expect" is a newer kotlin keyword.
Issue #2745
2023-10-08 16:39:34 -07:00
Ryan Haining
4d7897dace
Rewrites MedtrumPumpTest with matchers
...
Issue #2745
2023-10-08 16:37:51 -07:00
jbr7rr
30db06af65
Medtrum: Do not clearAlarms on going to ACTIVE
2023-10-08 19:49:40 +02:00
jbr7rr
ccb7961e50
Medtrum: Option to show notification on non critical pump alerts
2023-10-08 12:16:09 +02:00
jbr7rr
5945aa40ab
Medtrum: Do not spam event bus on bolus progress
2023-10-08 11:48:33 +02:00
jbr7rr
bface2a24d
Medtrum: Patch expiration default to true
2023-10-08 08:41:38 +02:00
Milos Kozak
c9606d8aa4
Merge pull request #2875 from ryanhaining/assertthat_pump_smalldirs
...
Rewrites pump/ tests in directories with few tests with matchers
2023-10-06 22:25:52 +02:00
Milos Kozak
aaaa8b055b
New Crowdin updates ( #2877 )
...
* New translations strings.xml (Russian)
* New translations strings.xml (Russian)
* New translations exam.xml (Russian)
* New translations strings.xml (Russian)
* New translations strings.xml (Slovak)
* New translations strings.xml (Slovak)
* New translations exam.xml (Slovak)
* New translations strings.xml (Slovak)
* New translations strings.xml (Lithuanian)
* New translations strings.xml (Lithuanian)
* New translations exam.xml (Lithuanian)
* New translations strings.xml (Lithuanian)
2023-10-06 22:23:20 +02:00
Ryan Haining
f388285ff5
Rewrites PodInfoResponseTest with matchers
...
Issue #2745
2023-10-05 23:10:32 -07:00
Ryan Haining
89366e54b8
Rewrites AapsOmnipodErosManagerTest with matchers
...
Issue #2745
2023-10-05 22:57:53 -07:00
Ryan Haining
65b5519361
Rewrites AapsErosPodStateManagerTest with matchers
...
Issue #2745
2023-10-05 22:54:57 -07:00
Ryan Haining
df233bbb81
Rewrites OmnipodErosPumpPluginTest with matchers
...
Issue #2745
2023-10-05 22:52:31 -07:00
Ryan Haining
102cac6fa8
Rewrites RFSpyTest with matchers
...
Issue #2745
2023-10-05 22:40:11 -07:00
Ryan Haining
5755ca8fdc
Rewrites VirtualPumpPluginUTest with matchers
...
Issue #2745
2023-10-05 22:27:26 -07:00
Ryan Haining
81514c984b
Rewrites PumpHistoryEntryUTest with matchers
...
Issue #2745
2023-10-05 22:25:05 -07:00
Ryan Haining
94a72c1cd0
Rewrites MedtronicPumpHistoryDecoderUTest with matchers
...
Issue #2745
2023-10-05 22:18:59 -07:00
Ryan Haining
852ad019d7
Rewrites ComboPluginTest with matchers
...
Issue #2745
2023-10-05 22:07:09 -07:00
Milos Kozak
fdc9ac1bf6
Remove no-rNO lang resources
2023-10-04 22:11:53 +02:00
Milos Kozak
9a58705e8d
New Crowdin updates ( #2859 )
...
* New translations strings.xml (Norwegian Bokmal)
* New translations strings.xml (Norwegian Bokmal)
* New translations strings.xml (Norwegian Bokmal)
* New translations alert_codes.xml (Norwegian Bokmal)
* New translations alert_descriptions.xml (Norwegian Bokmal)
* New translations alert_titles.xml (Norwegian Bokmal)
* New translations exceptions.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 (Norwegian Bokmal)
* New translations strings.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 (Norwegian Bokmal)
* New translations strings.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 (Norwegian Bokmal)
* New translations strings.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 (Norwegian Bokmal)
* New translations strings.xml (Norwegian Bokmal)
* New translations strings.xml (Norwegian Bokmal)
* New translations strings.xml (Norwegian Bokmal)
* New translations protection.xml (Norwegian Bokmal)
* New translations validator.xml (Norwegian Bokmal)
* New translations strings.xml (Norwegian Bokmal)
* New translations exam.xml (Norwegian Bokmal)
* New translations objectives.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 (Norwegian Bokmal)
* New translations oh_strings.xml (Norwegian Bokmal)
* New translations strings_alarm.xml (Norwegian Bokmal)
* New translations strings.xml (Norwegian Bokmal)
* New translations arrays.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 (Norwegian Bokmal)
* New translations strings.xml (Norwegian Bokmal)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Norwegian Bokmal)
2023-10-04 22:06:15 +02:00
jbr7rr
734c1bb310
Dash: Fix crash in history
2023-10-03 21:10:05 +02:00
Milos Kozak
1504cfffef
New Crowdin updates ( #2851 )
...
* New translations strings.xml (French)
* New translations strings.xml (French)
* New translations exam.xml (French)
* New translations strings.xml (French)
* New translations strings.xml (Dutch)
* New translations exam.xml (Dutch)
* New translations strings.xml (Dutch)
* New translations exam.xml (Norwegian)
2023-10-03 08:33:57 +02:00
Milos Kozak
87cd4b354f
forgotten namespace
2023-09-27 12:32:47 +02:00
Milos Kozak
9d96219c67
New Crowdin updates ( #2833 )
...
* New translations strings.xml (Dutch)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Norwegian)
* New translations strings.xml (Norwegian)
* New translations strings.xml (Norwegian)
* Update source file exam.xml
* New translations exam.xml (Czech)
* New translations strings.xml (Polish)
* New translations strings.xml (Polish)
* New translations exam.xml (Polish)
* New translations strings.xml (Polish)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations exam.xml (Romanian)
* New translations objectives.xml (Romanian)
* New translations strings.xml (Turkish)
* New translations strings.xml (Romanian)
* New translations strings.xml (Turkish)
* New translations exam.xml (Turkish)
* New translations objectives.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations oh_strings.xml (Romanian)
* New translations strings_alarm.xml (Romanian)
* New translations strings.xml (Romanian)
* New translations strings.xml (Turkish)
* New translations arrays.xml (Romanian)
* New translations strings.xml (Romanian)
2023-09-27 11:56:19 +02:00
Milos Kozak
ffdd07b61a
cleanup
2023-09-27 11:27:55 +02:00
Milos Kozak
d3e6fb0df9
:pump:virtual cleanup
2023-09-27 09:30:12 +02:00
Milos Kozak
38d3c0cc31
remove dependency
2023-09-26 21:51:59 +02:00
Milos Kozak
1681ee558d
:database:impl cleanup
2023-09-26 20:35:00 +02:00
Milos Kozak
aa010a03b2
:implementation cleanup
2023-09-25 23:14:05 +02:00
Milos Kozak
2200ce0afb
:database:entities cleanup
2023-09-25 18:01:31 +02:00
Milos Kozak
b982afbb49
:core:validators cleanup
2023-09-25 13:28:15 +02:00
Milos Kozak
ea9132bbe3
:core:utils cleanup
2023-09-25 12:34:13 +02:00
Milos Kozak
d7d01a0b3e
:core:ui cleanup
2023-09-25 11:58:24 +02:00
Milos Kozak
e5f3545cd3
:core:interfaces unify package
2023-09-24 22:55:31 +02:00
Milos Kozak
2c5e2e3951
:core:main cleanup
2023-09-24 22:05:21 +02:00
Milos Kozak
405fc985a8
Merge remote-tracking branch 'ns/compileSdk34' into dev
2023-09-24 14:58:24 +02:00
Milos Kozak
31926f8835
:core:interfaces cleanup
2023-09-24 14:55:26 +02:00
Milos Kozak
bdfa4a98fc
New Crowdin updates ( #2823 )
...
* New translations strings.xml (Spanish)
* New translations strings.xml (Spanish)
* New translations strings.xml (Spanish)
* New translations strings.xml (Czech)
* New translations strings.xml (Czech)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Czech)
2023-09-24 12:22:26 +02:00
Milos Kozak
8e885ef00e
Merge pull request #2831 from jbr7rr/medtrum-fixes
...
Medtrum: Fix setting timezone GMT + 13 and larger
2023-09-24 11:01:58 +02:00
jbr7rr
dc71478b69
Medtrum: Fix setting timezone GMT + 13 and larger
2023-09-24 10:32:31 +02:00
Ryan Haining
d3c8cd090a
Replaces AapsOmnipodErosManagerTest assertThrows with assertFailsWith
...
Related to #2745
2023-09-23 16:51:18 -07:00
Ryan Haining
de5040a983
Replaces PodInfoResponseTest assertThrows with an isNotInstance
...
Related to #2745
2023-09-23 16:50:44 -07:00
Ryan Haining
88c38b8049
Replaces FunctionsTest assertThrows with assertFailsWith
...
Related to #2745
2023-09-23 16:33:17 -07:00
Milos Kozak
a2cc934ea2
New Crowdin updates ( #2814 )
...
* New translations strings.xml (Russian)
* New translations strings.xml (Norwegian)
* New translations strings.xml (Norwegian)
* Update source file strings.xml
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hebrew)
* New translations strings.xml (Hebrew)
* New translations objectives.xml (Hebrew)
2023-09-23 22:42:23 +02:00
Milos Kozak
3319f561eb
Merge pull request #2819 from jbr7rr/medtrum-fixes
...
Medtrum improvements
2023-09-23 22:42:13 +02:00
Milos Kozak
a0b4fbcd21
OpenForTesting cleanup
2023-09-23 15:51:12 +02:00
Milos Kozak
f42bc33e6d
fix tests
2023-09-23 14:10:44 +02:00