immich/mobile/test/fixtures/exif.stub.dart
shenlong 653fa3f0b1
chore(mobile): add orientation tests for exif (#16806)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2025-03-11 09:25:46 -05:00

19 lines
477 B
Dart

import 'package:immich_mobile/domain/models/exif.model.dart';
abstract final class ExifStub {
static final size = const ExifInfo(assetId: 1, fileSize: 1000);
static final gps = const ExifInfo(
assetId: 2,
latitude: 20,
longitude: 20,
city: 'city',
state: 'state',
country: 'country',
);
static final rotated90CW = const ExifInfo(assetId: 3, orientation: "90");
static final rotated270CW = const ExifInfo(assetId: 4, orientation: "-90");
}