Make sure to opt hcpp tests into using hcpp (#162906)

🤦
This commit is contained in:
Jonah Williams 2025-02-07 15:17:06 -08:00 committed by GitHub
parent 7c894c091f
commit 045fb9989c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -127,9 +127,9 @@ Future<void> runAndroidEngineTests({required ImpellerBackend impellerBackend}) a
} }
const String kSurfaceControlMetadataDisabled = const String kSurfaceControlMetadataDisabled =
'<meta-data android:name="io.flutter.embedding.android.UseSurfaceControl" android:value="false" />'; '<meta-data android:name="io.flutter.embedding.android.EnableSurfaceControl" android:value="false" />';
const String kSurfaceControlMetadataEnabled = const String kSurfaceControlMetadataEnabled =
'<meta-data android:name="io.flutter.embedding.android.UseSurfaceControl" android:value="true" />'; '<meta-data android:name="io.flutter.embedding.android.EnableSurfaceControl" android:value="true" />';
String _impellerBackendMetadata({required String value}) { String _impellerBackendMetadata({required String value}) {
return '<meta-data android:name="io.flutter.embedding.android.ImpellerBackend" android:value="$value" />'; return '<meta-data android:name="io.flutter.embedding.android.ImpellerBackend" android:value="$value" />';

View File

@ -25,7 +25,7 @@ final class MainApp extends StatelessWidget {
const MainApp({super.key}); const MainApp({super.key});
// This should appear as the yellow line over a blue box. The // This should appear as the yellow line over a blue box. The
// red box should not be visible unless the platform view has not loaded yet. // green box should not be visible unless the platform view has not loaded yet.
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return const MaterialApp( return const MaterialApp(
@ -33,7 +33,7 @@ final class MainApp extends StatelessWidget {
home: Stack( home: Stack(
alignment: AlignmentDirectional.center, alignment: AlignmentDirectional.center,
children: <Widget>[ children: <Widget>[
SizedBox(width: 190, height: 190, child: ColoredBox(color: Colors.red)), SizedBox(width: 190, height: 190, child: ColoredBox(color: Colors.green)),
SizedBox( SizedBox(
width: 200, width: 200,
height: 200, height: 200,