Commit graph

475 commits

Author SHA1 Message Date
Milos Kozak 850e79a068 fix tests 2020-02-03 22:42:13 +01:00
Milos Kozak 3713f772d0 fix test 2020-01-28 11:11:01 +01:00
Milos Kozak 344c77ef53 Merge branch 'dev' into dagger3 2020-01-14 13:50:29 +01:00
Milos Kozak 230ef4e988 fix tests 2020-01-14 11:44:28 +01:00
AdrianLxM 1851ab4084 wrap legacy static logger 2020-01-13 19:22:28 +01:00
Milos Kozak 6bc2d9eef5 DanaRv2.comm 2020-01-11 16:26:34 +01:00
Milos Kozak 248ab8bc76 RS packet tests 2020-01-11 15:43:27 +01:00
Milos Kozak cb12967b17 Insulin tests 2020-01-11 15:19:46 +01:00
Milos Kozak 65ec024751 GimpPluginTest 2020-01-11 15:04:26 +01:00
Milos Kozak 1c2036d1a3
Merge branch 'dagger3' into dagger3-0111a 2020-01-11 14:50:52 +01:00
AdrianLxM cde7b44606 test with AndroidInjector 2020-01-11 12:40:11 +01:00
AdrianLxM 6326c3f6f9 some work fixing tests 2020-01-11 12:29:25 +01:00
Milos Kozak 82300ec52f InsulinOrefFreePeakPluginTest 2020-01-11 12:10:47 +01:00
Milos Kozak e192be28d5 VersionCheckerUtilsKtTest 2020-01-11 11:52:33 +01:00
Milos Kozak ccf93d2191 InsulinOrefBasePluginTest 2020-01-11 11:45:41 +01:00
Milos Kozak 925de127a7 Triggers injection 2020-01-05 12:02:32 +01:00
Milos Kozak 4dbf199685 PersistenNotificationPlugin, services 2020-01-02 23:25:29 +01:00
Milos Kozak bcc3829915 NSClient rafactor 2020-01-01 23:23:16 +01:00
Milos Kozak 7518537108 wizard injection 2019-12-31 11:57:58 +01:00
Milos Kozak 1242236821 Source plugins injection 2019-12-30 23:26:48 +01:00
Milos Kozak 8b88e2d270 make tests compile 2019-12-27 21:39:34 +01:00
Milos Kozak 7f8abcf591 Constraints, Dialogs daggerize 2019-12-27 19:20:38 +01:00
AdrianLxM ac05390292 Insulin plugins injectable and Prep for SMS plugin and ConfigBuilder 2019-12-27 04:17:49 +01:00
Milos Kozak 3654b0b66f ResourceHelper 2019-12-26 17:50:16 +01:00
Milos Kozak ec2a0212f5 Merge branch 'dev' into dagger3 2019-12-26 15:01:23 +01:00
Milos Kozak f8f1fc54be Merge branch 'dev' into dagger3 2019-12-26 14:41:52 +01:00
AdrianLxM 143a9f8749 dagger testing 2019-12-25 12:19:26 +01:00
Milos Kozak 2ce590a700 BolusProgressDialog refactor 2019-12-20 21:52:37 +01:00
Milos Kozak 19b680039e
Merge pull request #2244 from PoweRGbg/LocationLeft
Location trigger - added option for Going inside/outside of area
2019-12-19 14:53:00 +01:00
Roumen Georgiev b90c02a2cc Removed InputOption 2019-12-19 09:23:09 +02:00
Milos Kozak 8af8d584eb use profile store units as fallback 2019-12-17 18:08:28 +01:00
Roumen Georgiev c113cc23b2
Merge pull request #89 from MilosKozak/dev
Dev
2019-12-10 14:25:47 +02:00
Roumen Georgiev 5994a75134 Tests working 2019-12-10 13:38:25 +02:00
Roumen Georgiev 55e6246646 some strings and tests broken 2019-12-10 12:34:27 +02:00
Milos Kozak 0e89ced3e1 Merge branch 'dev' into survey 2019-12-08 19:07:35 +01:00
Roumen Georgiev 6c8a5aee47
Merge pull request #88 from MilosKozak/dev
Dev
2019-12-05 15:06:15 +02:00
Roumen Georgiev 14dc7395e0 Created enum for mode & tests 2019-12-04 16:42:47 +02:00
Milos Kozak 1a71c663ee fix test 2019-12-02 21:21:37 +01:00
Milos Kozak 0b559da27d
Merge pull request #1758 from PoweRGbg/patch-1
try to calculate direction of BG if missing
2019-12-02 19:00:03 +01:00
Milos Kozak fed2839a72 Merge branch 'dev' into localprofile 2019-11-26 16:40:46 +01:00
Milos Kozak 6969dc4873
Merge pull request #2222 from MilosKozak/2186
New SMS commands
2019-11-25 22:40:00 +01:00
Milos Kozak c33e3994b6 some cleanup and kotlin conversion 2019-11-25 18:07:16 +01:00
fabriziocasellato f26e683dbe Removed + control for Phone Numbers, Added Tests for TT, Added TARGET STOP/CANCEL command 2019-11-22 15:58:03 +01:00
Milos Kozak 16038caed8
Merge branch 'sms' into 2186 2019-11-22 14:30:19 +01:00
fabriziocasellato ebc89e7526 New tests for SMS commands: TARGET MEAL/HYPO/ACTIVITY and SMS STOP/DISABLE 2019-11-22 12:31:59 +01:00
Milos Kozak 820b704bfe fix test 2019-11-22 11:40:51 +01:00
Milos Kozak 17ea3843ae SMS HELP command 2019-11-22 11:19:09 +01:00
Milos Kozak e9aa4835ed SBS CARBS command 2019-11-22 10:40:48 +01:00
Milos Kozak a62750c3a3 SmsCommunicatorFragment -> kt 2019-11-22 00:33:13 +01:00
Milos Kozak d227013496 SmsCommunicatorPlugin -> kt 2019-11-22 00:12:46 +01:00
Milos Kozak 9aa77122ba Use on Rx for NetworkChange 2019-11-21 00:07:50 +01:00
fabriziocasellato 1f4f3fb687 Added the new MEAL feature to tests 2019-11-20 16:44:33 +01:00
Milos Kozak 788ff545ca Merge branch 'dev' into localprofile 2019-11-19 23:22:08 +01:00
Milos Kozak c6bbc0fe8b
Merge pull request #2198 from jotomo/log-unhandled-exceptions-again
Log unhandled exceptions again
2019-11-14 22:40:15 +01:00
Johannes Mockenhaupt 94f10a44a5
Rethrow unhandled exceptions in tests as runtime exception. 2019-11-14 18:04:36 +01:00
Johannes Mockenhaupt b9d600edf4
Log unhandled exceptions as errors. 2019-11-14 17:50:32 +01:00
Milos Kozak 232555b407
Merge pull request #2195 from boc-the-git/rounding-changes
Rounding: Use BigDemical for more accurate comparison
2019-11-14 11:07:14 +01:00
Milos Kozak 3c025e97a8 fix some tests 2019-11-12 17:37:44 +01:00
Johannes Mockenhaupt cce3a77a37
Log unhandled exception rather than printing to stdout. 2019-11-12 13:41:36 +01:00
boc-the-git b682432ca0 Change roundTo method to use BigDecimal rather than Double for more accurate comparison. Update tests to introduce more scenarios where without the code change, they'd fail. 2019-11-12 15:39:42 +11:00
AdrianLxM 3c4b16378b Merge branch 'master' into dev and update version 2019-11-01 00:22:06 +01:00
AdrianLxM d2b059fd6b
Update Tests for new versioning 2019-10-31 08:20:00 +01:00
Milos Kozak 0da6377687 SignatureVerifierPluginTest 2019-10-28 13:45:42 +01:00
Andy Rozman 6bdc01dded - commented out invalid "test" 2019-10-25 11:25:55 +01:00
Andy Rozman 9f8df64f45 Merge branch 'dev' into bug_2111_pump_stopped_when_not 2019-10-24 10:39:35 +01:00
Milos Kozak b5a1543b92 Merge branch 'dev' into signature 2019-10-22 15:24:44 +02:00
Milos Kozak ecbfd294a8 send hash to firebase 2019-10-22 15:24:37 +02:00
Milos Kozak d2a4aea9e2 remove MainApp::getSpecificPlugin 2019-10-18 13:12:45 +02:00
Andy Rozman 902422ddf0 Added BatteryChange event, as verification that pump is running. 2019-10-17 22:37:12 +01:00
Milos Kozak 7bbf30ec65 Merge branch 'dev' into survey 2019-10-15 23:49:17 +02:00
Milos Kozak c42ef8e5ff Events to RxBus 2019-10-15 13:31:55 +02:00
Milos Kozak 64f16c5a7b Events to RxBus 2019-10-14 19:50:22 +02:00
Milos Kozak 450f4fabf0 Survey 2019-10-08 21:20:04 +02:00
Roumen Georgiev a81f607122 fix test 2019-10-07 11:09:34 +03:00
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
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