Commit 0334215
committed
Correct GC tests to properly execute at non-default device zoom
Some GC tests are explicitly executed on a non-default device zoom.
However, most of them use a GC as subject to test that is created in a
setup method that is thus using the original device zoom instead of the
non-default one set by the test afterwards.
This change ensures that when executing a test with a non-default device
zoom, the GC used as subject to test is recreated to rely on that
modified device zoom.1 parent 5b42ae5 commit 0334215
File tree
1 file changed
+6
-2
lines changed- tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
| 641 | + | |
| 642 | + | |
642 | 643 | | |
643 | 644 | | |
644 | 645 | | |
645 | 646 | | |
646 | 647 | | |
647 | 648 | | |
| 649 | + | |
648 | 650 | | |
649 | 651 | | |
650 | 652 | | |
| |||
853 | 855 | | |
854 | 856 | | |
855 | 857 | | |
856 | | - | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
857 | 861 | | |
858 | 862 | | |
859 | 863 | | |
| |||
0 commit comments