Commit graph

330 commits

Author SHA1 Message Date
Vadim
8ff387c5c5 Fixed com.google.gms:google-services version 2023-06-23 11:41:58 +02:00
Vadim
2735f0b66f
ML-81 Unsaved fractional stops (#83)
* save stop type to sharedPrefs

* tests
2023-06-23 10:47:34 +02:00
Vadim
0c58134733
ML-62 Services tests (#82)
* removed redundant `UserPreferencesService` from `MeteringBloc`

* wip

* post-merge fixes

* `MeasureEvent` tests

* `MeasureEvent` tests revision

* `MeasureEvent` tests added timeout

* added stubs for other `MeteringBloc` events

* rewritten `MeteringBloc` logic

* wip

* `IsoChangedEvent` tests

* refined `IsoChangedEvent` tests

* `NdChangedEvent` tests

* `FilmChangedEvent` tests

* `MeteringCommunicationBloc` tests

* added test run to ci

* overriden `==` for `MeasuredState`

* `LuxMeteringEvent` tests

* refined `LuxMeteringEvent` tests

* rename

* wip

* wip

* `InitializeEvent`/`DeinitializeEvent` tests

* clamp minZoomLevel

* fixed `MeteringCommunicationBloc` tests

* wip

* `ZoomChangedEvent` tests

* `ExposureOffsetChangedEvent`/`ExposureOffsetResetEvent` tests

* renamed test groups

* added test coverage script

* improved `CameraContainerBloc` test coverage

* `EquipmentProfileChangedEvent` tests

* verify response vibration

* fixed running all tests

* `MeteringCommunicationBloc` equality tests

* `CameraContainerBloc` equality tests

* removed generated code from coverage

* `MeteringScreenLayoutFeature` tests

* `SupportedLocale` tests

* `Film` tests

* `CaffeineService` tests

* `UserPreferencesService` tests (wip)

* `LightSensorService` tests (wip)

* `migrateOldKeys()` tests

* ignore currently unused getters & setters

* gradle upgrade

* `reset(sharedPreferences);` calls count

* typo
2023-06-23 10:35:33 +02:00
Vadim
de24b98782 typo 2023-06-23 10:31:08 +02:00
Vadim
f5b71e98b6 reset(sharedPreferences); calls count 2023-06-23 10:10:15 +02:00
Vadim
1252096f4c gradle upgrade 2023-06-23 09:25:09 +02:00
Vadim
532df61cdf ignore currently unused getters & setters 2023-06-22 22:08:05 +02:00
Vadim
f611434d51 migrateOldKeys() tests 2023-06-22 22:05:55 +02:00
Vadim
ed09fadd07 LightSensorService tests (wip) 2023-06-22 17:01:01 +02:00
Vadim
d1e440c9ea UserPreferencesService tests (wip) 2023-06-22 16:52:17 +02:00
Vadim
41431ba0b8 CaffeineService tests 2023-06-21 12:49:18 +02:00
Vadim
edf2b953c2 Merge branch 'main' of https://github.com/vodemn/m3_lightmeter into feature/ML-62 2023-06-21 11:32:40 +02:00
Vadim
a7b8de6912
ML-62 Models tests (#80)
* removed redundant `UserPreferencesService` from `MeteringBloc`

* wip

* post-merge fixes

* `MeasureEvent` tests

* `MeasureEvent` tests revision

* `MeasureEvent` tests added timeout

* added stubs for other `MeteringBloc` events

* rewritten `MeteringBloc` logic

* wip

* `IsoChangedEvent` tests

* refined `IsoChangedEvent` tests

* `NdChangedEvent` tests

* `FilmChangedEvent` tests

* `MeteringCommunicationBloc` tests

* added test run to ci

* overriden `==` for `MeasuredState`

* `LuxMeteringEvent` tests

* refined `LuxMeteringEvent` tests

* rename

* wip

* wip

* `InitializeEvent`/`DeinitializeEvent` tests

* clamp minZoomLevel

* fixed `MeteringCommunicationBloc` tests

* wip

* `ZoomChangedEvent` tests

* `ExposureOffsetChangedEvent`/`ExposureOffsetResetEvent` tests

* renamed test groups

* added test coverage script

* improved `CameraContainerBloc` test coverage

* `EquipmentProfileChangedEvent` tests

* verify response vibration

* fixed running all tests

* `MeteringCommunicationBloc` equality tests

* `CameraContainerBloc` equality tests

* removed generated code from coverage

* `MeteringScreenLayoutFeature` tests

* `SupportedLocale` tests

* `Film` tests
2023-06-21 11:29:36 +02:00
Vadim
0c2b315f5d Film tests 2023-06-21 11:11:01 +02:00
Vadim
d935d7f6de SupportedLocale tests 2023-06-21 08:58:55 +02:00
Vadim
83dd6228cf MeteringScreenLayoutFeature tests 2023-06-21 08:54:36 +02:00
Vadim
539e6f2a8f Merge branch 'main' of https://github.com/vodemn/m3_lightmeter into feature/ML-62 2023-06-21 08:45:18 +02:00
Vadim
4d1550f1e7 Version bump 2023-06-20 15:05:57 +02:00
Vadim
02ece15c5d
ML-61 Try using buildTypes.release.ndk.debugSymbolLevel 'FULL' (#79)
* Replaced zipping action

thedoctor0/zip-release@0.7.1 -> vimtor/action-zip@v1.1

* typo

* recursive: false

* typo

* typo

* debugSymbolLevel 'FULL'

* Update build.gradle
2023-06-20 14:48:28 +02:00
Vadim
74d0a7101c
ML-62 Bloc's tests (#78)
* removed redundant `UserPreferencesService` from `MeteringBloc`

* wip

* post-merge fixes

* `MeasureEvent` tests

* `MeasureEvent` tests revision

* `MeasureEvent` tests added timeout

* added stubs for other `MeteringBloc` events

* rewritten `MeteringBloc` logic

* wip

* `IsoChangedEvent` tests

* refined `IsoChangedEvent` tests

* `NdChangedEvent` tests

* `FilmChangedEvent` tests

* `MeteringCommunicationBloc` tests

* added test run to ci

* overriden `==` for `MeasuredState`

* `LuxMeteringEvent` tests

* refined `LuxMeteringEvent` tests

* rename

* wip

* wip

* `InitializeEvent`/`DeinitializeEvent` tests

* clamp minZoomLevel

* fixed `MeteringCommunicationBloc` tests

* wip

* `ZoomChangedEvent` tests

* `ExposureOffsetChangedEvent`/`ExposureOffsetResetEvent` tests

* renamed test groups

* added test coverage script

* improved `CameraContainerBloc` test coverage

* `EquipmentProfileChangedEvent` tests

* verify response vibration

* fixed running all tests

* `MeteringCommunicationBloc` equality tests

* `CameraContainerBloc` equality tests

* removed generated code from coverage
2023-06-20 08:43:49 +02:00
Vadim
667cfe2b03 removed generated code from coverage 2023-06-20 08:31:36 +02:00
Vadim
d09b533a2d CameraContainerBloc equality tests 2023-06-20 08:26:25 +02:00
Vadim
33274ad1f6 MeteringCommunicationBloc equality tests 2023-06-15 23:29:56 +02:00
Vadim
801ddd9589 fixed running all tests 2023-06-15 23:09:43 +02:00
Vadim
604ee097a6 verify response vibration 2023-06-15 23:05:04 +02:00
Vadim
2a7463184b EquipmentProfileChangedEvent tests 2023-06-15 15:58:48 +02:00
Vadim
dca34f6721 improved CameraContainerBloc test coverage 2023-06-15 15:15:41 +02:00
Vadim
e230a05b5f added test coverage script 2023-06-15 15:15:24 +02:00
Vadim
35af009f99 renamed test groups 2023-06-15 14:57:03 +02:00
Vadim
f9b18330cd ExposureOffsetChangedEvent/ExposureOffsetResetEvent tests 2023-06-14 23:34:44 +02:00
Vadim
a9f648791e ZoomChangedEvent tests 2023-06-14 23:23:54 +02:00
Vadim
d39cf7575c wip 2023-06-14 23:07:10 +02:00
Vadim
b555bb2a50 fixed MeteringCommunicationBloc tests 2023-06-14 22:16:31 +02:00
Vadim
6eab2ceeee clamp minZoomLevel 2023-06-14 22:15:38 +02:00
Vadim
cc56f7f6de InitializeEvent/DeinitializeEvent tests 2023-06-14 22:13:54 +02:00
Vadim
4ff6e40c4a wip 2023-06-12 17:05:32 +02:00
Vadim
737daad6d0 wip 2023-06-12 17:02:04 +02:00
Vadim
2eb94f8a09 rename 2023-06-12 16:13:55 +02:00
Vadim
a3d875f066 refined LuxMeteringEvent tests 2023-06-12 16:13:03 +02:00
Vadim
8e1b64da64 LuxMeteringEvent tests 2023-06-12 16:10:40 +02:00
Vadim
7fdacfac37 overriden == for MeasuredState 2023-06-09 23:22:21 +02:00
Vadim
422ac9d528 added test run to ci 2023-06-09 14:53:22 +02:00
Vadim
c92ab5209b MeteringCommunicationBloc tests 2023-06-09 14:51:15 +02:00
Vadim
5e1fe200c5 FilmChangedEvent tests 2023-06-09 14:34:59 +02:00
Vadim
a03fadb953 NdChangedEvent tests 2023-06-09 14:17:02 +02:00
Vadim
8ce3c9e938 refined IsoChangedEvent tests 2023-06-09 14:11:55 +02:00
Vadim
7706dc743d IsoChangedEvent tests 2023-06-09 14:01:17 +02:00
Vadim
b30d9ceb2e wip 2023-06-09 13:55:11 +02:00
Vadim
abf4d77342 rewritten MeteringBloc logic 2023-06-09 13:52:16 +02:00
Vadim
07367afdac added stubs for other MeteringBloc events 2023-06-08 12:16:23 +02:00