| 1 |
function defaultStatus = emptyStatus(testsuite, testNumber) |
| 2 |
% constructs an empty status struct |
| 3 |
defaultStatus = struct(... |
| 4 |
'function', '', ... |
| 5 |
'description', '',... |
| 6 |
'testsuite', testsuite ,... |
| 7 |
'index', testNumber, ... |
| 8 |
'issues', [],... |
| 9 |
'unreliable', false, ... |
| 10 |
'skip', false, ... % skipped this test? |
| 11 |
'closeall', false, ... % call close all after? |
| 12 |
'extraOptions', {cell(0)}, ... |
| 13 |
'extraCleanfigureOptions',{cell(0)}, ... |
| 14 |
'plotStage', emptyStage(), ... |
| 15 |
'saveStage', emptyStage(), ... |
| 16 |
'tikzStage', emptyStage(), ... |
| 17 |
'hashStage', emptyStage() ... |
| 18 |
); |
| 19 |
|
| 20 |
% for reliable tests explicitly define width and height, see #659 |
| 21 |
% TODO: Remove explicitly setting this option. |
| 22 |
% After #641 is merged, this might be not needed anyhow. |
| 23 |
defaultStatus.extraCleanfigureOptions = {'targetResolution', [1000,500]}; |
| 24 |
end |