Roumen Georgiev
3f1f199690
renamed to TriggerPumpLastConnection
2019-10-07 10:45:26 +03:00
Milos Kozak
b108f1fa78
Merge branch 'dev' into triggerPumpDisconnected
2019-10-04 19:34:54 +02:00
Roumen Georgiev
c8443f1095
TriggerPumpDisconnected: Initial work
2019-10-04 15:16:57 +03:00
Roumen Georgiev
e12217ae69
Copy&paste from ActionNotification
2019-10-04 10:55:33 +03:00
Milos Kozak
98f874d1fe
use bolus size is DetailedBolusInfo search
2019-10-03 21:21:12 +02:00
Milos Kozak
c44101ce76
Merge pull request #2089 from PoweRGbg/ChangeProfileAction
...
Automation ActionCahangeProfile
2019-10-02 16:33:58 +02:00
Milos Kozak
ac69d1069e
Merge pull request #2017 from PoweRGbg/TriggerTOD
...
Trigger for time of day
2019-10-02 14:41:24 +02:00
Roumen Georgiev
7406577546
better test coverage & some cleanup
2019-10-02 14:37:00 +03:00
Roumen Georgiev
157028c4fd
initial work
2019-10-02 10:54:04 +03:00
Milos Kozak
0139547499
fix test
2019-10-01 23:34:09 +02:00
Milos Kozak
c1109a5b41
QuickWizard cleanup, -> kotlin
2019-10-01 15:00:19 +02:00
Milos Kozak
20a2d84a0a
Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev
2019-10-01 14:56:21 +02:00
Milos Kozak
2d395b625e
Do not allow too low max basal
2019-10-01 11:46:54 +02:00
Milos Kozak
4642f0ab5b
EventNewNotification, EventDismissNotification -> RxBus
2019-10-01 00:00:22 +02:00
Milos Kozak
d2d4d5054f
better check for finishing objectives
2019-09-30 14:39:57 +02:00
PoweRGbg
b277fc872c
passing long as lastrun
2019-09-27 15:56:40 +03:00
PoweRGbg
0cc3df589f
another try to fix test
2019-09-27 15:25:47 +03:00
Roumen Georgiev
f901c956e5
fixed problem with incorrect string values and test
...
setTimeInMillis sets time in milliseconds after * January 1, 1970, 0:00:00 GMT., but our time contains timezone offsset
2019-09-27 12:19:19 +03:00
Milos Kozak
2f1bfc8f66
Merge branch 'dev' into TriggerTOD
2019-09-25 15:00:56 +02:00
Roumen Georgiev
e7953b33af
fix tests
2019-09-16 12:31:51 +03:00
Bart Sopers
b9d0c8f875
Merge branch 'dev' into omnipod_eros_bart
2019-09-16 00:59:32 +02:00
Roumen Georgiev
68b6591f42
fix tests
2019-09-12 12:08:36 +03:00
Roumen Georgiev
d525c3f220
Merge branch 'dev' into TriggerTOD
2019-09-10 10:30:20 +03:00
Roumen Georgiev
e3d7d4cb67
fixed name and tests
2019-09-10 10:01:36 +03:00
Milos Kozak
a3bc942cd7
R: handle not received time, refactor to kotlin, unify SerialIOThread
2019-09-08 14:17:41 +02:00
Milos Kozak
99a8c94cff
fix tests
2019-09-05 21:42:02 +02:00
Roumen Georgiev
2a80477bb5
tests
2019-09-04 16:48:32 +03:00
Milos Kozak
a75312eea0
ObjectivesPlugin -> kotlin
2019-09-02 23:54:47 +02:00
Bart Sopers
d14789cf02
Apply new understandings of beep types
2019-09-01 23:30:11 +02:00
Milos Kozak
0de7413427
use constants in objectives
2019-09-01 09:59:34 +02:00
Andy Rozman
86a7117e63
Merge branch 'dev' into omnipod_eros_andy
2019-08-30 10:51:19 +01:00
Milos Kozak
66512dbe38
limit TT values
2019-08-27 20:16:51 +02:00
Milos Kozak
e6ae4f03d5
fix limit values in InputBg
2019-08-27 19:07:05 +02:00
Milos Kozak
06d69ea252
fix test
2019-08-24 17:43:21 +02:00
Bart Sopers
aa15c80924
Add files from Omnipod test app
2019-08-11 22:59:18 +02:00
Milos Kozak
9e962b953f
eliminate PluginSwitcher
2019-08-06 02:34:57 +02:00
Milos Kozak
84ecb92771
lint recommendations
2019-07-27 19:56:07 +02:00
Milos Kozak
c0116b744e
remove failing test
2019-07-25 20:07:32 +02:00
Milos Kozak
09270f36bf
Merge branch 'dev' into automation
2019-07-25 16:17:16 +02:00
Andy Rozman
dbc527605b
- disabled test
2019-07-25 14:49:43 +01:00
Milos Kozak
e539dbc112
fix tests, use location form service
2019-07-22 16:58:25 +02:00
Milos Kozak
77d7f1ca65
Merge branch 'automation' of https://github.com/MilosKozak/AndroidAPS into automation
2019-07-22 16:28:57 +02:00
Milos Kozak
2ee8467243
Merge pull request #1880 from PoweRGbg/automationTests
...
more Automation tests
2019-07-22 09:54:59 +02:00
Roumen Georgiev
4cc556b1cb
TriggerRecurringTime tests
2019-07-19 14:19:54 +03:00
Roumen Georgiev
04c3236258
increase coverage in TriggerTime
2019-07-19 11:57:30 +03:00
Roumen Georgiev
7b3d2d4372
TriggerLocation tests
2019-07-19 10:50:30 +03:00
Milos Kozak
d25f6f07b0
migrate to kotlin, remove butterknife, code claeanup
2019-07-18 23:49:59 +02:00
Andy Rozman
5379b1af88
- removed tests (they are not real tests yet)
2019-07-18 18:24:10 +01:00
Milos Kozak
1c8aae9757
fix tests
2019-07-16 22:35:46 +02:00
Milos Kozak
c4ba821dc1
Merge branch 'dev' into automation
2019-07-14 20:00:42 +02:00
Milos Kozak
8c2c2b21ea
Merge branch 'dev' into medtronic_andy_merge
2019-07-14 19:50:07 +02:00
Milos Kozak
d7a28bf713
Session test
2019-07-14 16:11:27 +01:00
Andy Rozman
400a336137
- Removed test
2019-07-13 20:29:20 +01:00
Andy Rozman
2c07bc4c3b
- Removed test
2019-07-13 19:55:14 +01:00
Andy Rozman
094d81c5ce
- Fixed wrong UTest
2019-07-13 19:52:31 +01:00
Andy Rozman
675dcc1b5b
Fixes:
...
- removed unneeded classes and xml
- some fixes: MedtronicUtil, using different method to determine if pump driver is selected
2019-07-13 19:15:44 +01:00
Milos Kozak
f5c22a33ff
icons
2019-07-11 18:56:50 +01:00
Milos Kozak
4df1127a8c
jetpack compliance, code cleanup, extracted resources
2019-07-11 18:18:05 +01:00
Andy Rozman
992f69daaa
medtronic-0.12.0-SNAPSHOT
...
- Merge branch 'dev' into medtronic_andy
2019-07-05 14:18:28 +01:00
Milos Kozak
829ef9b6ad
fix test import
2019-07-05 00:49:41 +01:00
Milos Kozak
c0345ce56c
Merge branch 'dev' into automation
2019-07-04 23:37:36 +01:00
Milos Kozak
61097b3ac6
Merge branch 'dev' into sdk28
2019-07-04 20:06:09 +01:00
Andy Rozman
32fad688fc
Merge branch 'dev' into medtronic_andy
2019-06-25 14:50:41 +01:00
Milos Kozak
7e8059c3d8
Merge branch 'automation' into triggerLastBolus
2019-06-21 15:34:06 +02:00
Milos Kozak
a9d8420451
Merge branch 'automation' into deltaTrigger
2019-06-21 15:22:40 +02:00
AdrianLxM
45805ed410
BolusWizard privacy
2019-06-21 13:23:37 +02:00
Roumen Georgiev
ca60ed9ca8
add L.class to test
2019-06-20 13:15:59 +03:00
Roumen Georgiev
046e2b7495
added triggerCob
2019-06-20 11:12:03 +03:00
Roumen Georgiev
453faf736d
fix test
...
moved the when().thenReturn to setReadings
2019-06-19 16:59:34 +03:00
Roumen Georgiev
15f6a577c2
trigger bolusAgo
2019-06-19 14:58:13 +03:00
Roumen Georgiev
f8b3878899
icon
2019-06-19 12:11:10 +03:00
Tebbe Ubben
5af80ceb02
Support for new Dexcom app
2019-06-19 01:38:55 +02:00
Roumen Georgiev
3f86788eb4
Added DeltaType tests and negative delta values allowed
2019-06-18 14:47:44 +03:00
Roumen Georgiev
b9ddbe7011
tests
2019-06-18 10:56:27 +03:00
Roumen Georgiev
f15ead9c6f
fixed tests and added DeltaType testing
2019-06-17 16:49:57 +03:00
Andy Rozman
c460d1d3ef
- Process Suspend delivery items
2019-06-16 20:12:10 +01:00
Milos Kozak
09e4106182
BolusWizard -> kt, code consolidation
2019-06-16 09:00:47 +02:00
Andy Rozman
a19d71df89
0.10.5-SNAPSHOT
...
- added custom comnand for reseting RL configuration
- removed guava Splitter and use my own code
- remove old unsused code
2019-06-09 16:58:23 +01:00
Roumen Georgiev
116865896b
Automation ( #69 ) ( #70 )
...
* Adding trigger AutosensValue
* new trigger and tests
* AS value in %
* adding tests
* fixed tests
* fix for maxValue and tests
* Using InputDouble
* icon added
* unavailable data and IS_NOT_AVAILABLE case
* Fixing after comments
* Autosens !=0 && IS_NOT_AVAILABLE doesn't exist enymore
* cleanup
2019-06-03 15:06:40 +03:00
Andy Rozman
43c472da17
0.10.4-SNAPSHOT
...
- fixed Tune up
- displaying power
2019-06-01 22:18:30 +01:00
Andy Rozman
86ffc3370a
Merge branch 'dev' into medtronic_andy
2019-06-01 17:34:30 +01:00
Roumen Georgiev
5c4910ed5b
added trigger Delta
2019-05-30 12:16:42 +03:00
Roumen Georgiev
63d5ef4aa7
Autosens !=0 && IS_NOT_AVAILABLE doesn't exist enymore
2019-05-23 11:01:16 +03:00
Roumen Georgiev
27eb11e5df
unavailable data and IS_NOT_AVAILABLE case
2019-05-20 11:21:51 +03:00
Milos Kozak
a20efab567
remove deprecated calls
2019-05-16 19:54:35 +02:00
Roumen Georgiev
ccd66d498c
icon added
2019-05-16 16:03:05 +03:00
Roumen Georgiev
4aaca7acb1
Using InputDouble
2019-05-16 12:08:36 +03:00
Roumen Georgiev
3280f220ad
fix for maxValue and tests
2019-05-15 17:11:47 +03:00
Roumen Georgiev
31224f894d
fixed tests
2019-05-15 15:29:18 +03:00
Roumen Georgiev
8e9ef8cb6f
adding tests
2019-05-15 14:52:30 +03:00
Roumen Georgiev
6e63d340cd
reworked to use DBHelper
2019-05-13 14:18:10 +03:00
Milos Kozak
808a4177ca
fix tests
2019-05-12 14:36:14 +02:00
Milos Kozak
62b2d83a18
cleanup ( #68 )
2019-05-10 09:47:32 +03:00
Andy Rozman
2ae7d0a292
- fixed problem with TDD
...
- added new command/action for Reset RileyLink (not working yet)
- added Hardware encoding for RileyLink
2019-05-05 17:22:10 +01:00
Milos Kozak
a33e1f6d3c
TriggerLocation
2019-05-03 07:37:49 +02:00
Milos Kozak
3ab2a142d1
Merge remote-tracking branch 'origin/dev' into automation
2019-05-02 22:27:54 +02:00
Andy Rozman
26f837397d
Merge branch 'dev' into medtronic_andy
2019-05-02 20:51:55 +01:00
Roumen Georgiev
85bf1fd6bd
Fix + more tests
2019-04-30 15:07:43 +03:00
Roumen Georgiev
34969fdbfd
WIP: adding tests
2019-04-25 16:57:50 +03:00
AdrianLxM
7c890f2129
Merge pull request #1757 from MilosKozak/update-checker
...
update logic version checker
2019-04-23 21:58:52 +02:00
Milos Kozak
a678c6509c
TriggerWifiSsid, UI tweaking
2019-04-22 22:47:59 +02:00
AdrianLxM
0361ee8589
update logic version checker
2019-04-22 14:10:12 +02:00
Milos Kozak
1840ddabb3
TriggerTempTarget
2019-04-22 12:42:19 +02:00
Milos Kozak
bef170699f
Merge pull request #1756 from schmitzn/automation-patch1
...
Check value after setting unit
2019-04-22 09:37:17 +02:00
Milos Kozak
45312d9ffe
ActionProfileSwitchPercent
2019-04-21 23:48:05 +02:00
Milos Kozak
42cd2ddaa3
TriggerProfilePercent
2019-04-21 22:32:06 +02:00
Nico Schmitz
3fec2ce16c
Check value after setting unit
...
This makes sure that the value is in the range of minValue and maxValue. Also, it sets an inital value != 0 as it's called in the constructor.
2019-04-21 20:01:29 +02:00
Milos Kozak
e679f5eaff
ActionNotification
2019-04-21 16:17:25 +02:00
Milos Kozak
5f32eea488
Merge branch 'dev' into automation
2019-04-21 10:39:24 +02:00
Milos Kozak
8ca3d7cba2
TriggerIob, refactoring, lint cleanup, tests
2019-04-21 10:04:30 +02:00
Milos Kozak
27783fe33e
TriggerIob, more fixes
2019-04-19 09:20:59 +02:00
Milos Kozak
715a59bfba
Merge pull request #1749 from MilosKozak/update-checker
...
Update checker
2019-04-18 22:26:18 +02:00
Milos Kozak
a08f01e69b
more TriggerBg tests
2019-04-18 21:06:16 +02:00
Milos Kozak
46c6cdf98f
Merge remote-tracking branch 'origin/dev' into automation
2019-04-18 19:48:51 +02:00
Milos Kozak
89ec81a850
UI and logic tweaking
2019-04-18 19:33:23 +02:00
AdrianLxM
6c6b23066b
mocking the time
2019-04-18 00:33:24 +02:00
AdrianLxM
84573cc0cc
refactor constraints checker
2019-04-17 21:29:16 +02:00
AdrianLxM
9be0ffffa9
verify static calls on mocked classes
2019-04-17 21:28:32 +02:00
Milos Kozak
bfb39d81e7
fix test
2019-04-17 00:00:44 +02:00
Milos Kozak
a6bd81a1b9
fix tests
2019-04-16 21:28:21 +02:00
Milos Kozak
4ae7efc75f
Merge branch 'dev' into automation
2019-04-16 21:08:08 +02:00
Milos Kozak
952a6fe509
fix GlucoseStatus calculation
2019-04-16 20:36:18 +02:00
Milos Kozak
7e54db64be
Glucose logging
2019-04-15 15:19:19 +02:00
AdrianLxM
f739980988
testing and SP logic
2019-04-15 08:04:56 +02:00
Milos Kozak
0f6b05206f
clear MidnightTime cache
2019-04-13 21:49:15 +02:00
AdrianLxM
04618156cc
restructure and test version checker
2019-04-11 12:43:52 +02:00
Andy Rozman
ad17c66b1b
Merge branch 'dev' into medtronic_andy
2019-04-10 17:05:56 +01:00
Andy Rozman
7392eaeb58
- gradle fixes
...
- remove formatting changes
- moved plugins/general/overview/Dialogs/ to plugins/general/overview/dialogs/
- fixing treatment changes that are received from NS, and extending copying of data to ignore pumpId
2019-04-10 16:24:16 +01:00
Johannes Mockenhaupt
cefee4827b
TDDing
2019-04-10 14:58:01 +02:00
Johannes Mockenhaupt
85cc61934c
add test
2019-04-10 14:51:50 +02:00
Milos Kozak
83e987f3c8
Fix DanaRS tests
2019-04-09 22:55:12 +02:00
Andy Rozman
03b3bf7388
Merge branch 'dev' into medtronic_andy
2019-04-07 23:48:20 +01:00
Milos Kozak
1f62c820ca
Automation: split recurring and nonrecurring time
2019-04-02 00:05:12 +02:00
Milos Kozak
dc0846eab9
ActionStopTempTarget
2019-04-01 22:36:15 +02:00
Milos Kozak
5a555cdfba
AutomationPlugin:processActions and some tweaking
2019-03-31 21:54:31 +02:00
Andy Rozman
bd3529e650
Merge branch 'dev' into medtronic_andy
2019-03-31 20:03:49 +01:00
rob
25950fc6cf
Libre/miaomiao delta modifications
...
* Remove hard limit of processing 9 records. Processing will now stop
at first value outside of time range of interest
* Keep a list of all values within 2.5 minutes. Average this value to use
as the now value
* Don't change the now value date. Always use the time of the latest value
* Added new test for data spaced at 1 minute intervals, to mimic libre data from glimp
* Fix existing test results for average < 2.5 minute data. Deltas are different due to
not updating the now value time
2019-03-31 11:03:48 +10:00
Milos Kozak
350e23647e
ActionStartTempTargetTest
2019-03-31 00:03:31 +01:00
Milos Kozak
6a365b3483
ActionTest
2019-03-30 23:11:22 +01:00
Milos Kozak
bad6edfb8b
Action:applyTest
2019-03-30 23:08:25 +01:00
Milos Kozak
e5dc655c64
ActionLoopResumeTest
2019-03-30 22:53:19 +01:00
Milos Kozak
77dd32a14f
ActionLoopSuspendTest
2019-03-30 22:47:22 +01:00
Milos Kozak
fe844b2dba
ActionLoopEnableTest
2019-03-30 22:35:05 +01:00
Milos Kozak
1ba923b14d
ActionLoopDisableTest
2019-03-30 22:32:28 +01:00
Milos Kozak
876c59a6fe
ActionTest
2019-03-30 18:40:13 +01:00
Milos Kozak
6357dd40d7
fix tests
2019-03-30 17:10:21 +01:00
Milos Kozak
cabdb1d2fb
Merge branch 'dev' into automation
2019-03-30 15:47:23 +01:00
Milos Kozak
361ffa91c8
revert changes and disable test
2019-03-30 11:11:44 +01:00
Milos Kozak
474850c727
fix test
2019-03-30 09:21:22 +01:00
AdrianLxM
d856b87703
rewrite DST logic
2019-03-28 19:38:58 +01:00
Nico Schmitz
c6766c972c
Fix AutomationEventTest
2019-03-26 22:56:17 +01:00
Nico Schmitz
ba0625b03f
Update to recent upstream/dev
2019-03-26 00:47:00 +01:00
Nico Schmitz
97a7a75c86
work on automation plugin
...
- implement clone() methods for actions and triggers
- add AutomationEventTest
- improve ui
2019-03-26 00:06:37 +01:00
Nico Schmitz
4d98c44d74
Fix tests
2019-03-25 23:35:42 +01:00
Nico Schmitz
fc7e65c4d1
Update to recent upstream/dev
2019-03-22 23:08:13 +01:00
Milos Kozak
fdbb76cb92
SmsCommunicator show COB
2019-03-22 22:45:41 +01:00
Milos Kozak
ca3c6b4093
SmsCommunicator detect commands
2019-03-22 22:18:51 +01:00
Milos Kozak
52482d112d
typo
2019-03-21 22:31:44 +01:00
Milos Kozak
fcc4a4edd3
SmsCommunicatorPluginTest 12
2019-03-21 21:54:46 +01:00
Milos Kozak
9e05ea8c8e
ConstraintTest
2019-03-21 21:29:09 +01:00
Milos Kozak
beb50bad44
SmsCommunicatorPluginTest 11
2019-03-21 21:03:34 +01:00
Milos Kozak
a9992503f6
SmsCommunicatorPluginTest 10
2019-03-21 21:00:42 +01:00
Milos Kozak
30bfa1ca1f
SmsCommunicatorPluginTest 9
2019-03-20 23:12:07 +01:00
Milos Kozak
a37d04a8d9
SmsCommunicatorPluginTest 8
2019-03-20 22:49:35 +01:00
Milos Kozak
98eb3a1d73
SmsCommunicatorPluginTest 7
2019-03-20 22:12:25 +01:00
Nico Schmitz
91e4b01f10
Display actions and merge recent upstream/dev
...
- Add ActionListAdapter
- Add ChooseActionDialog
- Merge upstream/dev branch
2019-03-19 19:08:46 +01:00
Milos Kozak
546f99f471
SmsCommunicatorPluginTest 6
2019-03-13 23:30:41 +01:00
Milos Kozak
74391eefdc
SmsCommunicatorPluginTest 5
2019-03-13 21:10:52 +01:00
Milos Kozak
4c0554f61a
SmsCommunicatorPluginTest 4
2019-03-13 19:35:48 +01:00
Milos Kozak
826497c9f6
Fix superbolus test & allow APS plugin to be constraint
2019-03-13 18:50:37 +01:00
Milos Kozak
bb5cec95ea
SmsCommunicatorPluginTest 3
2019-03-13 14:33:28 +01:00
Milos Kozak
a212ba7156
SmsCommunicatorPluginTest 2
2019-03-12 23:30:31 +01:00
Milos Kozak
b24217491b
SmsCommunicatorPluginTest 1
2019-03-12 22:58:04 +01:00
Milos Kozak
3ebd7dcdb8
AuthRequestTest 2
2019-03-12 20:03:41 +01:00
Milos Kozak
bb22b00245
AuthRequestTest
2019-03-12 19:55:47 +01:00
Milos Kozak
b7305f156f
SmsActionTest
2019-03-12 19:14:15 +01:00
Milos Kozak
a8a1bb793f
SmsTest
2019-03-12 18:58:26 +01:00
Milos Kozak
a32508a7ad
move test to correct package
2019-03-12 18:41:20 +01:00
Andy Rozman
6fcb1ce230
Medtronic 0.8.1-SNAPSHOT
...
- wear changes
- refactoring of decoder
- started work on bolus, tbr, resumes
2019-03-10 19:08:54 +00:00
Milos Kozak
0e95808c27
fix tests
2019-03-08 22:26:26 +01:00
Roumen Georgiev
065192f11e
added test for getAvailableInternalMemorySize()
...
it took me some time, but it's OK now
2019-03-07 14:49:07 +02:00
Roumen Georgiev
2b10e0f9e9
initial work
2019-03-07 11:32:29 +02:00
Milos Kozak
1a73d60535
fix tests
2019-03-05 23:29:55 +01:00
Milos Kozak
02db9b681d
fix MidnightTime crash + tests
2019-03-05 23:12:35 +01:00
Andy Rozman
011aaf5336
Moved medtronic to correct package
2019-03-02 20:39:14 +00:00
Andy Rozman
289902633e
Merge branch 'dev' into medtronic_andy
2019-03-02 18:20:37 +00:00
Milos Kozak
987b3d9dd0
move dstPlugin to contraints package
2019-03-02 15:13:42 +01:00
Milos Kozak
e27c0c4b8b
Merge branch 'DstHelperPlugin' of https://github.com/PoweRGbg/AndroidAPS into PoweRGbg-DstHelperPlugin
2019-03-02 15:07:48 +01:00
Milos Kozak
d9a9c933bc
package refactor
2019-02-28 23:16:50 +01:00
Milos Kozak
ea632b197c
fix GlucoseStatus tests
2019-02-28 15:37:49 +01:00
Milos Kozak
395faa7dc9
pumps package refactor
2019-02-26 20:38:27 +01:00
Milos Kozak
b0dd2f464b
Insight driver (Sight remote) removal
2019-02-25 19:33:01 +01:00
Andy Rozman
a441a7e35e
Release 0.7
...
- finished decoding DailyTotals records
- fixed some of most common bugs from Crashalytics
2019-02-20 15:28:14 +00:00
Andy Rozman
72eae6e6b8
- refactored commands, removed version out of it
...
- finished Medtronic History Dialog (middle button)
- refactored Set/Get Basal functionality
2019-02-07 22:41:05 +00:00
Andy Rozman
78abf7299a
0.7.0
...
- refactored BasalProfile functionality
- extended SetProfile command
- fixed processing of settings for 554
2019-01-31 23:09:39 +00:00
Andy Rozman
8fc694e812
Merge branch 'dev' into medtronic_andy
2019-01-04 22:24:44 +01:00
Andy Rozman
56eaacb3a2
[0.6]
...
Configuration:
- added delay for Bolus delivery
- added choice for decoding (done on RL or in software)
Code:
- encoding DailyTotals for 522 and 523
- some minor fixes reported by Crashalytics
- refactoring history
- added history display
- changes to delivering Bolus (canceling)
- started adding 6b4b hardware decoding
2019-01-04 14:02:10 +01:00
Andy Rozman
adc80d5cc7
Medtronic 0.5
...
- added DailyTotalsDTO and started with work on parsing (522 done)
- split encoding into 3 classes, and added exception when encoding fails
- added code for retries, when in communication with pump
- added analysis of history data for several occassions (profile changed, configuration changed, etc)
- little refactoring all arround
2018-12-09 14:44:48 +00:00
Andy Rozman
3fdbc0400e
Files missed on previous checkin.
2018-11-06 17:39:16 +00:00
Roumen Georgiev
43a61f312a
WIP DstHelper
2018-11-06 11:25:39 +02:00
Andy Rozman
b4ce95902b
0.5.1
...
- Added history reading and parsing
- Added evaulation of history data (still work in progress)
- Added custom actions (#1455 ), so that we can manually do "Wake Up and Tune" (new button in actions)
- Started decoding DailyTotals records (need TDD for bolus and basal).
2018-11-05 16:49:59 +00:00
Roumen Georgiev
685b9e007a
v2 tests
2018-10-31 11:55:06 +02:00
Nico Schmitz
75d0bd9761
Fix tests
2018-10-29 21:34:03 +01:00
Nico Schmitz
80e3b57b8c
Add ComposeTriggerTest
2018-10-25 01:02:34 +02:00
Nico Schmitz
1c8c51841c
Outsource DummyTrigger
2018-10-25 00:27:51 +02:00
Nico Schmitz
d863e39046
Add changeConnector()
2018-10-24 23:13:55 +02:00
Andy Rozman
75d3f3b4bc
Merge branch 'dev' into medtronic_andy (2.0i - 24.10.2018)
2018-10-24 12:18:20 +01:00
Andy Rozman
88b75d3496
[0.3] RELEASE
...
- WakeAndTune fixed, it runs in separate thread (in task)
- Fixed Frequency scan results
- fixing connection statuses
- postprocessing fixed/extended with MedtronicUIResponseType
- Basal profile fixes
2018-10-21 22:11:55 +01:00
Nico Schmitz
7659f58776
Fix tests
2018-10-16 01:57:59 +02:00
Milos Kozak
9a84dade9a
Fix libre data, add more bucketed data test
2018-10-06 22:00:43 +02:00
Nico Schmitz
c60aae8630
Work on implementation for automation plugin.
...
- Use butterknife
- Import weekdays selector
- Implement layout for trigger connection and trigger time
- Implement view holders
- Implement adapters
- Implement dummy code for quick testings
- Refactor code
2018-09-25 00:00:09 +02:00
Milos Kozak
efec01c6e5
Some Actions
2018-09-18 23:17:00 +02:00
Milos Kozak
2bf07eb0d4
TriggerBg
2018-09-18 20:17:45 +02:00
Milos Kozak
ca7e9d2a7f
TriggerAnd-Or json saving, loading
2018-09-18 12:32:34 +02:00
Milos Kozak
4ba1adabf4
TriggerAnd, TriggerOr
2018-09-18 10:38:12 +02:00
Milos Kozak
a7e64c79f0
remove static MainApp.sConfigBuilder
2018-09-17 19:56:56 +02:00
Milos Kozak
bc19973ce0
remove static ConfigBuilderPlugin.activePump
2018-09-17 17:43:42 +02:00
Andy Rozman
da75ed643d
Merge branch 'dev' into medtronic_andy and some minor changes to make it compilable
2018-09-14 18:14:45 +01:00
PoweRGbg
3a078c4084
DanaR.comm tests
2018-09-14 10:00:00 +03:00
Milos Kozak
7bf17a1f5c
fix test
2018-09-09 12:56:48 +02:00
Milos Kozak
e577e8555d
openloop mode min change threshold configurable
2018-09-09 12:15:44 +02:00
Milos Kozak
55d1dd0847
Merge pull request #1392 from MilosKozak/openloop
...
Openloop
2018-09-07 12:55:25 +02:00
Milos Kozak
e4f95c7a4e
more logging for bucketed data
2018-09-06 11:18:15 +02:00
Milos Kozak
abea2f30bb
typo
2018-09-06 07:45:52 +02:00
Milos Kozak
e36499f9d4
more tests
2018-09-04 22:08:35 +02:00
Milos Kozak
f3a4f883a4
fix tests
2018-09-04 21:51:13 +02:00
Milos Kozak
1ede3df627
fix tests
2018-09-04 20:50:42 +02:00
Milos Kozak
4ca9d22062
Virtual pump descriptions used for APS requests in open loop mode
2018-09-04 19:55:31 +02:00
Milos Kozak
315c83069d
apply bolus description settings in constraints
2018-09-01 22:45:15 +02:00
Milos Kozak
62b111eb64
fix test
2018-09-01 12:40:07 +02:00
Milos Kozak
e5d96e5c17
fix bucketed data
2018-08-25 20:03:48 +02:00
Milos Kozak
8c4c5a291e
is5minData detection improvement
2018-08-25 18:13:32 +02:00
Milos Kozak
b7950322c8
virtual pump lifecycle
2018-08-23 18:59:46 +02:00
Milos Kozak
b0f8ab9922
extract key_virtualpump_type
2018-08-23 18:46:06 +02:00
Milos Kozak
2c5837a235
Merge branch 'virtual_pump_Bug863' of https://github.com/andyrozman/AndroidAPS into andyrozman-virtual_pump_Bug863
2018-08-23 17:53:28 +02:00
Milos Kozak
1b6e54f8a8
iobplugin tests
2018-08-17 19:49:39 +02:00
Milos Kozak
c98ffb2df1
iobplugin tests
2018-08-17 19:34:53 +02:00
Milos Kozak
4133bc9ad1
iobplugin tests
2018-08-17 19:00:35 +02:00
Milos Kozak
94b1fa3552
fix bucketed data, add some tests, fix failing tests
2018-08-17 16:41:12 +02:00
Milos Kozak
31e050be4a
loop mode in setup wizard
2018-08-14 17:06:09 +02:00
Milos Kozak
7d5f61d677
restore removed tests
2018-08-10 22:34:08 +02:00
Milos Kozak
0ab5981665
Roumen's Unit tests ( #1325 )
...
* initializer
* aading some tests
* ading some tests
* removed try-catch
but added testingMode boolean for the test to run
* update to latest dev
* formatting
* cleanup tests
* More test classes
* some more
* upd
* more coverage in comm
* 50% class coverage in comm
* Delete crashlytics-build.properties
* remove of crashlytics
* removed unneeded checks
* removet mocking of treatmentsService
* removed treatmentsService mock from newNSTreatmentTest
* more testing classes
* tests of _History_ packets
* tests of _Notify_ packets
* 64 / 65 classes covered
* 100% class coverage in comm
2018-08-10 22:17:44 +02:00
Milos Kozak
cd71597baa
fix tests
2018-08-05 22:55:08 +02:00
Milos Kozak
1ae885cb17
DanaRS_Packet_APS_Basal_Set_Temporary_BasalTest update
2018-08-02 16:22:22 +02:00
Milos Kozak
5d7bebbbdc
L.class mock
2018-08-02 16:11:30 +02:00
Milos Kozak
12883a407e
fix test coverage
2018-08-02 15:53:36 +02:00
Markus M. May
3306e14ca1
Merge branch 'dev' into logshipper
2018-08-01 20:42:05 +02:00
Milos Kozak
c6bc15e311
Merge branch 'dev' into virtual_pump_Bug863
2018-08-01 11:57:48 +02:00
Milos Kozak
a590b1590a
fix tests, add crashlitycs to .ignore
2018-07-30 20:23:48 +02:00
Markus M. May
9f90d31f35
Merge latest dev changes
2018-07-30 19:39:38 +02:00
Milos Kozak
5efad35721
NSUpload refactor
2018-07-28 23:57:25 +02:00
Markus M. May
f70909d6c6
Refactore logshipper to maintenance, move funcs from menu to plugin
2018-07-28 22:45:40 +02:00
Andy Rozman
1b8ceb83cf
Merge branch 'dev' into medtronic_andy
2018-07-26 16:48:52 +01:00
Markus M. May
c34104b906
move log shipment to own plugin
2018-07-25 22:00:58 +02:00
Milos Kozak
7e2d3fd8be
historybrowser, rendering optimizations
2018-07-24 00:46:08 +02:00
Johannes Mockenhaupt
afe9a845d3
(Hopefully) fix iob(AMA|SMB)shouldBeLimited tests.
...
By making sure there is exactly one APS plugin enabled.
2018-07-09 22:59:30 +02:00
Johannes Mockenhaupt
33b66e2ce7
Revert "Merge pull request #1131 from jotomo/901"
...
This reverts commit 268dec0059
, reversing
changes made to ab41541c69
.
2018-06-29 22:43:54 +02:00
Milos Kozak
268dec0059
Merge pull request #1131 from jotomo/901
...
Don't loop for values from non-active BG sources
2018-06-28 22:51:56 +02:00
Milos Kozak
385f0c7bfe
Merge pull request #1148 from triplem/1133
...
1133
2018-06-24 19:32:18 +02:00
Markus M. May
07f7c00d85
Move Algo to abstract class
2018-06-24 18:20:28 +02:00
Markus M. May
faca79d13e
Add unit test to PR
2018-06-24 15:43:25 +02:00
Markus M. May
8bdaddb389
Allow backwards compatibility to previous solution to add quotes
2018-06-23 22:41:01 +02:00
Johannes Mockenhaupt
eac1d5ffdb
(Hopefully) fix iob(AMA|SMB)shouldBeLimited tests.
...
By making sure there is exactly one APS plugin enabled.
2018-06-23 13:12:29 +02:00
Johannes Mockenhaupt
b2a60e2fac
Disable unfinished noise tests.
2018-06-23 12:52:07 +02:00
Johannes Mockenhaupt
73e8a0c876
Rename BgReading.filtered to BgReading.isFiltered and add to NS.
...
Avoids collision with 'filtered' value in NS data.
2018-06-23 11:36:23 +02:00
Johannes Mockenhaupt
6d437b4afa
Test stubs.
2018-06-23 11:35:01 +02:00
Johannes Mockenhaupt
940d58fc79
Tests.
2018-06-23 01:27:37 +02:00
Johannes Mockenhaupt
6abad56b1f
Replace BgSourceInterface.advancedFilteringSupported.
...
Replaced by 'filtered' property on BgReading.
2018-06-23 01:26:36 +02:00
Johannes Mockenhaupt
49b84fb550
Reject SMB if bolus is queued/running or outdated. Fixes 1068.
2018-06-21 00:32:23 +02:00
Andy Rozman
47427ec68e
- integration started
...
- states visible
- command framework added
- we get currect profile and compare it with AAPS profile
- setProfile command is disabled, if pumps profile is different we get warning
- bolus is enabled and working
- get remaining reservoir level
2018-06-16 18:13:29 +01:00
TebbeUbben
0d21a0ab62
Fixed tests
2018-06-09 23:03:31 +02:00
TebbeUbben
005039effc
Objectives styling
2018-06-09 22:07:41 +02:00
TebbeUbben
f8c621dc6a
Fixed tests
2018-06-03 11:04:33 +02:00
Johannes Mockenhaupt
ef8f4f1448
Fix unit test.
2018-06-01 12:24:09 +02:00
Johannes Mockenhaupt
561c7fb470
Add test.
2018-05-14 00:38:47 +02:00
Andy Rozman
2600a7009b
Added UTests for PumpUtil and VirualPlugin (new methods)
2018-05-13 18:40:53 +01:00
Milos Kozak
e562d0f437
Merge pull request #957 from triplem/charging_merged
...
Charging merged
2018-05-02 15:04:00 +02:00
Markus M. May
de92125967
Fixes wrong algo
2018-05-01 22:49:44 +02:00
Markus M. May
306d45bb3e
Fix Boolean thingy
2018-05-01 22:15:22 +02:00
Markus M. May
e91fd00836
Add Unit-Test, as well as fixtures for SSID handling
2018-05-01 21:46:37 +02:00
Milos Kozak
7063f4de8b
Merge pull request #879 from MilosKozak/temptargetfix
...
NewNSTreatment dialog cleanup
2018-04-17 07:45:08 +02:00
Milos Kozak
abadcd4eaa
fix test
2018-04-16 23:29:53 +02:00
Milos Kozak
54048b29c4
NewNSTreatment dialog cleanup
2018-04-12 21:45:59 +02:00
Markus M. May
42e36ab818
Fix #842
2018-04-12 21:08:06 +02:00
Milos Kozak
82bb65560b
QuickWizardTest part1
2018-04-09 00:37:23 +02:00
Milos Kozak
a609d806d1
fix tests
2018-04-08 20:37:05 +02:00
Milos Kozak
2fee7f3186
fix NPE in Simulator
2018-04-07 16:33:37 +02:00
Milos Kozak
ee133f87ae
fix test
2018-04-05 10:56:55 +02:00
Milos Kozak
f6cd1201e3
Treatments refactor
2018-04-05 09:39:18 +02:00
Milos Kozak
149818a902
Merge pull request #821 from triplem/g44
...
Gradle Update to 4.4
2018-04-02 10:28:13 +02:00
Milos Kozak
ad74a9ba9a
fix errors in tests
2018-04-02 10:29:19 +02:00
Markus M. May
6d6dee6f0b
Use org.junit instead of junit.framework, use static imports
2018-04-01 23:01:37 +02:00
Milos Kozak
34ec1225c6
fix NSCLIENT after plugin refactor
2018-03-31 21:41:14 +02:00
Milos Kozak
c57d14aa05
MainAppTest
2018-03-31 15:00:32 +02:00
Milos Kozak
364364f205
ConfigBuilderTest
2018-03-31 11:31:09 +02:00
Milos Kozak
a30334f5d5
PluginDescriptionTest
2018-03-31 10:09:29 +02:00
Milos Kozak
3b3662af80
Merge branch 'dev' into wip
2018-03-31 00:39:35 +02:00
Milos Kozak
bcb733e42c
Plugins refactor
2018-03-31 00:36:03 +02:00
Milos Kozak
e4f2049405
PumpEnactTestResult
2018-03-29 18:44:16 +02:00
Johannes Mockenhaupt
52c6d209af
Clean up initial profile push to pump.
2018-03-28 21:20:56 +02:00
Milos Kozak
3567320788
fix test
2018-03-27 19:45:44 +02:00
Milos Kozak
95f2e5d913
IobTotalTest
2018-03-27 16:41:37 +02:00
Milos Kozak
689fda5969
IobTest
2018-03-27 14:36:43 +02:00
Milos Kozak
1b9b20cd41
1st ProfileSwitch must be with zero duration, ProfileIntervalsTest
2018-03-27 14:19:52 +02:00
Milos Kozak
0a87b0ede7
MealDataTest
2018-03-26 22:59:04 +02:00
Milos Kozak
f8c9fac7b1
NonOverlapingIntervalsTest 2nd
2018-03-26 22:55:38 +02:00
Milos Kozak
cc436a09d9
TempBasal, TempTarget refactor; NonOverlapingIntervalsTest
2018-03-26 22:37:53 +02:00
Milos Kozak
a4cb4cbbd5
OverlapingIntervalsTest
2018-03-26 19:46:18 +02:00
Milos Kozak
21c6827cf4
more GlucoseStatusTests
2018-03-26 17:47:25 +02:00
Milos Kozak
d071ca5b88
GlucoseStatusTest & fix
2018-03-26 16:51:25 +02:00
Milos Kozak
5c5b8ee2f0
DetailedBolusInfo test & fix
2018-03-26 13:25:53 +02:00
Milos Kozak
afe3d68a10
display SMB reasons
2018-03-25 23:56:52 +02:00
Milos Kozak
044a3fc10f
LoopPluginTest
2018-03-23 20:10:45 +01:00
Milos Kozak
661595792f
rename InsightPump -> Insight
2018-03-23 17:51:05 +01:00
Milos Kozak
15d8719508
collect most limited reason along with all reasons
2018-03-23 17:36:49 +01:00
Milos Kozak
ad8ff15cdc
getMax... constraints functions
2018-03-22 23:20:10 +01:00
Milos Kozak
0f531a9954
objectives cleanup & basal hard limits to constraints
2018-03-22 23:05:00 +01:00
Milos Kozak
ba09538f46
AMA - Autosens cleanup
2018-03-22 22:18:40 +01:00
Milos Kozak
76ee3c51e4
applyMaxIOBConstraints refactor & tests
2018-03-22 21:13:26 +01:00
Milos Kozak
1aba9a2564
applyCarbsConstraints refactor & tests
2018-03-22 10:31:07 +01:00
Milos Kozak
15158fb5ea
applyBolusConstraints refactor & tests
2018-03-21 23:01:30 +01:00
Milos Kozak
c68ab9f1ca
applyBasalPercentConstraints refactor & tests part2
2018-03-21 22:06:28 +01:00
Milos Kozak
e2ea44a8a8
applyBasalPercentConstraints reactor & tests part1
2018-03-21 20:24:02 +01:00
Milos Kozak
7a5d8e2ec9
use US locale in tests
2018-03-21 07:51:27 +01:00
Milos Kozak
ad7ec4daca
fix tests
2018-03-20 23:47:37 +01:00
Milos Kozak
15ebfc1193
applyBasalConstraints reactor & tests
2018-03-20 22:09:22 +01:00
Milos Kozak
c2cfe4e7ea
isSMBModeEnabled reactor & tests
2018-03-19 23:14:04 +01:00
Milos Kozak
26ecc3dd60
isAMAModeEnabled reactor & tests
2018-03-19 22:59:25 +01:00
Milos Kozak
f8a3b7aee7
isAutosensModeEnabled reactor & tests
2018-03-19 22:36:08 +01:00
Milos Kozak
f6fdef7986
isClosedLoopAllowed & isLoopInvokationAllowed tests
2018-03-19 22:20:42 +01:00
Milos Kozak
7178e1573a
fix CommandQueueTest
2018-03-19 18:44:11 +01:00
Milos Kozak
ce63655097
move constraints interface functions from ConfigBuilder to ConstraintsChecker class
2018-03-19 18:21:02 +01:00
Milos Kozak
52ffcba047
generic Constraint type
2018-03-19 17:38:48 +01:00
Milos Kozak
b0a9f678f0
limitRunningLoop constraint
2018-03-19 13:11:25 +01:00
Johannes Mockenhaupt
643f3aee6c
Merge branch 'dev' into dev-merge
2018-03-18 20:20:40 +01:00
Milos Kozak
106de14f9a
Merge branch 'dev' into nodefaultprofile
2018-03-18 19:58:36 +01:00
Milos Kozak
22d89c3ffc
more ProfileTest
2018-03-18 19:59:28 +01:00
Johannes Mockenhaupt
89d59584d5
Merge remote-tracking branch 'origin/dev' into dev-merge
...
* origin/dev:
prepend line feed like suggested on jamoto code review
Rename method to reflect jomoto code review
Unit tests are always in engmode
Fix boolean stuff in accordance to code review with adrian
Cleanup boolean algrabra, add method for environment retrieval from logcontexxt
Determine directory from logback
more checks for null profile
Disallow profile store on pump if on dev branch but not in engineering mode
Disable profile switch if not in Engineering mode and on dev branch
Add info to About dialog when engineering mode is enabled.
On start, show notification if on dev-branch, but not EM, so CL is disabled.
Add basic Engineering mode.
# Conflicts:
# app/src/main/java/info/nightscout/androidaps/MainActivity.java
# app/src/main/java/info/nightscout/androidaps/plugins/Overview/notifications/Notification.java
# app/src/main/java/info/nightscout/androidaps/queue/CommandQueue.java
# app/src/main/res/values/strings.xml
2018-03-18 19:47:23 +01:00
Milos Kozak
e916cf4d06
ProfileTest update
2018-03-18 19:15:01 +01:00
Markus M. May
f0bec534fa
Rename method to reflect jomoto code review
2018-03-18 17:38:05 +01:00
Milos Kozak
3ee586b6c0
Profile tests . -> , conversion
2018-03-18 15:09:26 +01:00
Milos Kozak
f7621c4cc5
Profile tests
2018-03-18 15:02:21 +01:00
Markus M. May
18521d6634
Unit tests are always in engmode
2018-03-17 21:48:58 +01:00
Johannes Mockenhaupt
db00404e43
Merge commit 'origin/dev^' into combo-dev-merge
...
* commit 'origin/dev^': (313 commits)
cleanup
draw profile in dana profile viewer
optimize imports
draw basal in profile viewer
BG autobackfill configurable
travis 2nd try
Save new profile when updating it
Add environment variable to handle testCoverage
do not pass DIA to SMB determine_basal
show Dana model properly after communication error
fix deviation slope calculations
Read maximum basal and bolus amount from pump
update maxIOB hard limits
Allow bolus record only in new treatment dialog
use safeGetString
JsonHelper test
food code cleanup
Show bolus progress
Missing import statement
Insight: add treatment to progress event
...
2018-03-16 15:44:54 +01:00
Milos Kozak
c61fcdbe3f
allow 15 & 30 pump disconnection
2018-03-01 23:59:44 +01:00
Johannes Mockenhaupt
a42d95df14
Unbreak unit test.
2018-02-18 13:33:24 +01:00
Johannes Mockenhaupt
5be9bf5a87
Combo: add unit test for calculateFakeBolusDate.
2018-02-04 20:43:31 +01:00
Milos Kozak
411add616b
Merge pull request #632 from jamorham/dev
...
Add Insight Pump Plugin
2018-02-02 09:21:57 +01:00
Milos Kozak
fada51c380
Merge pull request #597 from triplem/test
...
Add a unit test for Insulin Plugin
2018-01-30 22:47:33 +01:00
Markus M. May
a6f65f5d33
Enhance insulin plugin test
2018-01-30 19:52:57 +01:00
Jamorham
2c9cd89ff3
Add unit test
2018-01-26 22:44:12 +00:00
Milos Kozak
5a00b68f68
remove readstatus prior every command
2018-01-14 21:42:36 +01:00
Markus M. May
d4365a2352
Add a unit test for Insulin Plugin
2018-01-10 22:11:20 +01:00
Milos Kozak
d8696412b1
temporary disable korean danar
2016-12-21 14:48:36 +01:00
Milos Kozak
9b749202fd
Objectives design
2016-06-04 17:28:05 +02:00