Commit graph

911 commits

Author SHA1 Message Date
Philoul
b1be726cc3 Autotune Fix Unit tests 2022-08-17 12:24:46 +02:00
Philoul
7a31057707 Merge remote-tracking branch 'Nightscout/dev' into Autotune/AddtitionalUnitTests 2022-06-30 01:03:30 +02:00
Philoul
0e0470a4e8 Fix AutotunePrepTest (add timeshift in input profile to get correct basal consistant with OpenAps run) 2022-06-30 01:03:00 +02:00
Milos Kozak
6a83642c2e cleanup & turn on looging in tests 2022-06-28 20:56:43 +02:00
Philoul
9bfbbcf442 Add Unit Test to check AutotsensMax limitation (note here OAPS calculation done with NS Queries) 2022-06-25 20:19:33 +02:00
Philoul
32cb4f02af Add unit test for CategorizeUAM as basal setting true or false 2022-06-25 19:44:12 +02:00
Milos Kozak
5ea5e80393
Merge pull request #1851 from Philoul/Autotune/UnitTests
Add Unit test for AutotunePrep
2022-06-25 15:56:53 +02:00
Milos Kozak
991f2c95b7 Exception on NaN 2022-06-25 13:51:44 +02:00
Philoul
25c976ee58 Add Unit Test for AutotunePrep 2022-06-25 00:37:46 +02:00
Philoul
8be35e6081 Prepare for other unit tests for autotuneCore 2022-06-25 00:27:44 +02:00
Milos Kozak
9b60655393
Merge pull request #1839 from Philoul/Autotune/UnitTests
Add Unit test for AutotuneCore
2022-06-22 08:02:56 +02:00
Philoul
4e8d057979 Fix UnitTest with default TimeZone 2022-06-21 23:25:41 +02:00
Milos Kozak
be201f0177 Improve bolus canceling 2022-06-20 23:50:56 +02:00
Philoul
3d36964431 Add missing input files from virtual machine and detailed info of oref0 autotune run 2022-06-19 00:50:40 +02:00
Philoul
a7c2dbc850 Unit test for AutotuneCore 2022-06-19 00:24:19 +02:00
Philoul
73e4933251 Include dateUtil in test 2022-06-17 22:01:42 +02:00
Philoul
44abb7b31b Add PreppedGlucoseTest (correct Load of OpenAPS categorization from external json file) 2022-06-17 21:53:30 +02:00
Milos Kozak
6afd2678f1 move test code 2022-06-13 15:35:09 +02:00
Milos Kozak
2f928ad548 Interface cleanup 2022-06-09 15:51:57 +02:00
Milos Kozak
81180344a0 NSClient: better status 2022-05-31 10:13:28 +02:00
Milos Kozak
bbb49ccdab NSClient: more clear logic 2022-05-30 19:12:20 +02:00
Milos Kozak
8e70308150 BgGraphBuilder -> kt 2022-04-23 18:34:04 +02:00
Milos Kozak
6076191515
Merge branch 'dev' into wear 2022-04-22 22:44:27 +02:00
Milos Kozak
2ebaffa4ad Wear: migrate to RxBus comm and data classes 2022-04-22 22:19:10 +02:00
Andries Smit
11c97bc937 chore: remove triple new lines 2022-04-19 13:32:22 +02:00
Milos Kozak
5c4055a17f fix tests 2022-04-04 22:24:18 +02:00
Milos Kozak
a618975749 fix build and tests 2022-03-13 19:32:38 +01:00
Milos Kozak
dd83fbe9e8
Merge branch 'dev' into rxjava3 2022-02-24 21:59:48 +01:00
Milos Kozak
d39e9e9cf3 fix tests 2022-02-21 13:47:36 +01:00
Milos Kozak
0a39388f81 rxjava2 -> 3 2022-02-10 19:11:58 +01:00
Milos Kozak
b29d45de4b fix tests 2022-01-16 22:30:59 +01:00
Milos Kozak
b2bd7a7d21 Do not check for BT perm in NSC mode 2022-01-07 21:44:48 +01:00
Milos Kozak
445b1bb6ae improve Android12 permision handling 2022-01-05 18:12:39 +01:00
Milos Kozak
17b4d6e7ed Wear: less static more injection 2021-12-10 15:19:19 +01:00
Milos Kozak
29559c0413 move SP to shared module 2021-12-10 12:17:03 +01:00
Milos Kozak
e02deee056 fix test 2021-12-01 20:20:50 +01:00
Milos Kozak
85140a9c2e Loop cleanup 2021-11-30 17:08:31 +01:00
Milos Kozak
3ee1a3a9d8 hide insulin plugin in NSClient mode 2021-11-29 17:26:29 +01:00
Philoul
6042adbca5 Remove unused import and simplify a bit more 2021-11-23 00:19:31 +01:00
Philoul
4bbd312891 Simplify Mock 2021-11-23 00:14:22 +01:00
Philoul
7c7bece171 Remove unnecessary string 2021-11-23 00:12:19 +01:00
Philoul
bbab3b0c9d Fix Tests 2021-11-22 23:57:52 +01:00
Philoul
bc00e717e3 Fix SafetyPluginTest 2021-11-20 22:53:04 +01:00
Milos Kozak
9fb20917c5 unify xDrip broadcasts 2021-11-18 15:47:22 +01:00
AdrianLxM
d3d79d6d1e
Update TestBaseWithProfile.kt 2021-11-10 13:58:31 +01:00
Milos Kozak
04de964e97 cleanup 2021-11-09 17:57:51 +01:00
Milos Kozak
c419c1f1e4 2.8.2.10-dev 2021-11-08 17:20:29 +01:00
Milos Kozak
0db34981d4 rename CommandQueue 2021-11-07 17:19:06 +01:00
Milos Kozak
2b021ffafc BgQualityCheckPlugin 2021-11-05 13:16:23 +01:00
Milos Kozak
756957ed8c resourceHelper -> rh 2021-11-04 10:56:12 +01:00
Milos Kozak
d06ae6b0bc resourceHelper -> rh 2021-11-04 09:32:34 +01:00
Milos Kozak
6f6b379156 fix tests 2021-11-01 09:12:18 +01:00
Milos Kozak
c4765b42f0 enable logging of EVENTS again 2021-10-30 18:29:00 +02:00
Milos Kozak
1dd64b5958 relocate default profile 2021-10-30 14:14:37 +02:00
Milos Kozak
dabf4bf33c Application expired check 2021-10-16 13:02:31 +02:00
Milos Kozak
1f65ee38c7 RxBusWrapper -> RxBus 2021-10-15 14:56:22 +02:00
Milos Kozak
a0c2b258cb Merge branch 'master' into dev 2021-10-05 19:46:53 +02:00
Milos Kozak
ea286c0dfe Merge remote-tracking branch 'origin/master' 2021-10-05 18:53:52 +02:00
Milos Kozak
972fdbfe9e 2.6.2 version check 2021-10-05 17:55:19 +02:00
Milos Kozak
5ae852a9a1 fix tests 2021-09-30 19:14:14 +02:00
Milos Kozak
20fa4b7300 fix tests 2021-09-29 23:35:44 +02:00
Milos Kozak
b2c45d0a26 remove PowerMock from all modules except wear 2021-09-23 17:35:55 +02:00
Milos Kozak
d33f62b23d remove PowerMockRunner where possible 2021-09-21 21:57:56 +02:00
Milos Kozak
9e42f91848 finish removing Objective8 2021-09-21 15:16:19 +02:00
Milos Kozak
b80e2a7648 Improve COB handling 2021-09-19 09:59:35 +02:00
Milos Kozak
ba71e0db9b more Profile validity checks 2021-09-13 19:06:32 +02:00
Milos Kozak
d18c05205c Resolve warnings 2021-09-07 12:08:19 +02:00
Milos Kozak
4761a1a5ba kotlin-allopen, fixed tests 2021-08-16 13:47:14 +02:00
Milos Kozak
0af2cff26f
Merge pull request #557 from Philoul/NewTempFolderForLogExports
temp Dir for log export
2021-06-17 22:01:05 +02:00
Milos Kozak
62005b437a Improve SMSCommunicator safety 2021-06-10 22:35:50 +02:00
Philoul
539ca3131d temp Dir for log export 2021-06-10 08:33:15 +02:00
Milos Kozak
1e1fac90b3 RS refactor & test fix 2021-05-31 21:35:03 +02:00
Milos Kozak
9d29cafbe6 remove old db code 2021-05-29 23:38:19 +02:00
Milos Kozak
6735d22934 OfflineEvent -> room 2021-05-28 16:06:44 +02:00
Milos Kozak
bee6d289c0 HistoryBrowseActivity 2021-05-25 17:42:21 +02:00
Milos Kozak
11f00d1776 make it compile with kotlin 1.4 2021-05-20 19:42:44 +02:00
Milos Kozak
20128c026d downgrade playServicesWearable 2021-05-19 21:11:50 +02:00
Milos Kozak
938f3f612a mockitoVersion = '3.10.0' 2021-05-18 19:02:25 +02:00
Milos Kozak
2fd093091f kotlin 1.5.0 2021-05-18 18:30:52 +02:00
Philoul
02e923d3ed Fix test 2 2021-05-12 09:43:34 +02:00
Philoul
d5a9c2b628 Fix tests 2021-05-11 18:38:57 +02:00
Milos Kozak
c75d4e8e4e eliminate old NS sync style 2021-05-03 12:49:11 +02:00
Milos Kozak
37e3c4532a Profiles -> room (no NS sync yet) 2021-04-29 20:42:45 +02:00
Milos Kozak
cada2919d1 prepare Profile interface 2021-04-19 18:44:17 +02:00
Milos Kozak
312136451b ProfileInterface rename 2021-04-14 22:58:21 +02:00
Milos Kozak
24164eee98 PumpInterface rename 2021-04-14 19:36:13 +02:00
Milos Kozak
176fc4bb47 ConstriantsInterface rename 2021-04-14 19:01:49 +02:00
Milos Kozak
8ecc02c994 rename ConfigInterface 2021-04-14 18:42:12 +02:00
Milos Kozak
c04993ddad rename interfaces, cleanup 2021-04-14 00:45:30 +02:00
Milos Kozak
3aa38d46bb ConfigBuilderInterface rename 2021-04-13 23:27:55 +02:00
Milos Kozak
f95d4725f1 fix tests 2021-04-13 19:43:58 +02:00
Milos Kozak
36040b7ed2 IobCobCalculator refactor 2021-04-13 18:33:44 +02:00
Milos Kozak
c637b7072c IobCobCalculator refactor 2021-04-12 19:49:12 +02:00
Milos Kozak
8ce5a881d3 _now() -> now() 2021-04-11 17:58:50 +02:00
Milos Kozak
998eba8b9f DateUtil -> kt, static funcs removed 2021-04-11 17:47:55 +02:00
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