]>
Commit | Line | Data |
---|---|---|
d0b18239 | 1 | # we require all branches of the union to be covered |
3313b612 MAL |
2 | |
3 | ## | |
4 | # @TestEnum: | |
5 | ## | |
d0b18239 EB |
6 | { 'enum': 'TestEnum', |
7 | 'data': [ 'value1', 'value2' ] } | |
3313b612 MAL |
8 | ## |
9 | # @TestTypeA: | |
10 | ## | |
d0b18239 EB |
11 | { 'struct': 'TestTypeA', |
12 | 'data': { 'string': 'str' } } | |
3313b612 MAL |
13 | ## |
14 | # @TestUnion: | |
15 | ## | |
d0b18239 EB |
16 | { 'union': 'TestUnion', |
17 | 'base': { 'type': 'TestEnum' }, | |
18 | 'discriminator': 'type', | |
19 | 'data': { 'value1': 'TestTypeA' } } |