Commit graph

155 commits

Author SHA1 Message Date
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