Skip to content

Commit

Permalink
fix test-case for RenderView (#146825)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimilkalathiya authored Apr 16, 2024
1 parent 194fefa commit 2240998
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/flutter/test/animation/live_binding_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ library;

import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart';

void main() {
/*
Expand Down Expand Up @@ -79,8 +78,6 @@ void main() {
}, skip: true); // Typically skip: isBrowser https://github.com/flutter/flutter/issues/42767

testWidgets('Should show event indicator for pointer events with setSurfaceSize',
// TODO(polina-c): root layer is leaking, https://github.com/flutter/flutter/issues/146742 [leaks-to-clean]
experimentalLeakTesting: LeakTesting.settings.withIgnoredAll(),
(WidgetTester tester) async {
final AnimationSheetBuilder animationSheet = AnimationSheetBuilder(frameSize: const Size(200, 200), allLayers: true);
addTearDown(animationSheet.dispose);
Expand Down Expand Up @@ -113,6 +110,7 @@ void main() {
);

await tester.binding.setSurfaceSize(const Size(300, 300));
addTearDown(() => tester.binding.setSurfaceSize(null));
await tester.pumpWidget(target(recording: false));

await tester.pumpFrames(target(), const Duration(milliseconds: 50));
Expand Down

0 comments on commit 2240998

Please sign in to comment.