Skip to content

Added unit tests for "AccessibleObject.FragmentNavigate" method in ToolStrip-related classes#8249

Merged
Tanya-Solyanik merged 4 commits intodotnet:mainfrom
v-elnovikova:Issue_6094_Adding_Tests_For_ToolStrip
Dec 1, 2022
Merged

Added unit tests for "AccessibleObject.FragmentNavigate" method in ToolStrip-related classes#8249
Tanya-Solyanik merged 4 commits intodotnet:mainfrom
v-elnovikova:Issue_6094_Adding_Tests_For_ToolStrip

Conversation

@v-elnovikova
Copy link
Contributor

@v-elnovikova v-elnovikova commented Nov 22, 2022

Fixes #6094

Proposed changes

Added missing unit tests to check the method behavior in these classes:

  • ToolStripAccessibleObject
  • MenuStripAccessibleObject
  • StatusStripAccessibleObject
  • ToolStripItemAccessibleObject
  • ToolStripDropDownButtonAccessibleObject
  • ToolStripOverflowAccessibleObject
  • ToolStripOverflowButtonAccessibleObject
  • ToolStripSplitButtonExAccessibleObject

This PR is a follow-up for #8248 that fixes buggy FragmentNavigate method in ToolStripAccessibleObject and it's subclasses. New unit tests verify the correct FragmentNavigate implementation.

Test environment(s)

  • .NET 7.0.0
  • Windows 11
Microsoft Reviewers: Open in CodeFlow

…d duplicate items reordering. Fixed AccessibleObject.FragmentNavigate method to return null when control handle is not created.
@v-elnovikova v-elnovikova force-pushed the Issue_6094_Adding_Tests_For_ToolStrip branch 4 times, most recently from 70f8c7e to bad1cdc Compare November 29, 2022 19:19
Copy link
Contributor

@dmitrii-drobotov dmitrii-drobotov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM👍

Copy link
Contributor

@Tanya-Solyanik Tanya-Solyanik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I added a nitpick.

@Tanya-Solyanik Tanya-Solyanik added waiting-author-feedback The team requires more information from the author and removed waiting-review This item is waiting on review by one or more members of team labels Nov 30, 2022
Copy link
Contributor

@NikitaSemenovAkvelon NikitaSemenovAkvelon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@v-elnovikova v-elnovikova force-pushed the Issue_6094_Adding_Tests_For_ToolStrip branch from bad1cdc to d949137 Compare December 1, 2022 12:56
@ghost ghost removed the waiting-author-feedback The team requires more information from the author label Dec 1, 2022
@v-elnovikova v-elnovikova added the waiting-review This item is waiting on review by one or more members of team label Dec 1, 2022
@Tanya-Solyanik Tanya-Solyanik merged commit 3ab342e into dotnet:main Dec 1, 2022
@ghost ghost added this to the 8.0 Preview1 milestone Dec 1, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Dec 31, 2022
@v-elnovikova v-elnovikova deleted the Issue_6094_Adding_Tests_For_ToolStrip branch May 25, 2023 08:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

waiting-review This item is waiting on review by one or more members of team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add missing unit tests for "AccessibleObject.FragmentNavigate" method

4 participants