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

Unit test writing for controls to test HiDpi #1292

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

ShahzaibIbrahim
Copy link
Contributor

@ShahzaibIbrahim ShahzaibIbrahim commented Jun 20, 2024

Adding unit test for each control wherever possible in WidgetWin32Test class. Target area is testing all the properties that were affected in each control in HandleDpiChange method.

Contributes to #62 and #127

Requires

Copy link
Contributor

github-actions bot commented Jun 20, 2024

Test Results

   477 files   - 1     477 suites   - 1   9m 34s ⏱️ +6s
 4 147 tests +9   4 138 ✅ +8   8 💤 ±0  1 ❌ +1 
16 354 runs  +9  16 261 ✅ +8  92 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit e7f8f16. ± Comparison against base commit 9cf9fa7.

♻️ This comment has been updated with latest results.

@ShahzaibIbrahim ShahzaibIbrahim marked this pull request as draft June 24, 2024 08:42
@ShahzaibIbrahim ShahzaibIbrahim force-pushed the master-75 branch 4 times, most recently from 95023a7 to cdbd91c Compare June 24, 2024 10:03
@fedejeanne
Copy link
Contributor

@ShahzaibIbrahim I added

Requires #1299

... to the description because I see you added a test class that inherits from Win32AutoscaleTestBase. Let's wait until the matter is resolved before merging.

Sorry for the inconvenience.

@fedejeanne
Copy link
Contributor

Changed description: this PR requires #1305

@ShahzaibIbrahim ShahzaibIbrahim marked this pull request as ready for review July 3, 2024 13:30
Copy link
Contributor

@fedejeanne fedejeanne left a comment

Choose a reason for hiding this comment

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

Also, please check the basics

@ShahzaibIbrahim ShahzaibIbrahim force-pushed the master-75 branch 3 times, most recently from 6afb8da to b3b04e1 Compare July 4, 2024 13:07
@fedejeanne
Copy link
Contributor

Also, please check the basics

@ShahzaibIbrahim a hint:
image

@ShahzaibIbrahim ShahzaibIbrahim force-pushed the master-75 branch 2 times, most recently from 7d016ce to a68911a Compare July 5, 2024 14:50
Since HiDpi support is added in all controls of SWT, we have provided
individual unit tests wherever possible
@fedejeanne fedejeanne merged commit 70c7bf6 into eclipse-platform:master Jul 15, 2024
13 of 14 checks passed
@ShahzaibIbrahim ShahzaibIbrahim deleted the master-75 branch August 2, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants