Commit graph

325 commits

Author SHA1 Message Date
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
Vadim
069a07214c add not hit files to coverage percentage 2023-10-07 00:11:39 +02:00
Vadim
fce20c7154 fixed animated dialog picker tests 2023-10-07 00:11:21 +02:00
Vadim
e15d64b10f FilmPicker widget tests 2023-10-06 23:14:04 +02:00
Vadim
54898ba42e Match extreme exposure pairs & pairs list edge values 2023-10-06 15:42:16 +02:00
Vadim
0776a3b829 dialog picker test 2023-10-06 12:53:08 +02:00
Vadim
c7abfdedb2 ExtremeExposurePairsContainer widget test 2023-10-06 12:04:13 +02:00
Vadim
9203db5d02 Moved Animated dialog picker to widget tests 2023-10-06 11:18:40 +02:00
Vadim
5798916f6f AnimatedDialog picker standalone tests 2023-10-05 23:01:58 +02:00
Vadim
49a0da1403 Merge branch 'main' of https://github.com/vodemn/m3_lightmeter into feature/ML-62 2023-10-04 11:38:45 +02:00
Vadim
0b51db642c
ML-126 Automate screenshots creation (#128)
* generate screenshots with ep set to None
2023-09-29 12:45:39 +02:00
Vadim
e0320b6704
ML-126 Automate screenshots creation (#127)
* Create screenshot_driver.dart

* wip

* deleted screenshots

* iap mock

* generate for 3 colors

* cleanup

* generate single dark screenshots

* snake_case

* added stub image for camera

* scroll to the first checkbox selected

* unstub iap

* cleanup

* Update generate_screenshots.dart

* typo
2023-09-28 23:29:33 +02:00
ScaredCube
5b1b0b0540
Update intl_zh.arb of new features (#125) 2023-09-23 12:52:58 +02:00
github-actions[bot]
79105ab4f1 Version bump 2023-09-20 10:31:50 +00:00
Vadim
2a3c6b0b09
Added user feedback label to issue templates 2023-09-20 12:11:23 +02:00
Vadim
cc660de0c4
Fixed PR check (#122)
* updated stub script to work with tags

* depend on step conclusion

* check PR number
2023-09-20 11:58:04 +02:00
Vadim
4288be7d57 Use iap v0.4.0 2023-09-20 11:10:54 +02:00
github-actions[bot]
a5ad391273 Version bump 2023-09-19 18:45:24 +00:00
Vadim
9029379697 Merged Equipment section into Metering section 2023-09-19 17:26:32 +02:00
Vadim
abbc4c92de
ML-113 Add ability to copy equipment profile (#120)
* Display range values instead of values count

* copy equipment profile

* added `IconButton` tooltips
2023-09-18 16:59:53 +02:00
Vadim
0fbf252d9e
ML-117 Improve description of paid features (#119)
* wip

* added `LightmeterProSettingsSection`

* hide Pro section on purchase

* `ElevatedButton` -> `FilledButton`

* moved Pro description to iap/README.md

* intl

* disable only list tiles

* show iap dialog on every iap list tile
2023-09-17 22:29:02 +02:00
Vadim
cc9f162933
ML-107 Films filter (#118)
* added stub `FilmsProvider`

* moved dialogs to the shared folder

* typo

* separated `EquipmentSettingsSection`

* copy

* `IAPBuilder` -> `IAPListTile`

* moved `Film` to resources repo

* fixed films selection

* untied iso and selected film

* removed film from exposure pairs building

* indicate push/pull

* copy

* Update .gitignore

* fixed extreme exposure pairs reciprocity display

* sync with iap changes

* sync iap stub with iap changes

* added reciprocity description

* added workspace file

* Update .gitignore
2023-09-14 16:59:16 +02:00
github-actions[bot]
1be7c3be48 Version bump 2023-09-08 22:03:01 +00:00
Vadim
8415f4e515
ML-114 Metering container issues (#116)
* fixed top bar cutout shape

* update closed offset on layout change
2023-09-08 23:46:31 +02:00
Vadim
cf4373d854
Equipment profiles issues (#115)
* update equipment profile from dialog

* updated `MeteringScreenLayoutFeaturesDialog` translations
2023-09-08 22:25:13 +02:00
Vadim
4201d36abb Refined launch options 2023-09-03 13:06:30 +02:00