Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that all WinForms controls have unit tests coverage for public APIs #10453

Open
27 of 29 tasks
Tanya-Solyanik opened this issue Dec 8, 2023 · 2 comments · Fixed by #10476
Open
27 of 29 tasks

Ensure that all WinForms controls have unit tests coverage for public APIs #10453

Tanya-Solyanik opened this issue Dec 8, 2023 · 2 comments · Fixed by #10476
Assignees
Labels
🚧 work in progress Work that is current in progress test-enhancement Improvements of test source code
Milestone

Comments

@Tanya-Solyanik
Copy link
Member

Tanya-Solyanik commented Dec 8, 2023

Following controls are missing test coverage for public methods:
System.Windows.Forms

@Tanya-Solyanik Tanya-Solyanik added this to the .NET 9.0 milestone Dec 8, 2023
@LeafShi1 LeafShi1 changed the title Ensure that all WinForms controls ahve unit tests coverage Ensure that all WinForms controls have unit tests coverage Dec 11, 2023
@elachlan elachlan added the test-enhancement Improvements of test source code label Dec 11, 2023
@paul1956
Copy link
Contributor

paul1956 commented Dec 25, 2023

@Olina-Zhang @Tanya-Solyanik I don't think the VB code has much test coverage. I added some in my yet to be merged PR #9867. I was not able to add anything for Network Uploads as I have no idea how to access a server to upload to.

@Tanya-Solyanik
Copy link
Member Author

@paul1956 - good point about the missing VB-specific coverage. We'll add it after the C# coverage is in done.

@ghost ghost added the 🚧 work in progress Work that is current in progress label Dec 28, 2023
@ghost ghost removed the 🚧 work in progress Work that is current in progress label Jan 10, 2024
@LeafShi1 LeafShi1 reopened this Jan 12, 2024
@LeafShi1 LeafShi1 removed their assignment Jan 17, 2024
@Tanya-Solyanik Tanya-Solyanik changed the title Ensure that all WinForms controls have unit tests coverage Ensure that all WinForms controls have unit tests coverage for public APIs Feb 16, 2024
@dotnet-policy-service dotnet-policy-service bot added the 🚧 work in progress Work that is current in progress label Mar 12, 2024
Tanya-Solyanik pushed a commit that referenced this issue Jan 7, 2025
)

related #10453

Proposed changes
Add unit tests for DataGridViewTopLeftHeaderCellAccessibleObject to test its DefaultAction, Name properties, State and DoDefaultAction, Navigate events
Enable nullability in DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs.
Update to use the TheoryData<> pattern for theory tests
Tanya-Solyanik pushed a commit that referenced this issue Jan 7, 2025
Related #10453

Proposed changes
Add unit tests for NumericUpDownAcceleration.cs to test its properties & methods
Enable nullability in NumericUpDownAccelerationTests.cs
Tanya-Solyanik pushed a commit that referenced this issue Jan 7, 2025
related #10453

Proposed changes
Add unit tests for LinkUtilities to test its GetIELinkBehavior and EnsureLinkFonts methods.
Tanya-Solyanik pushed a commit that referenced this issue Jan 7, 2025
)

related #10453

Proposed changes
Add unit tests for ToolStripPanelControlCollectionXYComparer.cs to test its methods
Tanya-Solyanik pushed a commit that referenced this issue Jan 8, 2025
related #10453

Proposed changes
Add unit tests for DataGridViewTextBoxColumn to test its Constructor, CellTemplate, MaxInputLength, SortMode properties and ToString() method
Enable nullability in DataGridViewTextBoxColumnTests.cs
Tanya-Solyanik pushed a commit that referenced this issue Jan 8, 2025
related #10453

Proposed changes
Add unit tests for DataGridViewRowHeightInfoPushedEventArgs.cs to test its properties
ricardobossan pushed a commit to ricardobossan/winforms that referenced this issue Jan 9, 2025
…net#12707)

related dotnet#10453

Proposed changes
Add unit tests for DataGridViewTopLeftHeaderCellAccessibleObject to test its DefaultAction, Name properties, State and DoDefaultAction, Navigate events
Enable nullability in DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs.
Update to use the TheoryData<> pattern for theory tests
ricardobossan pushed a commit to ricardobossan/winforms that referenced this issue Jan 9, 2025
Related dotnet#10453

Proposed changes
Add unit tests for NumericUpDownAcceleration.cs to test its properties & methods
Enable nullability in NumericUpDownAccelerationTests.cs
ricardobossan pushed a commit to ricardobossan/winforms that referenced this issue Jan 9, 2025
related dotnet#10453

Proposed changes
Add unit tests for LinkUtilities to test its GetIELinkBehavior and EnsureLinkFonts methods.
ricardobossan pushed a commit to ricardobossan/winforms that referenced this issue Jan 9, 2025
…net#12711)

related dotnet#10453

Proposed changes
Add unit tests for ToolStripPanelControlCollectionXYComparer.cs to test its methods
ricardobossan pushed a commit to ricardobossan/winforms that referenced this issue Jan 9, 2025
related dotnet#10453

Proposed changes
Add unit tests for DataGridViewTextBoxColumn to test its Constructor, CellTemplate, MaxInputLength, SortMode properties and ToString() method
Enable nullability in DataGridViewTextBoxColumnTests.cs
ricardobossan pushed a commit to ricardobossan/winforms that referenced this issue Jan 9, 2025
…t#12673)

related dotnet#10453

Proposed changes
Add unit tests for DataGridViewRowHeightInfoPushedEventArgs.cs to test its properties
Tanya-Solyanik pushed a commit that referenced this issue Jan 16, 2025
related #10453

Proposed changes
Add unit tests for DataGridViewColumnConverter.cs to test its methods
Tanya-Solyanik pushed a commit that referenced this issue Jan 16, 2025
related #10453

Proposed changes
Add unit tests for DataGridViewSortCompareEventArgs to test its Constructor initialization, SortResult property
Enable nullability in DataGridViewSortCompareEventArgsTests.cs
Tanya-Solyanik pushed a commit that referenced this issue Jan 22, 2025
related #10453

Proposed changes
Add unit tests for DataGridViewButtonColumn.cs to test its methods & properties
@dotnet dotnet deleted a comment from SimonZhao888 Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 work in progress Work that is current in progress test-enhancement Improvements of test source code
Projects
None yet
6 participants