renamed test groups

This commit is contained in:
Vadim 2023-06-15 14:57:03 +02:00
parent f9b18330cd
commit 35af009f99
4 changed files with 14 additions and 14 deletions

View file

@ -50,7 +50,7 @@ void main() {
});
group(
'`MeasureEvent` tests',
'`MeasureEvent`',
() {
blocTest<MeteringBloc, MeteringState>(
'`MeasureEvent` -> success',
@ -144,7 +144,7 @@ void main() {
);
group(
'`IsoChangedEvent` tests',
'`IsoChangedEvent`',
() {
blocTest<MeteringBloc, MeteringState>(
'Pick different ISO (ev100 != null)',
@ -263,7 +263,7 @@ void main() {
);
group(
'`NdChangedEvent` tests',
'`NdChangedEvent`',
() {
blocTest<MeteringBloc, MeteringState>(
'Pick different ND (ev100 != null)',
@ -378,7 +378,7 @@ void main() {
);
group(
'`FilmChangedEvent` tests',
'`FilmChangedEvent`',
() {
blocTest<MeteringBloc, MeteringState>(
'Pick different film with different ISO',
@ -487,7 +487,7 @@ void main() {
// TODO(vodemn): when this feautre is enabled
// group(
// '`EquipmentProfileChangedEvent` tests',
// '`EquipmentProfileChangedEvent`',
// () {
//
// },

View file

@ -16,7 +16,7 @@ void main() {
});
group(
'`MeasureEvent` tests',
'`MeasureEvent`',
() {
blocTest<MeteringCommunicationBloc, MeteringCommunicationState>(
'Multiple consequtive measure events',
@ -60,7 +60,7 @@ void main() {
);
group(
'`MeteringInProgressEvent` tests',
'`MeteringInProgressEvent`',
() {
blocTest<MeteringCommunicationBloc, MeteringCommunicationState>(
'Multiple consequtive in progress events',
@ -83,7 +83,7 @@ void main() {
);
group(
'`MeteringEndedEvent` tests',
'`MeteringEndedEvent`',
() {
blocTest<MeteringCommunicationBloc, MeteringCommunicationState>(
'Multiple consequtive ended events',

View file

@ -119,7 +119,7 @@ void main() {
});
group(
'`RequestPermissionEvent` tests',
'`RequestPermissionEvent`',
() {
blocTest<CameraContainerBloc, CameraContainerState>(
'Request denied',
@ -176,7 +176,7 @@ void main() {
);
group(
'`InitializeEvent`/`DeinitializeEvent` tests',
'`InitializeEvent`/`DeinitializeEvent`',
() {
blocTest<CameraContainerBloc, CameraContainerState>(
'No cameras detected error',
@ -269,7 +269,7 @@ void main() {
);
group(
'`_takePicture()` tests',
'`_takePicture()`',
() {
blocTest<CameraContainerBloc, CameraContainerState>(
'Returned ev100 == null',
@ -325,7 +325,7 @@ void main() {
);
group(
'`ZoomChangedEvent` tests',
'`ZoomChangedEvent`',
() {
blocTest<CameraContainerBloc, CameraContainerState>(
'Set zoom multiple times',
@ -372,7 +372,7 @@ void main() {
);
group(
'`ExposureOffsetChangedEvent`/`ExposureOffsetResetEvent` tests',
'`ExposureOffsetChangedEvent`/`ExposureOffsetResetEvent`',
() {
blocTest<CameraContainerBloc, CameraContainerState>(
'Set exposure offset multiple times and reset',

View file

@ -39,7 +39,7 @@ void main() {
});
group(
'`LuxMeteringEvent` tests',
'`LuxMeteringEvent`',
() {
const List<int> luxIterable = [1, 2, 2, 2, 3];
final List<double> resultList = luxIterable.map((lux) => log2(lux / 2.5)).toList();