Milos Kozak
8110bef68f
Merge pull request #1540 from jotomo/upstream-1480
...
Profile switch name mangling for NS up/download
2018-11-18 22:37:57 +01:00
Roumen Georgiev
43a61f312a
WIP DstHelper
2018-11-06 11:25:39 +02:00
Milos Kozak
fa2f52b560
fix test for master branch
2018-11-03 00:04:31 +01: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
Nico Schmitz
7659f58776
Fix tests
2018-10-16 01:57:59 +02:00
Johannes Mockenhaupt
4f896fccdb
Refactor and clean up.
2018-10-13 20:56:40 +02:00
Johannes Mockenhaupt
51315fc942
GH#1480: Improve conversion of incoming NS-PS name.
2018-10-13 20:38:26 +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
924bc97e3b
remove static ConfigBuilderPlugin.commandQueue
2018-09-17 19:29:01 +02:00
Milos Kozak
bc19973ce0
remove static ConfigBuilderPlugin.activePump
2018-09-17 17:43:42 +02: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
fff2e84608
remove g5uploader flavor
2018-08-07 21:45:35 +02:00
Milos Kozak
fcf47ecc03
NSClient2 flavor
2018-08-07 21:07:43 +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
Milos Kozak
3bcd656c14
Maintenance plugin cleanup
2018-08-02 15:19:13 +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
Markus M. May
aca9b3ff65
reflect code revieww
2018-07-30 23:05:46 +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
Markus M. May
c34104b906
move log shipment to own plugin
2018-07-25 22:00:58 +02:00
Markus M. May
60721c8395
First working version
2018-07-24 22:34:10 +02:00
Milos Kozak
7e2d3fd8be
historybrowser, rendering optimizations
2018-07-24 00:46:08 +02:00
Markus M. May
2090b3c7e1
First draft
2018-07-23 20:58:20 +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
Johannes Mockenhaupt
e4a72c8175
Fix name of incoming profile from NS with timeshift/percentage.
2018-06-25 12:07:12 +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
Markus M. May
e32f33a8d3
fixes #1130
2018-06-23 21:36:18 +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
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
Milos Kozak
66e50f5b62
Merge pull request #1038 from jotomo/upstreaming
...
[Polish] Dialog/color consistency, translations and other small stuff
2018-05-15 13:09:50 +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
Johannes Mockenhaupt
d80fecc390
Add T.now, plus, minus methods.
2018-05-13 12:44:47 +02: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
12d80e96ef
Merge latest dev version
2018-05-01 21:56:33 +02:00
Markus M. May
e91fd00836
Add Unit-Test, as well as fixtures for SSID handling
2018-05-01 21:46:37 +02:00
Johannes Mockenhaupt
7fbab357e8
Fix unit tests for added Combo plugin w/o engineering mode.
2018-05-01 13:25:12 +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
e9ac979a1b
fix NPE in TempBasal treatments tab
2018-04-09 19:52:01 +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
5e2fdebc07
fix travis
2018-04-01 20:02:22 +02:00
Milos Kozak
5ce184e67d
fix time in dialogs during DST change
2018-04-01 18:44:58 +02:00
Milos Kozak
0a03798de9
move treatments interface out of ConfigBuilder
2018-04-01 11:09:58 +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