|
20 | 20 | %-- id: 7b59c0b9-b200-4b53-951d-6851dbd1cdc8
|
21 | 21 | %-- name: joe097
|
22 | 22 |
|
23 |
| -all_tests = {}; |
24 |
| -all_tests{end+1} = struct('name', 'FILE', 'tests', {TestFile()}); |
25 |
| -all_tests{end+1} = struct('name', 'BLOCK', 'tests', {TestBlock()}); |
26 |
| -all_tests{end+1} = struct('name', 'GROUP', 'tests', {TestGroup()}); |
27 |
| -all_tests{end+1} = struct('name', 'SOURCE', 'tests', {TestSource()}); |
28 |
| -all_tests{end+1} = struct('name', 'DATAARRAY', 'tests', {TestDataArray()}); |
29 |
| -all_tests{end+1} = struct('name', 'TAG', 'tests', {TestTag()}); |
30 |
| -all_tests{end+1} = struct('name', 'MULTITAG', 'tests', {TestMultiTag()}); |
31 |
| -all_tests{end+1} = struct('name', 'SECTION', 'tests', {TestSection()}); |
32 |
| -all_tests{end+1} = struct('name', 'FEATURE', 'tests', {TestFeature()}); |
33 |
| -all_tests{end+1} = struct('name', 'PROPERTY', 'tests', {TestProperty()}); |
34 |
| -all_tests{end+1} = struct('name', 'DIMENSIONS', 'tests', {TestDimensions()}); |
35 |
| - |
36 |
| -for i = 1:length(all_tests) |
37 |
| - fprintf([10 'Execute ' all_tests{i}.name ' tests:\n\n']); |
| 23 | +all = {}; |
| 24 | +all{end+1} = struct('name', 'FILE', 'tests', {TestFile()}); |
| 25 | +all{end+1} = struct('name', 'BLOCK', 'tests', {TestBlock()}); |
| 26 | +all{end+1} = struct('name', 'GROUP', 'tests', {TestGroup()}); |
| 27 | +all{end+1} = struct('name', 'SOURCE', 'tests', {TestSource()}); |
| 28 | +all{end+1} = struct('name', 'DATAARRAY', 'tests', {TestDataArray()}); |
| 29 | +all{end+1} = struct('name', 'TAG', 'tests', {TestTag()}); |
| 30 | +all{end+1} = struct('name', 'MULTITAG', 'tests', {TestMultiTag()}); |
| 31 | +all{end+1} = struct('name', 'SECTION', 'tests', {TestSection()}); |
| 32 | +all{end+1} = struct('name', 'FEATURE', 'tests', {TestFeature()}); |
| 33 | +all{end+1} = struct('name', 'PROPERTY', 'tests', {TestProperty()}); |
| 34 | +all{end+1} = struct('name', 'DIMENSIONS', 'tests', {TestDimensions()}); |
| 35 | + |
| 36 | +for i = 1:length(all) |
| 37 | + fprintf([10 'Execute ' all{i}.name ' tests:\n\n']); |
38 | 38 |
|
39 |
| - for j = 1:length(all_tests{i}.tests) |
40 |
| - stats = wrapper(all_tests{i}.tests{j}, stats); |
| 39 | + for j = 1:length(all{i}.tests) |
| 40 | + stats = wrapper(all{i}.tests{j}, stats); |
41 | 41 | end
|
42 | 42 | end;
|
43 | 43 |
|
|
0 commit comments