Commit 4276a2d
committed
[test] Always draw fresh histograms in stressGraphics.
In the past, stressGraphics was retrieving a histogram from a file,
modifying it and drawing it. In subsequent tests, the histogram is again
read from the TFile, but this returns the in-memory object. This means
that the previous tests influence the subsequent tests, e.g. whether or
not statistics objects are displayed.
In particular, subsequent tests will have the statistics box drawn
twice, once from THistPainter::PaintStat(), and once from the fact that
the box is added to the list of functions. This impacts output files
such as PDF/PS/SVG.
Here, the histogram is always cloned when it is retrieved from the file,
so the tests are independent. The reference files for SVG are
regenerated, because the statistics box is now only drawn once.
Similarly, the output size of the .ps files has been corrected to
reflect that the boxes are only drawn once.1 parent e2bb891 commit 4276a2d
File tree
6 files changed
+7
-415
lines changed- test
- svg_ref
6 files changed
+7
-415
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2016 | 2016 | | |
2017 | 2017 | | |
2018 | 2018 | | |
2019 | | - | |
| 2019 | + | |
2020 | 2020 | | |
2021 | 2021 | | |
2022 | 2022 | | |
| |||
3828 | 3828 | | |
3829 | 3829 | | |
3830 | 3830 | | |
3831 | | - | |
| 3831 | + | |
3832 | 3832 | | |
3833 | 3833 | | |
3834 | 3834 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Loading
0 commit comments