[Patch] fpcunit gui test runner: show green balls for ignored tests
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
When using fpcunit tests, sometimes you specify that tests should be ignored (e.g. for a certain platform, database etc).
Currently, the GUI test runner treats test results coming from this as failures instead of success. While understandable given the underlying fpcunit setup, it misrepresents statistics and gives the wrong idea: ignored test results should not be investigated but treated the same was as successful tests. Additionally, the fpc console test writer (e.g. plain text) also separate out the ignored tests from the failures.
Attached patch:
- uses green balls instead of purple balls/warning messages, but keeps the "ignored test" exception text etc for info
- cosmetic: replaces hard coded imagelist numbers with descriptive constants so code maintenance is easier
- cosmetic: updates copyright year, contributors
- cosmetic/automatic: update project to laz 1.3 layout
See screenshots: failure count decreases and colours are different
Patch to be applied in components\fpcunit
Mantis conversion info:
- Mantis ID: 25921
- OS: Windows
- OS Build: Windows 7
- Platform: x64 (with x86 compiler)
- Version: 1.3 (SVN)
- Fixed in revision: r44530 (#fc89c8dc)