Commit graph

16381 commits

Author SHA1 Message Date
dependabot[bot] 473920efec
chore(deps): bump org.mockito:mockito-junit-jupiter from 4.6.1 to 5.5.0
Bumps [org.mockito:mockito-junit-jupiter](https://github.com/mockito/mockito) from 4.6.1 to 5.5.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v5.5.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 08:02:49 +00:00
dependabot[bot] d37b732870
chore(deps): bump org.mockito.kotlin:mockito-kotlin from 4.1.0 to 5.1.0
Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 4.1.0 to 5.1.0.
- [Release notes](https://github.com/mockito/mockito-kotlin/releases)
- [Commits](https://github.com/mockito/mockito-kotlin/compare/4.1.0...5.1.0)

---
updated-dependencies:
- dependency-name: org.mockito.kotlin:mockito-kotlin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 08:02:05 +00:00
Milos Kozak 5717070a95
Merge pull request #2762 from ryanhaining/update_junit_mockito
Replaces partial Mock WearUtil with a Fake
2023-09-11 10:01:13 +02:00
Milos Kozak 226dec67c1
Merge pull request #2761 from ryanhaining/replace_hamcrest
Drops hamcrest depedency
2023-09-11 10:00:58 +02:00
Ryan Haining 9e24cc1607 Uses Fake instead of incomplete Mock for WearUtil
Unblocks #2732 and #2733
2023-09-10 13:41:19 -07:00
Milos Kozak e632769d65 remove unneeded config 2023-09-10 20:31:15 +02:00
Ryan Haining d487bb5038 Drops hamcrest dependency
Replaces hamcrest uses with truth.

Fixes #2760
2023-09-10 10:34:02 -07:00
Milos Kozak 307b114947
Merge pull request #2756 from ryanhaining/rewrite_assert_true
Rewrite test files that have assertTrues instead of matchers
2023-09-10 18:09:05 +02:00
Milos Kozak ebe64d8678
Merge pull request #2758 from Philoul/wear/new_custom_watchface
Wear CWF Refactoring and cleanup
2023-09-10 17:59:00 +02:00
Philoul d00c4e223e Wear CWF Include otf format compatibility for fonts 2023-09-09 23:21:54 +02:00
Philoul e33358d46c Wear CWF Clean loaded font before loading 2023-09-09 23:15:28 +02:00
Philoul a9b6fdef27 Wear CWF Cleanup unused properties 2023-09-09 19:56:27 +02:00
Philoul aa85b4f173 Wear CWF Refactor to allow more flexibility in additional resources 2023-09-09 19:15:43 +02:00
Ryan Haining 6e72ffed01 Rewrites WearUtilTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 89bd176996 Rewrites PairTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 36ce238cc9 Rewrites PodInfoFaultAndInitializationTimeTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 29113520c2 Rewrites PodInfoDetailedStatusTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 3d384c7db5 Rewrites PodInfoDataLogTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 19d2f9635a Rewrites PodInfoActiveAlertsTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 6606f5453e Rewrites StatusResponseTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 16d0f562c7 Rewrites PayloadSplitterTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 369c876d49 Rewrites DanaRsPacketBasalGetBasalRateTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 5a19329889 Rewrites DanaPumpTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 14262b5176 Rewrites SmsCommunicatorPluginTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 152ef1f910 Rewrites InsulinOrefBasePluginTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining e83d83b350 Rewrites SntpClientTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 2d8b1ecd90 Rewrites TriggerDeltaTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining e709ff7d45 Rewrites TriggerConnectorTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining e3e17456c2 Rewrites BolusWizardTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining 788eff4682 Rewrites TTest with matchers
Issue #2745
2023-09-09 07:09:11 -07:00
Ryan Haining ce5d2dfdbd Rewrites MidnightTimeTest with matchers
Issue #2745
2023-09-09 07:09:07 -07:00
Ryan Haining f639a78ff4 Rewrites IobTest with matchers
Issue #2745
2023-09-08 19:14:28 -07:00
Ryan Haining 75ff796510 Rewrites SafetyPluginTest with matchers
Issue #2745
2023-09-08 19:13:43 -07:00
Ryan Haining 9ea67288a1 Rewrites ConstraintsCheckerTest with matchers
Issue #2745
2023-09-08 19:10:57 -07:00
Milos Kozak ffb73ef14b
Merge pull request #2746 from ryanhaining/dev
Fixes timezone-dependent failing DateUtilTest
2023-09-08 08:18:35 +02:00
Milos Kozak 0da82b1c2e
Merge pull request #2752 from Philoul/wear/prediction_setting
Wear Add an intermediate menu for Watch preferences
2023-09-08 08:16:53 +02:00
Milos Kozak 82681b5b12 simplify core:validators dependencies 2023-09-07 23:59:35 +02:00
Philoul 27110b097e Wear Improve graph icon 2023-09-07 22:26:29 +02:00
Philoul 572e5b6b9a Wear Update Icons for menu 2023-09-07 19:41:49 +02:00
Milos Kozak f271c5a92d Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2023-09-07 12:25:16 +02:00
Milos Kozak 64281ccc61
Merge pull request #2751 from nightscout/dependabot/gradle/dev/androidx.lifecycle-lifecycle-viewmodel-ktx-2.6.2
chore(deps): bump androidx.lifecycle:lifecycle-viewmodel-ktx from 2.6.1 to 2.6.2
2023-09-07 12:23:55 +02:00
dependabot[bot] ba1641d850
chore(deps): bump androidx.lifecycle:lifecycle-viewmodel-ktx
Bumps androidx.lifecycle:lifecycle-viewmodel-ktx from 2.6.1 to 2.6.2.

---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-viewmodel-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 08:06:47 +00:00
Ryan Haining 3f8488b935 Adds @BeforeAll to set default timezone in DateUtilTest
Fixes #2747
2023-09-06 21:32:50 -07:00
Ryan Haining 6059a62b94 Replaces assertTrue with truth matchers in DateUtilTest
Issue #2745
2023-09-06 21:04:44 -07:00
Philoul d9bbb830b3 Wear Add preferenceMenuActivity 2023-09-06 23:35:04 +02:00
Milos Kozak cfc5d4e186 gradle cleanup 2023-09-06 12:48:50 +02:00
Milos Kozak 6e03835b29
Merge pull request #2743 from Philoul/wear/prediction_setting
Wear Move latest remaining Display setting from Phone to Watch (prediction lines)
2023-09-06 11:53:20 +02:00
Milos Kozak 51ef849b5c
Merge pull request #2744 from Philoul/wear/new_custom_watchface
Wear CWF Fix delay in DayName and Month format after watchface loading
2023-09-05 22:34:37 +02:00
Milos Kozak 89ad5f18b2
Merge pull request #2742 from jbr7rr/medtrum-fixes
Medtrum: Allow time for notifications to update sequence number
2023-09-05 21:50:53 +02:00
Philoul 7eb2f6fcc9 Merge remote-tracking branch 'Nightscout/dev' into wear/new_custom_watchface 2023-09-05 21:40:01 +02:00