mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
debug prints :)
This commit is contained in:
parent
80f33d3b4d
commit
ecf3643ffe
3 changed files with 11 additions and 6 deletions
12
.github/workflows/run_integration_tests.yml
vendored
12
.github/workflows/run_integration_tests.yml
vendored
|
@ -48,6 +48,12 @@ jobs:
|
||||||
flutter pub get
|
flutter pub get
|
||||||
flutter pub run intl_utils:generate
|
flutter pub run intl_utils:generate
|
||||||
flutter analyze lib --fatal-infos
|
flutter analyze lib --fatal-infos
|
||||||
|
if [ "${{ matrix.os }}" == "macos-13" ]
|
||||||
|
then
|
||||||
|
cd ios
|
||||||
|
pod install
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
flutter build ${{ matrix.os == 'ubuntu-latest' && 'apk --debug' || 'ios --no-codesign --simulator --debug' }} $BUILD_ARGS -t $TARGET
|
flutter build ${{ matrix.os == 'ubuntu-latest' && 'apk --debug' || 'ios --no-codesign --simulator --debug' }} $BUILD_ARGS -t $TARGET
|
||||||
|
|
||||||
- name: Enable KVM
|
- name: Enable KVM
|
||||||
|
@ -74,8 +80,4 @@ jobs:
|
||||||
model: "iPhone 15 Pro"
|
model: "iPhone 15 Pro"
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: ${{ matrix.os == 'macos-13' }}
|
if: ${{ matrix.os == 'macos-13' }}
|
||||||
run: |
|
run: flutter test $TARGET $BUILD_ARGS
|
||||||
cd ios
|
|
||||||
pod install
|
|
||||||
cd ..
|
|
||||||
flutter test $TARGET $BUILD_ARGS
|
|
||||||
|
|
|
@ -50,6 +50,7 @@ class CameraContainerBloc extends EvSourceBlocBase<CameraContainerEvent, CameraC
|
||||||
communicationBloc,
|
communicationBloc,
|
||||||
const CameraInitState(),
|
const CameraInitState(),
|
||||||
) {
|
) {
|
||||||
|
print('CameraContainerBloc');
|
||||||
_observer = _WidgetsBindingObserver(_appLifecycleStateObserver);
|
_observer = _WidgetsBindingObserver(_appLifecycleStateObserver);
|
||||||
WidgetsBinding.instance.addObserver(_observer);
|
WidgetsBinding.instance.addObserver(_observer);
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,9 @@ class MockCameraContainerBloc extends CameraContainerBloc {
|
||||||
super._meteringInteractor,
|
super._meteringInteractor,
|
||||||
super.communicationBloc,
|
super.communicationBloc,
|
||||||
super._analytics,
|
super._analytics,
|
||||||
);
|
) {
|
||||||
|
print('MockCameraContainerBloc');
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> _onRequestPermission(_, Emitter emit) async {
|
Future<void> _onRequestPermission(_, Emitter emit) async {
|
||||||
|
|
Loading…
Reference in a new issue