Fixed leak and removed no-shuffle tag on test/widgets/platform_view_test.dart (#88877)
This commit is contained in:
committed by
GitHub
parent
cf9c8240fc
commit
6784ebc57b
@@ -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(<String>['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(
|
||||
|
||||
Reference in New Issue
Block a user