Community
Participate
Working Groups
There are some widgets in SWT that have multiple modes/styles. For example, Buttons have SWT.PUSH, SWT.CHECK, SWT.RADIO, etc. Some of these widgets have different internal background/foreground machinery depending on the style. At the moment these cases aren't tested very thoroughly which lead to potential test failures in higher level projects (Platform UI, for instance). For this bug I also plan to add some GTK specific test suites. For example testing selection color -- not supported by SWT API but still testable using some GTK calls.
New Gerrit change created: https://git.eclipse.org/r/103118
Gerrit change https://git.eclipse.org/r/103118 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=334287a185703d8952c40a064bec69d21e3f7961
(In reply to Eclipse Genie from comment #2) > Gerrit change https://git.eclipse.org/r/103118 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=334287a185703d8952c40a064bec69d21e3f7961 This adds the test cases for Combo. DateTime is still remaining. GTK specific tests will follow after that.
New Gerrit change created: https://git.eclipse.org/r/103197
Gerrit change https://git.eclipse.org/r/103197 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=ea429693630812722e09cb9ae700db050182f6f5
(In reply to Eclipse Genie from comment #5) > Gerrit change https://git.eclipse.org/r/103197 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=ea429693630812722e09cb9ae700db050182f6f5 DateTime cases merged. GTK specific tests to follow.
Eric, is this one still relevant? What's going on here?
(In reply to Alexander Kurtakov from comment #7) > Eric, is this one still relevant? What's going on here? I still have plans for some more tests to be added as JUnits and as platform specific tests. But they are low priority at the moment.
Maybe Xi can take this one?
(In reply to Alexander Kurtakov from comment #9) > Maybe Xi can take this one? Sure. The goal here is to create some platform specific JUnit tests that parse GTK CSS somehow and check things which SWT has no API for, like selection bg color, etc.
Xi, Eric, Is there smth still pending here?
(In reply to Alexander Kurtakov from comment #11) > Xi, Eric, Is there smth still pending here? Yes but it's not high priority, more just a little side task to improve some test coverage.