mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-23 07:50:42 +00:00
a7b8de6912
* 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
16 lines
500 B
Dart
16 lines
500 B
Dart
import 'package:lightmeter/data/models/supported_locale.dart';
|
|
import 'package:test/test.dart';
|
|
|
|
void main() {
|
|
test('intlName', () {
|
|
expect(SupportedLocale.en.intlName, 'en');
|
|
expect(SupportedLocale.fr.intlName, 'fr');
|
|
expect(SupportedLocale.ru.intlName, 'ru');
|
|
});
|
|
|
|
test('localizedName', () {
|
|
expect(SupportedLocale.en.localizedName, 'English');
|
|
expect(SupportedLocale.fr.localizedName, 'Français');
|
|
expect(SupportedLocale.ru.localizedName, 'Русский');
|
|
});
|
|
}
|