Commit graph

350 commits

Author SHA1 Message Date
Vadim
77bbeca92e added maybeOf getter for iap stub 2023-11-02 17:15:39 +01:00
Vadim
73ebc671f2 showBuyProDialog tests 2023-11-01 21:38:14 +01:00
Vadim
a41add2f97 split EquipmentProfileListener tests 2023-11-01 21:15:55 +01:00
Vadim
6507df2ad6 typo 2023-11-01 21:10:27 +01:00
Vadim
d26da843b3 EquipmentProfileListener tests 2023-11-01 21:09:56 +01:00
Vadim
ee7ebd585a import 2023-11-01 20:46:29 +01:00
Vadim
002b7c985a VolumeKeysNotifier tests 2023-11-01 20:45:48 +01:00
Vadim
3993abb68b removed unused TextLineHeight util 2023-11-01 11:48:57 +01:00
Vadim
ea32b320e3 SelectableInheritedModel tests 2023-11-01 11:46:52 +01:00
Vadim
ec6b37dfe0 toStringSignedAsFixed tests 2023-11-01 11:33:18 +01:00
Vadim
1ee87aff39 typo 2023-11-01 11:33:02 +01:00
Vadim
f71eba7dcf Merge branch 'main' of https://github.com/vodemn/m3_lightmeter into feature/ML-62 2023-11-01 11:32:33 +01:00
github-actions[bot]
37a3b79f04 Version bump 2023-11-01 10:16:41 +00:00
Vadim
d36db97959 Updated IAP version to fix network issue
https://github.com/flutter/flutter/issues/135540
2023-10-31 22:32:02 +01:00
Vadim
a52efcd341
ML-130 Integrate Firebase Remote Config (#132)
* implemented `RemoteConfigService`

* added alternative translations

* typo

* added `firebase_analytics`

* dim paid features list tiles

* log list tile tap instead of dialog

* implemented `RemoteConfigProvider`

* typo
2023-10-31 18:42:25 +01:00
Vadim
f3b08868be
ML-62 Providers tests + Platform & Application mocks (#131)
- Fixed test coverage calculation
- Removed `mockito` from the application mock
- Implemented platform channel mocks to mimic incident light metering
- Covered providers with unit tests
- Covered metering screen pickers with widget tests
- Laid foundation for integration tests
2023-10-20 16:12:43 +02:00
Vadim
61620acf97 typo 2023-10-20 16:11:44 +02:00
Vadim
2486c32213 added //coverage:ignore to ServicesProvider 2023-10-20 16:04:00 +02:00
Vadim
a4e7f9d3f9 Update README.md 2023-10-20 15:56:57 +02:00
Vadim
2fe36e0d9e UserPreferencesProvider tests 2023-10-20 15:46:41 +02:00
Vadim
049d0c7690 added storage action verification for FilmsProvider tests 2023-10-20 09:18:44 +02:00
Vadim
5aa6dccd3c typo 2023-10-19 22:23:05 +02:00
Vadim
822ddf5ac6 extended PR check timeout 2023-10-19 22:21:44 +02:00
Vadim
6cffcd1998 EquipmentProfileProvider tests 2023-10-19 20:40:49 +02:00
Vadim
f485a04424 IsoValuePicker tests 2023-10-19 20:27:42 +02:00
Vadim
f6452fbe96 data/models/ 100% coverage 2023-10-19 20:21:12 +02:00
Vadim
9baf1da157 implemented platform mocks for unit tests 2023-10-19 19:19:54 +02:00
Vadim
3c4d959cc6 removed MockIAPProductsProvider 2023-10-19 00:24:49 +02:00
Vadim
a19d08dcec typo 2023-10-19 00:15:00 +02:00
Vadim
9dbe46a64c moved screenshots generator to screenshots folder 2023-10-19 00:10:24 +02:00
Vadim
62121780ce removed integration tests for now 2023-10-18 23:58:57 +02:00
Vadim
4302217559 wip 2023-10-18 15:42:55 +02:00
Vadim
043439b71f fixed light sensor platform mocks 2023-10-18 15:18:59 +02:00
Vadim
24804a119e FilmPicker integration tests 2023-10-17 17:39:11 +02:00
Vadim
387d875038 extracted common values 2023-10-17 17:14:10 +02:00
Vadim
5e8f02afb2 fixed metering screen tests 2023-10-17 17:01:11 +02:00
Vadim
0e5762b88e unified granting camera permission on Android 2023-10-17 16:52:57 +02:00
Vadim
e91d0f88c7 set sharedprefs mock without redundant group 2023-10-17 12:08:37 +02:00
Vadim
4f1908c200 removed mockito mocks for integration tests
From no on these are the only mocks in use:
- Mock shared prefs initial values
- Mock platform responses (camera/light sensor)
2023-10-17 12:00:32 +02:00
Vadim
5a06669372 mock light meter lux stream 2023-10-17 11:58:48 +02:00
Vadim
b68e6384d9 Films in use test 2023-10-14 21:24:11 +02:00
Vadim
49412cfce4 split integration tests by screens 2023-10-14 20:56:44 +02:00
Vadim
b4f07ccd14 Metering layout features tests 2023-10-14 20:41:39 +02:00
Vadim
a5c8908983 removed unnecessary imports 2023-10-14 19:45:38 +02:00
Vadim
1c41abbde9 FilmPicker tests 2023-10-14 19:24:00 +02:00
Vadim
2e929d3630 Pass availableFilms to FilmsProvider 2023-10-09 17:39:40 +02:00
Vadim
12f222e334 EquipmentProfileProvider tests 2023-10-09 17:34:47 +02:00
Vadim
9d1c6534ca FilmsProvider tests 2023-10-09 17:05:19 +02:00
Vadim
68ccc5f01e Synced _iap_ stub with repo 2023-10-09 17:04:24 +02:00
Vadim
e06ee35265 Moved EquipmentProfileProvider & FilmsProvider to the main repo 2023-10-07 22:25:04 +02:00