[MGNLIMG-152] Consistency in how test images are generated, stored and kept (or not) for inspection Created: 13/Mar/15 Updated: 19/May/22 Resolved: 19/May/22 |
|
| Status: | Closed |
| Project: | Imaging |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.x |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Magnolia International | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
We have info.magnolia.imaging.AbstractImagingTest#KEEP_GENERATED_FILES_FOR_INSPECTION, but some test methods bypass it: AbstractImagingTest#write() method use it, but tests using AbstractImagingTest#newOutputFile() directly do not.
|
| Comments |
| Comment by Magnolia International [ 13/Mar/15 ] |
|
I had to fix this in part for if (isRunningClover()) { outputDir += "-clover"; } private static boolean isRunningClover() { try { Class.forName("com_atlassian_clover.Clover"); return true; } catch (Throwable e) { return false; } } |
| Comment by Roman Kovařík [ 19/May/22 ] |
|
Hello, This ticket is now marked as closed due to one of the following reasons:
If you are still facing a problem or consider this issue still relevant, please feel free to re-open the ticket and we will reach out to you. Thank you, |