Commit graph

916 commits

Author SHA1 Message Date
Milos Kozak
d898a374e6 fix tests, removed Trigger reflection 2021-04-10 14:36:55 +02:00
Milos Kozak
e4d70a7303 fix tests 2021-04-10 12:56:54 +02:00
Philoul
22dfea652d RRemove unused injection and try to fix tests...
It works for LoopPluginTest, but not for ClassicPrefsFormatTest as many other... (don't know if it's my config or not)
2021-04-06 23:58:54 +02:00
Milos Kozak
2463f8fc47 ExtendedBolus, TemporaryBasal -> room, DanaRS working 2021-04-05 22:41:28 +02:00
Milos Kozak
46793abbfc Treatment cleanup 2021-04-01 18:14:31 +02:00
Milos Kozak
699413dd6f fix tests 2021-04-01 00:37:15 +02:00
Milos Kozak
e9f4f87894 Remove Tratment.class where possible 2021-03-30 19:37:26 +02:00
Milos Kozak
cb298a2646 eliminate treatments cache from TreatmentsPlugin 2021-03-29 19:15:46 +02:00
Milos Kozak
7f0fe881b6 DetailedBolusInfo, MealLink UI 2021-03-25 17:48:07 +01:00
Milos Kozak
616871c95c prepare DetailedBolusInfo 2021-03-22 16:59:09 +01:00
Milos Kozak
8ec991c3d7 LoopPluginTest without powermock 2021-03-21 14:05:05 +01:00
AdrianLxM
7d2e364c77 use UploadQueue through interface 2021-03-19 21:35:09 +01:00
Milos Kozak
c28fb465fb Merge remote-tracking branch 'ns/dev' into careportal 2021-03-08 20:27:53 +01:00
Milos Kozak
6c072dbe6e
Merge pull request #402 from nightscout/adrian/cleanup-glucosestatus
Refactor GlucoseStatusProvider out of GlucoseStatus
2021-03-08 20:20:10 +01:00
Milos Kozak
8db8edc3f6 Careportal -> Room 2021-03-08 20:10:02 +01:00
AdrianLxM
3cb07c215e Refactor GlucoseStatusProvider out of GlucoseStatus 2021-03-07 20:22:03 +01:00
Milos Kozak
bcfa449ec8 lints 2021-03-07 19:26:08 +01:00
Milos Kozak
658f565cf2 Notofocation -> kt 2021-03-07 17:46:21 +01:00
Milos Kozak
b9e50885a8 Constraint -> kt 2021-03-07 14:22:50 +01:00
Milos Kozak
2ea423c704 PumpEnactResult -> kt 2021-03-07 13:31:11 +01:00
Milos Kozak
72176edfb9 core -> kt, move tests to core 2021-03-07 00:49:18 +01:00
Milos Kozak
05d5f8217c fix tests 2021-03-01 17:22:12 +01:00
Milos Kozak
3b5b945fea TemporaryTarget -> room database 2021-03-01 12:42:42 +01:00
Milos Kozak
07bf16b07b rename core strings 2021-02-22 18:04:30 +01:00
Milos Kozak
a0632f7753 automation module 2021-02-22 17:22:30 +01:00
Milos Kozak
0322dd48ac insight -> lib 2021-02-21 18:03:26 +01:00
Milos Kozak
32873e0730 combo -> new lib 2021-02-21 14:34:31 +01:00
Milos Kozak
051cbe7870
Merge pull request #348 from nightscout/jacoco2
Jacoco, tests and gradle cleanup
2021-02-19 19:53:24 +01:00
Milos Kozak
aae0c03ae4
Merge pull request #333 from nightscout/adrian/system-carb-timer
Adrian/system carb timer
2021-02-19 16:21:33 +01:00
Milos Kozak
b6788d210b Dana module test & lints 2021-02-19 10:29:35 +01:00
Milos Kozak
5bf99ce8fc tests lints 2021-02-19 09:39:01 +01:00
Milos Kozak
f20a1efe74 DanaR tests migration 2021-02-19 00:47:22 +01:00
Milos Kozak
f3fb533cf0 fix tests and dependencies 2021-02-18 21:38:36 +01:00
Milos Kozak
738964faef move RS tests 2021-02-18 20:45:32 +01:00
Milos Kozak
6022bf8fb2 add jacoco to dana modules 2021-02-18 18:54:01 +01:00
Milos Kozak
8562a3e481 more test to core 2021-02-18 18:12:39 +01:00
Milos Kozak
6d32516aec move test to core 2021-02-18 17:01:41 +01:00
Milos Kozak
2b3fcc60f0 more CommandQueue tests 2021-02-17 20:15:45 +01:00
Milos Kozak
531c74de6a use fun instead of val in pump interface 2021-02-17 19:28:43 +01:00
Milos Kozak
749bc49ad5 more CommandQueue tests 2021-02-17 09:26:17 +01:00
Milos Kozak
341a536011 PumpInterface -> kt 2021-02-16 21:30:47 +01:00
Milos Kozak
beb02e9aad QueueThread -> kt 2021-02-16 19:22:43 +01:00
AdrianLxM
0457c1bf70 fix tests and switch icon and checkbox 2021-02-16 19:03:38 +01:00
Milos Kozak
6f3266e845 IobCobCalculatorPlugin -> kt 2021-02-16 13:48:59 +01:00
Milos Kozak
3de003b6ea fix tests 2021-02-14 21:17:08 +01:00
Milos Kozak
ed9c8a1d05 LoopPlugin -> kt 2021-02-14 14:14:10 +01:00
Milos Kozak
d1a647830f update mockito 2021-02-11 23:33:22 +01:00
Milos Kozak
7a8de9221b fix tests 2021-02-11 23:17:22 +01:00
Milos Kozak
341bfdcdfa test libs update 2021-02-11 20:52:57 +01:00
Milos Kozak
7506c7e2ab remove findbug 2021-02-11 18:10:14 +01:00
Milos Kozak
887819edf4 eliminate BgReading::class in favor of GlucoseValue::class 2021-02-08 10:05:21 +01:00
Milos Kozak
cfe23cef96 AapsSchedulers 2021-02-04 20:54:09 +01:00
Milos Kozak
bfd33502e6 fix tests 2021-02-03 12:03:46 +01:00
Milos Kozak
c353da5767 fix tests 2021-02-02 23:30:11 +01:00
Milos Kozak
9e2fb90bb7 fix tests 2021-01-18 17:40:37 +01:00
Milos Kozak
8a683ee571 fix test 2021-01-17 13:15:23 +01:00
Milos Kozak
6c97fe0460 test 2021-01-02 10:45:57 +01:00
Milos Kozak
c46812f8c0 test debug 2021-01-02 10:25:21 +01:00
Milos Kozak
4c64e9b748 test debug 2021-01-01 23:52:44 +01:00
Milos Kozak
f9ec47010e fix test 2020-12-28 23:45:53 +01:00
Milos Kozak
f5f4c655c5 ActionAlarm 2020-12-14 13:52:47 +01:00
Milos Kozak
4d02587bb7 AutomationEvent new options, automation jetpack bindings 2020-12-14 12:46:38 +01:00
Philoul
096aa008bc New TempTarget icons
Refactor to delete redundant icons
2020-12-09 20:59:43 +01:00
Milos Kozak
a5d9d25564
Merge pull request #98 from Rig22/pump_icons
SVG Icons for pumps fragment tab
2020-12-07 21:20:11 +01:00
osodebailar
634efad48f extend Plugin with icon resource for menue and config builder. Integrate plugin icon for pump selection into config builder 2020-12-07 18:51:16 +01:00
Milos Kozak
b576117794 fix tests 2020-12-06 15:27:20 +01:00
Milos Kozak
d556678507 fix tests 2020-12-06 15:26:59 +01:00
Milos Kozak
30624053e3 transfer overview configuration to NSClient 2020-12-04 17:55:35 +01:00
Milos Kozak
85104c3c9d fix tests 2020-11-29 11:56:24 +01:00
Milos Kozak
3f77496c88 automated copy of configuration AAPS -> NSCLIENT 2020-11-27 16:46:33 +01:00
Bart Sopers
26c3b66e7c Fix test dependency 2020-11-22 21:49:27 +01:00
Sam Spycher
05db583a08 match test string with translation 2020-10-19 14:23:30 +02:00
Sam Spycher
31bbb69c02 Remove String.format usage 2020-10-19 13:59:03 +02:00
Sam Spycher
b355511f33 Validate durationStep from tbrSettings in Pumptype when setting TBR via SMS
Fixes nightscout/AndroidAPS#38
2020-10-16 18:27:04 +02:00
Milos Kozak
cbdee2b81b
Merge pull request #7 from AAPS-Omnipod/omnipod_eros_dev_upstream_merge
Latest Omnipod updates + custom queue commands
2020-10-02 09:40:45 +02:00
Milos Kozak
05125af9e7 Lyumjev 2020-10-01 18:48:32 +02:00
Bart Sopers
50c3ec702c Merge branch 'omnipod_eros_dev_upstream_merge' into omnipod_eros_dev 2020-09-24 23:13:46 +02:00
Milos Kozak
eb8203cba7 change test 2020-09-24 14:44:26 +02:00
Milos Kozak
1da8106b41 update test 2020-09-24 12:16:36 +02:00
Bart Sopers
adb26b3ccf Move CustomCommand interface to queue.commands package 2020-09-14 19:59:20 +02:00
Bart Sopers
06c5999807 Minor improvements on previous commit 2020-09-14 19:52:56 +02:00
Bart Sopers
feecfc5676 - Add custom queue command mechanism to replace abusing getPumpStatus for this purpose
- Display error and confirmation dialog for commands executed from the Omnipod tab
- Improve Exception logging in AapsOmnipodManager
- A few random improvements and bug fixes
2020-09-14 16:19:09 +02:00
Bart Sopers
b5c46e3bcf WIP on moving Omnipod to a separate module 2020-08-16 23:54:41 +02:00
Bart Sopers
a3cb8ff648 Merge remote-tracking branch 'upstream/dev' into omnipod_eros_dev_merge_from_upstream 2020-08-16 12:37:28 +02:00
Bart Sopers
59ad718969 Remove SetupProgress enum in favor of PodProgressStatus, which comes directly from the Pod 2020-08-15 11:23:45 +02:00
Milos Kozak
242e8d2150 fix tests 2020-08-14 17:05:29 +02:00
Bart Sopers
4724cf6048 Fix AapsPodStateManagerTest 2020-08-09 20:27:21 +02:00
Philoul
b70c6c9f1b Update BGSourceFragment
Arrow color a little bit lighter than text (don't find exact text color)
Default color for arrows swtiched to white
2020-08-09 10:49:54 +02:00
Bart Sopers
b50670cceb Replace PodState with PodStateManager 2020-08-08 18:16:37 +02:00
Andy Rozman
20e2bf0b06 Merge branch 'dev' into medtronic_modules 2020-07-31 11:21:05 +01:00
Milos Kozak
ed969300ef fix tests 2020-07-27 22:27:47 +02:00
Andy Rozman
6ad35510f3 - moved tests
- some other minor changes
2020-07-26 14:36:00 +01:00
Andy Rozman
996417bb47 Merge branch 'dev' into medtronic_modules 2020-07-25 00:44:09 +01:00
Milos Kozak
1015158e8b fix test 2020-07-15 23:31:32 +02:00
Andy Rozman
6e50c3651d Merge branch 'dev' into medtronic_modules 2020-07-12 20:21:03 +01:00
Andy Rozman
ea80eb3c9b - created 2 modules: rileylink and medtronic
- refactored some classes
2020-07-12 20:15:11 +01:00
Milos Kozak
16c167ee7b fix test 2020-07-09 15:16:52 +02:00
Milos Kozak
b02992e46b fix tests 2020-07-03 21:07:20 +02:00
Milos Kozak
a934677f51 fix tests 2020-07-02 23:04:09 +02:00
Milos Kozak
5104dc1416 fix tests 2020-06-26 12:25:29 +02:00
Philoul
d55c9d9ff6 Update Layout and code with new icons 2020-06-19 14:24:31 +02:00
Philoul
5c2c8b5190 Safe Delete done
Forgotten usage added
2020-06-16 19:46:42 +02:00
Philoul
87f7dc0422 Delta added and clone lightened 2020-06-15 19:15:06 +02:00
Philoul
acfd9621b7 replace 4 LowRes Icons (add, remove, clone and as)
For add, remove and clone I set width and height to 16dp (automatically scaled in Local Profile layout but not in automation)
for as, I replaced low res icon by double arrows of overview fragment (size a little bit increased because in automation icons are very small)
2020-06-15 16:48:35 +02:00
Philoul
5ef52ea90f Some new vector icons again 2020-06-13 17:37:52 +02:00
Philoul
d3e98fb09b Create vector icon to replace png 2020-06-12 22:17:15 +02:00
Milos Kozak
e09fd75a9b
Merge pull request #2680 from Lexsus/dev_Milos
add PUMP CONNECT and PUMP DISCONNECT commands
2020-06-11 14:14:39 +02:00
Milos Kozak
fbb15cac70 fix tests 2020-06-02 22:47:32 +02:00
Lexsus
4af06620fb add tests for PUMP DISCONNECT sms command 2020-05-29 19:15:11 +03:00
Lexsus
9a1993c5f6 corrections.
add some test for sms commands
2020-05-28 17:33:51 +03:00
Milos Kozak
c5aa12c5ba double SMB fix 2020-05-26 19:58:50 +02:00
Milos Kozak
8a731a9187 SMSCommunicator LOOP command auth 2020-05-24 23:40:51 +02:00
Milos Kozak
c1c87b2e30 fix TriggerRecurringTimeTest 2020-05-24 19:42:58 +00:00
Milos Kozak
0a33f4c0db fix TriggerRecurringTime #2 2020-05-24 21:10:44 +02:00
Milos Kozak
1cb648c09a fix TriggerRecurringTime 2020-05-24 20:23:22 +02:00
Milos Kozak
e053d3601d regional independent test 2020-05-20 19:53:16 +02:00
Milos Kozak
58a7188ec3 RS hwver 7 2020-05-19 19:27:31 +02:00
Milos Kozak
903555ed9f Dana msg refactor 2020-05-12 23:33:42 +02:00
Milos Kozak
5dea964b89 final dana renaming 2020-05-11 16:58:59 +02:00
Milos Kozak
54e68ef248 clean up 2020-05-10 11:49:37 +02:00
Milos Kozak
311f9dd119 danar module 2020-05-10 11:03:19 +02:00
Milos Kozak
a99be409eb dana module 2020-05-09 20:18:12 +02:00
Milos Kozak
040c76d839 move pass 1 2020-05-08 14:59:30 +02:00
Milos Kozak
61a077542c DanaRPump -> danars 2020-05-08 11:56:02 +02:00
Milos Kozak
73d132649d fix tests 2020-05-08 11:37:14 +02:00
Milos Kozak
67b4be6963 Merge remote-tracking branch 'origin/dev' into rs2 2020-05-08 11:08:45 +02:00
Milos Kozak
25bf92300b Merge remote-tracking branch 'origin/dev' into dev2 2020-05-07 23:44:46 +02:00
Milos Kozak
70e9d3e88a fix tests 2020-05-07 23:40:59 +02:00
Bart Sopers
c1fc6d4864 Merge branch 'dev' into omnipod_eros_dev 2020-05-07 21:11:12 +02:00
Milos Kozak
120c526b80 move to core 2020-05-07 09:54:36 +02:00
Milos Kozak
25c1100330 Merge remote-tracking branch 'origin/dev' into rs 2020-05-05 22:49:49 +02:00
Dominik Dzienia
9a3cc5af82 Adds support for preferences directory, list of preferences to import, additional check on imported preferences metadata 2020-05-05 18:42:53 +02:00
Bart Sopers
d78b921b1f Fix test case 2020-05-05 00:39:20 +02:00
Bart Sopers
7fa1ebfe38 Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_dagger_with_initialization_fixes 2020-05-05 00:15:44 +02:00
Bart Sopers
5e3e947d8e Restore more formatting 2020-05-04 23:55:01 +02:00
Bart Sopers
e7fe05dbeb Restore more formatting 2020-05-04 23:52:51 +02:00
Bart Sopers
1bdc474b51 Properly ignore PodSessionState test cases 2020-05-04 23:52:44 +02:00
Bart Sopers
d8eb777b4c Restore more formatting 2020-05-04 23:36:00 +02:00
Bart Sopers
1798d260eb Merge branch 'dev' into omnipod_eros_dev_dagger_history_fix 2020-05-04 17:36:29 +02:00
Milos Kozak
22d8b6bcff Merge remote-tracking branch 'origin/dev' into rs 2020-05-03 15:37:02 +02:00
Bart Sopers
e01ac6f6be Fix failing Omnipod test cases 2020-05-03 13:37:50 +02:00
Bart Sopers
a0b4e0c7ce Update PodProgressStatus values to match Omnikit Wiki 2020-05-03 12:59:24 +02:00
Andy Rozman
7df0bdd82c - removed tests, they need to be reworked 2020-05-03 11:59:09 +01:00
Andy Rozman
97ca0a2a2f - fixed test 2020-05-03 11:35:47 +01:00
Andy Rozman
91b3b67104 - fix the test 2020-05-03 11:01:40 +01:00
Andy Rozman
634042b40d - omnipod eros driver and REQUIRED changes 2020-05-02 21:49:15 +01:00
Andy Rozman
037d9e88df Merge branch 'dev' into omnipod_eros_dev_dagger 2020-05-02 15:30:59 +01:00
Tim Gunn
5048111d1d
Merge branch 'dev' of github.com:MilosKozak/AndroidAPS into LGS 2020-05-02 21:53:59 +12:00
Andy Rozman
ce48bba868 Merge branch 'dev' into omnipod_eros_dev_dagger
Added Module Omnipod
2020-05-02 10:52:52 +01:00
Tim Gunn
40519b92a2
Fix further tests 2020-05-02 21:22:21 +12:00
Milos Kozak
9efbbd3c17 clanup 2020-05-02 10:49:55 +02:00
Tim Gunn
4c2fdef71a
Fix tests 2020-05-02 19:13:16 +12:00
Tim Gunn
0bbdca3b4a
Add test 2020-05-02 14:50:53 +12:00
Milos Kozak
25cc09ec26 Merge remote-tracking branch 'origin/dev' into rs 2020-04-30 18:40:28 +02:00
Milos Kozak
585b45fb97 MainApp cleanup 2020-04-30 18:39:52 +02:00
Milos Kozak
18820441a4 remove some deprecated calls 2020-04-30 10:55:10 +02:00
Milos Kozak
a5108ca4c4 RS injection refactor 2020-04-29 23:27:48 +02:00
Andy Rozman
b1a220499d Merge branch 'dev' into omnipod_eros_dev_dagger
Refcator omnipod to work with Dagger - Phase 2
2020-04-29 16:40:53 +01:00
Milos Kozak
90f08279d3 Merge remote-tracking branch 'origin/dev' into rs 2020-04-29 00:07:25 +02:00
Bart Sopers
b515fbae92 Update VersionResponse 2020-04-28 23:11:32 +02:00
Milos Kozak
7b773ae800 remove unused test 2020-04-27 23:32:54 +02:00
Bart Sopers
ed1efe8944 Properly decode non-nonce error responses and some renaming/cleanup 2020-04-27 22:30:51 +02:00
Milos Kozak
30e7f8ed38 MDT refactor pass 8 2020-04-27 14:30:38 +02:00
Andy Rozman
54354fad89 Merge branch 'dev' into omnipod_eros_dev_dagger 2020-04-26 19:00:49 +01:00
Milos Kozak
c0f6f1a5e9 remove unused tests 2020-04-26 17:01:31 +02:00
Andy Rozman
a805f5b827 Merge branch 'dev' into omnipod_eros_dev_dagger 2020-04-26 11:17:15 +01:00
Milos Kozak
777dd9f91d
Merge pull request #2596 from AAPS-Omnipod/dagger_omnipod_common
Dagger omnipod common
2020-04-26 10:51:54 +02:00
Milos Kozak
6e83f9e153 fix tests 2020-04-26 10:24:25 +02:00
Andy Rozman
973403e944 - changes from omnipod tree
- changed PumpInterface for TimeDateOrTZChangeReceiver changes, and changes on all the pumps (method name and parameters)
    - some RL changes
    - added something to profile
2020-04-25 21:10:58 +01:00
Andy Rozman
387a134795 Merge branch 'dev' into omnipod_eros_dev_dagger 2020-04-25 16:55:07 +01:00
Milos Kozak
edcc95a5bc Refactor deprecated 2020-04-25 17:20:12 +02:00
Milos Kozak
29f71f283d Merge remote-tracking branch 'origin/dev' into rs 2020-04-24 23:03:46 +02:00
Milos Kozak
752a49573c ConfigBuilder refactor 2020-04-24 22:39:56 +02:00
Andy Rozman
f5b43454eb -dd 2020-04-24 12:11:16 +01:00
Andy Rozman
a3b0c8ce3b - changed code to use dagger 2020-04-24 11:00:31 +01:00
Milos Kozak
7b4cba14d1 Merge remote-tracking branch 'origin/dev' into rs 2020-04-23 23:54:21 +02:00
Bart Sopers
37c1d30ecc Merge branch 'omnipod_eros_dev' of https://github.com/AAPS-Omnipod/AndroidAPS into omnipod_eros_dev 2020-04-23 01:21:19 +02:00
Andy Rozman
37590338ff Merge branch 'omnipod_eros_dev' of https://github.com/AAPS-Omnipod/AndroidAPS into omnipod_eros_dev 2020-04-22 12:53:02 +01:00
Andy Rozman
4d408f55b9 - Date change for RL History 2020-04-22 12:52:25 +01:00
Milos Kozak
1481755bc8 tests 2020-04-21 22:33:48 +02:00
Milos Kozak
164a092857 Merge remote-tracking branch 'origin/dev' into rs 2020-04-20 21:02:47 +02:00
Milos Kozak
ccfe03e177 abs insulin tests 2020-04-20 19:27:54 +02:00
Bart Sopers
355b833cb2 Rename ConfigurePod* classes to SetupPod* 2020-04-19 23:44:56 +02:00
Milos Kozak
f595560baa RS insulin and canula change logging 2020-04-19 12:57:08 +02:00
Bart Sopers
836bc62c65 Fix test and remove some unused classes in Omnipod driver 2020-04-18 19:51:28 +02:00
Milos Kozak
453a55db7b Merge remote-tracking branch 'origin/dagger3' into rs 2020-04-07 13:15:06 +02:00
Milos Kozak
61acfb8c92 Fix tests 2020-04-07 12:09:12 +02:00
Milos Kozak
4c0601bf46
Merge pull request #2555 from Tornado-Tim/refractor-algo
Refactor Algorithms (MA removal)
2020-04-07 11:59:11 +02:00
Dominik Dzienia
9dca938698 Refactored CryptoUtil to make it injectable and more testable
Added checks for vanilla JVM AES 256 issues in tests
2020-04-06 23:48:25 +02:00
Tim Gunn
bebe9015e8
Remove MA 2020-04-06 22:00:17 +12:00
Milos Kozak
a8d76cef4c fix SmsPluginCommunicatorTest 2020-04-06 10:36:08 +02:00
Milos Kozak
0d89262dfa fix SmsPluginCommunicatorTest 2020-04-06 10:35:00 +02:00
Andy Rozman
88554ee376 Merge branch 'dev' into omnipod_eros_dev 2020-04-04 20:25:09 +01:00
Milos Kozak
013018ac7b Merge remote-tracking branch 'origin/dagger3' into rs 2020-04-02 22:06:17 +02:00
Milos Kozak
dbc199d00c Merge branch 'dagger3' of https://github.com/MilosKozak/AndroidAPS into dagger3 2020-04-02 18:48:49 +02:00
Milos Kozak
615b025600 Merge branch 'pull/2542' into dagger3 2020-04-02 18:48:37 +02:00
Dominik Dzienia
1c97f8a720 Preferences Encryption:
- encrypted JSON format support
 - using master password & password prompt
- refactored alerts
2020-04-01 13:59:10 +02:00
Milos Kozak
295ae79d20 Merge remote-tracking branch 'origin/dagger3' into rs 2020-03-31 21:16:37 +02:00
Milos Kozak
5b539fd906 remove unused code 2020-03-31 21:16:18 +02:00
Milos Kozak
6b80645e06 ChargingStateReceiver refactor 2020-03-31 20:22:32 +02:00