Commit graph

233 commits

Author SHA1 Message Date
Roumen Georgiev 453faf736d fix test
moved the when().thenReturn to setReadings
2019-06-19 16:59:34 +03:00
Roumen Georgiev 6e63d340cd reworked to use DBHelper 2019-05-13 14:18:10 +03:00
Milos Kozak 62b2d83a18 cleanup (#68) 2019-05-10 09:47:32 +03: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
Milos Kozak 715a59bfba
Merge pull request #1749 from MilosKozak/update-checker
Update checker
2019-04-18 22:26:18 +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 a6bd81a1b9 fix tests 2019-04-16 21:28:21 +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
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
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 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
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
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
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
Milos Kozak 1f78e8c56d fix tests 2019-03-02 15:34:34 +01:00