Unverified Commit 6784ebc5 authored by Alexander Dahlberg's avatar Alexander Dahlberg Committed by GitHub

Fixed leak and removed no-shuffle tag on test/widgets/platform_view_test.dart (#88877)

parent cf9c8240
...@@ -3,11 +3,6 @@ ...@@ -3,11 +3,6 @@
// found in the LICENSE file. // found in the LICENSE file.
@TestOn('!chrome') @TestOn('!chrome')
// TODO(gspencergoog): Remove this tag once this test's state leaks/test
// dependencies have been fixed.
// https://github.com/flutter/flutter/issues/85160
// Fails with "flutter test --test-randomize-ordering-seed=4281596210"
@Tags(<String>['no-shuffle'])
import 'dart:async'; import 'dart:async';
import 'dart:typed_data'; import 'dart:typed_data';
...@@ -1191,6 +1186,10 @@ void main() { ...@@ -1191,6 +1186,10 @@ void main() {
testWidgets('clip is handled correctly during resizing', (WidgetTester tester) async { testWidgets('clip is handled correctly during resizing', (WidgetTester tester) async {
// Regressing test for https://github.com/flutter/flutter/issues/67343 // Regressing test for https://github.com/flutter/flutter/issues/67343
final FakeAndroidPlatformViewsController viewsController = FakeAndroidPlatformViewsController();
viewsController.registerViewType('webview');
Widget buildView(double width, double height, Clip clipBehavior) { Widget buildView(double width, double height, Clip clipBehavior) {
return Center( return Center(
child: SizedBox( child: SizedBox(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment