This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 1 file changed +0
-24
lines changed
shell/platform/android/test/io/flutter/embedding/engine/mutatorsstack
1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -230,30 +230,6 @@ public void ignoreAccessibilityEvents() {
230
230
assertFalse (eventSent );
231
231
}
232
232
233
- @ Test
234
- @ Config (
235
- shadows = {
236
- ShadowViewGroup .class ,
237
- })
238
- public void sendAccessibilityEvents () {
239
- final FlutterMutatorView wrapperView = new FlutterMutatorView (ctx );
240
-
241
- final View embeddedView = mock (View .class );
242
- wrapperView .addView (embeddedView );
243
-
244
- when (embeddedView .getImportantForAccessibility ())
245
- .thenReturn (View .IMPORTANT_FOR_ACCESSIBILITY_YES );
246
- boolean eventSent =
247
- wrapperView .requestSendAccessibilityEvent (embeddedView , mock (AccessibilityEvent .class ));
248
- assertTrue (eventSent );
249
-
250
- when (embeddedView .getImportantForAccessibility ())
251
- .thenReturn (View .IMPORTANT_FOR_ACCESSIBILITY_AUTO );
252
- eventSent =
253
- wrapperView .requestSendAccessibilityEvent (embeddedView , mock (AccessibilityEvent .class ));
254
- assertTrue (eventSent );
255
- }
256
-
257
233
@ Implements (ViewGroup .class )
258
234
public static class ShadowViewGroup extends org .robolectric .shadows .ShadowView {
259
235
@ Implementation
You can’t perform that action at this time.
0 commit comments