Commit graph

294 commits

Author SHA1 Message Date
Vadim
dbf1f09eb6 Renamed EquipmentProfileData -> EquipmentProfile 2023-07-24 09:08:37 +02:00
Vadim
b13acedebd
ML-62 Interactors tests (#87)
* 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

* `MeteringInteractor` tests

* `SettingsInteractor` tests (wip)

* `MeteringInteractor` tests (wip)

* `SettingsInteractor` tests
2023-07-10 17:49:34 +02:00
Vadim
729f68ec71 SettingsInteractor tests 2023-07-10 17:48:21 +02:00
Vadim
5672440837 MeteringInteractor tests (wip) 2023-07-10 17:41:36 +02:00
Vadim
e631dd7d55 SettingsInteractor tests (wip) 2023-07-10 17:36:42 +02:00
Vadim
e665b23513 MeteringInteractor tests 2023-07-10 17:20:19 +02:00
Vadim
a5e01d9300 Merge branch 'main' of https://github.com/vodemn/m3_lightmeter into feature/ML-62 2023-07-10 16:18:59 +02:00
Vadim
47f7b61230 Updated issuesReportUrl to lead to _/new/choose_ 2023-07-10 16:15:57 +02:00
Vadim
37fe6a4a5d
Update issue templates 2023-07-10 16:01:41 +02:00
Vadim
a25ccc0fad
Update issue templates 2023-07-10 13:08:03 +02:00
vodemn
b53603b3f5 Version bump 2023-07-09 11:50:22 +00:00
Vadim
e001c153fb
ML-11 Implement volume buttons actions (#86)
* [Android] wip

* implemented `VolumeEventsService`

* implemented `VolumeKeysListener` (wip)

* Added screenshots links

* [Android] nullable typo

* implemented `VolumeKeysNotifier`

* deinitialize camera when on Settings screen

* disable volume handling when on Settings screen

* used "platform" package to mock `isAndroid`

* init/deinit camera on settings open

* allow volume action override only on metering screen

* lints

* cleanup

* await dispose

* tests

* reduced `SwitchListTile.contentPadding`

* fixed tests

* removed `VolumeAction.zoom`

* added social preview

* typo

* fixed `CameraContainerBloc` tests

* added `Stream.empty()` tests
2023-07-09 13:39:33 +02:00
Vadim
ed83540dde
ML-61 Allow pushes from Github Action to protected branch (#85)
* Replaced zipping action

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

* typo

* recursive: false

* typo

* typo

* debugSymbolLevel 'FULL'

* Update build.gradle

* Version bump

* wip

* wip

* `create-release` job

* removed changelog input

* added `needs`

* Version bump

* typo

* returned to macos-11 runner

* reverted pubspec version

* Version bump

* download artifacts

* Version bump

* extended artifacts path

* Version bump

* added LS

* Version bump

* Version bump

* rename files

* Version bump

* removed ls

* Version bump

* revert version

* typo

* added push to protected branch action

* run push on ubuntu-latest

* added branch name conditions

* Version bump

* typo

* Version bump
2023-06-28 17:53:54 +02:00
Vadim
79d6034894
ML-61 Update version in pubspec & create Github release from GitHub actions (#84)
* Replaced zipping action

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

* typo

* recursive: false

* typo

* typo

* debugSymbolLevel 'FULL'

* Update build.gradle

* Version bump

* wip

* wip

* `create-release` job

* removed changelog input

* added `needs`

* Version bump

* typo

* returned to macos-11 runner

* reverted pubspec version

* Version bump

* download artifacts

* Version bump

* extended artifacts path

* Version bump

* added LS

* Version bump

* Version bump

* rename files

* Version bump

* removed ls

* Version bump

* revert version

* typo
2023-06-27 12:17:35 +02:00
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