From 6784ebc57b0441d411679e3b575df9baa1a6498b Mon Sep 17 00:00:00 2001 From: Alexander Dahlberg Date: Tue, 31 Aug 2021 02:41:06 +0200 Subject: [PATCH] Fixed leak and removed no-shuffle tag on test/widgets/platform_view_test.dart (#88877) --- packages/flutter/test/widgets/platform_view_test.dart | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/flutter/test/widgets/platform_view_test.dart b/packages/flutter/test/widgets/platform_view_test.dart index 4c30efa2de..b2c9890638 100644 --- a/packages/flutter/test/widgets/platform_view_test.dart +++ b/packages/flutter/test/widgets/platform_view_test.dart @@ -3,11 +3,6 @@ // found in the LICENSE file. @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(['no-shuffle']) import 'dart:async'; import 'dart:typed_data'; @@ -1191,6 +1186,10 @@ void main() { testWidgets('clip is handled correctly during resizing', (WidgetTester tester) async { // 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) { return Center( child: SizedBox(