mirror of
https://github.com/flutter/packages.git
synced 2025-06-26 11:08:50 +08:00
[camera, camera_android] Re-enable passing integration tests (#5658)
Re-enables `Capture specific image resolutions` tests that pass, but were previously failing according to https://github.com/flutter/flutter/issues/93686.
This commit is contained in:
@ -69,8 +69,7 @@ void main() {
|
||||
expectedSize, Size(image.height.toDouble(), image.width.toDouble()));
|
||||
}
|
||||
|
||||
testWidgets(
|
||||
'Capture specific image resolutions',
|
||||
testWidgets('Capture specific image resolutions',
|
||||
(WidgetTester tester) async {
|
||||
final List<CameraDescription> cameras = await availableCameras();
|
||||
if (cameras.isEmpty) {
|
||||
@ -91,10 +90,7 @@ void main() {
|
||||
await controller.dispose();
|
||||
}
|
||||
}
|
||||
},
|
||||
// TODO(egarciad): Fix https://github.com/flutter/flutter/issues/93686.
|
||||
skip: true,
|
||||
);
|
||||
});
|
||||
|
||||
// This tests that the capture is no bigger than the preset, since we have
|
||||
// automatic code to fall back to smaller sizes when we need to. Returns
|
||||
|
@ -70,8 +70,7 @@ void main() {
|
||||
expectedSize, Size(image.height.toDouble(), image.width.toDouble()));
|
||||
}
|
||||
|
||||
testWidgets(
|
||||
'Capture specific image resolutions',
|
||||
testWidgets('Capture specific image resolutions',
|
||||
(WidgetTester tester) async {
|
||||
final List<CameraDescription> cameras =
|
||||
await CameraPlatform.instance.availableCameras();
|
||||
@ -93,10 +92,7 @@ void main() {
|
||||
await controller.dispose();
|
||||
}
|
||||
}
|
||||
},
|
||||
// TODO(egarciad): Fix https://github.com/flutter/flutter/issues/93686.
|
||||
skip: true,
|
||||
);
|
||||
});
|
||||
|
||||
// This tests that the capture is no bigger than the preset, since we have
|
||||
// automatic code to fall back to smaller sizes when we need to. Returns
|
||||
|
Reference in New Issue
Block a user