Skip to content

Commit cab057d

Browse files
authored
fix typos in AccessibilityEventsDelegateTest.java (#189280)
## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [AI contribution guidelines] and understand my responsibilities, or I am not using AI tools. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [ ] I listed at least one issue that this PR fixes in the description above. - [ ] I updated/added relevant documentation (doc comments with `///`). - [ ] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. If this change needs to override an active code freeze, provide a comment explaining why. The code freeze workflow can be overridden by code reviewers. See pinned issues for any active code freezes with guidance. **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview [AI contribution guidelines]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines [Tree Hygiene]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md [Features we expect every widget to implement]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md [Data Driven Fixes]: https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
1 parent 77559d3 commit cab057d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎engine/src/flutter/shell/platform/android/test/io/flutter/plugin/platform/AccessibilityEventsDelegateTest.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@RunWith(AndroidJUnit4.class)
2525
public class AccessibilityEventsDelegateTest {
2626
@Test
27-
public void acessibilityEventsDelegate_forwardsAccessibilityEvents() {
27+
public void accessibilityEventsDelegate_forwardsAccessibilityEvents() {
2828
final AccessibilityBridge mockAccessibilityBridge = mock(AccessibilityBridge.class);
2929
final View embeddedView = mock(View.class);
3030
final View originView = mock(View.class);
@@ -43,7 +43,7 @@ public void acessibilityEventsDelegate_forwardsAccessibilityEvents() {
4343
}
4444

4545
@Test
46-
public void acessibilityEventsDelegate_withoutBridge_noopsAccessibilityEvents() {
46+
public void accessibilityEventsDelegate_withoutBridge_noopsAccessibilityEvents() {
4747
final View embeddedView = mock(View.class);
4848
final View originView = mock(View.class);
4949
final AccessibilityEvent event = mock(AccessibilityEvent.class);
@@ -56,7 +56,7 @@ public void acessibilityEventsDelegate_withoutBridge_noopsAccessibilityEvents()
5656
}
5757

5858
@Test
59-
public void acessibilityEventsDelegate_forwardsHoverEvents() {
59+
public void accessibilityEventsDelegate_forwardsHoverEvents() {
6060
final AccessibilityBridge mockAccessibilityBridge = mock(AccessibilityBridge.class);
6161
final MotionEvent event = mock(MotionEvent.class);
6262

@@ -71,7 +71,7 @@ public void acessibilityEventsDelegate_forwardsHoverEvents() {
7171
}
7272

7373
@Test
74-
public void acessibilityEventsDelegate_withoutBridge_noopsHoverEvents() {
74+
public void accessibilityEventsDelegate_withoutBridge_noopsHoverEvents() {
7575
final MotionEvent event = mock(MotionEvent.class);
7676

7777
AccessibilityEventsDelegate delegate = new AccessibilityEventsDelegate();

0 commit comments

Comments
 (0)