|
12 | 12 | %-- id: 7b59c0b9-b200-4b53-951d-6851dbd1cdc8
|
13 | 13 | %-- name: joe097
|
14 | 14 |
|
15 |
| -% individual tests |
16 |
| -t1.name = 'FILE'; |
17 |
| -t1.tests = TestFile(); |
18 |
| -t2.name = 'BLOCK'; |
19 |
| -t2.tests = TestBlock(); |
20 |
| -t3.name = 'SOURCE'; |
21 |
| -t3.tests = TestSource(); |
22 |
| -t4.name = 'DATA ARRAY'; |
23 |
| -t4.tests = TestDataArray(); |
24 |
| -t5.name = 'TAG'; |
25 |
| -t5.tests = TestTag(); |
26 |
| -t6.name = 'MULTITAG'; |
27 |
| -t6.tests = TestMultiTag(); |
28 |
| -t7.name = 'SECTION'; |
29 |
| -t7.tests = TestSection(); |
30 |
| -t8.name = 'FEATURE'; |
31 |
| -t8.tests = TestFeature(); |
32 |
| -t9.name = 'PROPERTY'; |
33 |
| -t9.tests = TestProperty(); |
34 |
| -t10.name = 'DIMENSIONS'; |
35 |
| -t10.tests = TestDimensions(); |
36 |
| -t11.name = 'GROUP'; |
37 |
| -t11.tests = TestGroup(); |
38 |
| - |
39 |
| -% concatenate all test handles |
40 |
| -all_tests = {t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11}; |
| 15 | +all_tests = {}; |
| 16 | +all_tests{end+1} = struct('name', 'FILE', 'tests', {TestFile()}); |
| 17 | +all_tests{end+1} = struct('name', 'BLOCK', 'tests', {TestBlock()}); |
| 18 | +all_tests{end+1} = struct('name', 'GROUP', 'tests', {TestGroup()}); |
| 19 | +all_tests{end+1} = struct('name', 'SOURCE', 'tests', {TestSource()}); |
| 20 | +all_tests{end+1} = struct('name', 'DATAARRAY', 'tests', {TestDataArray()}); |
| 21 | +all_tests{end+1} = struct('name', 'TAG', 'tests', {TestTag()}); |
| 22 | +all_tests{end+1} = struct('name', 'MULTITAG', 'tests', {TestMultiTag()}); |
| 23 | +all_tests{end+1} = struct('name', 'SECTION', 'tests', {TestSection()}); |
| 24 | +all_tests{end+1} = struct('name', 'FEATURE', 'tests', {TestFeature()}); |
| 25 | +all_tests{end+1} = struct('name', 'PROPERTY', 'tests', {TestProperty()}); |
| 26 | +all_tests{end+1} = struct('name', 'DIMENSIONS', 'tests', {TestDimensions()}); |
41 | 27 |
|
42 | 28 | for i = 1:length(all_tests)
|
43 | 29 | fprintf([10 'Execute ' all_tests{i}.name ' tests:\n\n']);
|
|
0 commit comments