-
Notifications
You must be signed in to change notification settings - Fork 2
/
g022.test-catalog.xml
103 lines (99 loc) · 3.35 KB
/
g022.test-catalog.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../lib/testcat-html.xsl"?>
<test-catalog xmlns="https://github.com/cmsmcq/ixml-tests"
xmlns:gt="http://blackmesatech.com/2020/grammartools"
gt:date="2021-01-26T11:17:06.93561-07:00"
release-date="2021-10-31"
name="G022-positive">
<description>
<p>This test catalog describes tests for the language defined by g022.ixml.xml.</p>
</description>
<test-set name="G022-positive">
<created by="Gingersnap (CMSMcQ)" on="2021-01-26"/>
<modified by="CMSMcQ" on="2021-11-15"
change="clear default ns on grammar and result, strip
ws from expected result"/>
<description>
<p>This test set was generated by Gingersnap.</p>
<p>Test polarity: positive.</p>
<p>Test selection: unroll + dnf + parsetree-generation.</p>
</description>
<vxml-grammar>
<ixml xmlns="">
<comment> g022: a small ixml grammar: 022
One of a series (initially for test case construction).
This one is an FSA with 0 nonfinal states, 2 final states, 2 arcs.
L is the set of strings with alternating a and b, length >= 0.
</comment>
<comment> Revisions:
2021-01-17 : CMSMcQ : made ixml
</comment>
<rule name="S">: <comment>nil</comment>
<alt/>
<alt>
<literal sstring="a"/>
<nonterminal name="A"/>
</alt>.
</rule>
<rule name="A">: <comment>nil</comment>
<alt/>
<alt>
<literal sstring="b"/>
<nonterminal name="S"/>
</alt>.</rule>
</ixml>
</vxml-grammar>
<!-- <vxml-grammar-ref href="g022.ixml.xml"/> -->
<test-case xml:id="S-1" name="G022-pos-001">
<created by="Gingersnap (CMSMcQ)" on="2021-01-26"/>
<test-string/>
<result>
<assert-xml>
<S xmlns=""/>
</assert-xml>
</result>
<app-info>
<raw-parse-tree>
<S xmlns=""/>
</raw-parse-tree>
</app-info>
</test-case>
<test-case xml:id="S-1" name="G022-pos-002">
<created by="Gingersnap (CMSMcQ)" on="2021-01-26"/>
<test-string>a</test-string>
<result>
<assert-xml>
<S xmlns="">a<A/></S>
</assert-xml>
</result>
<app-info>
<raw-parse-tree>
<S>
<gt:character dstring="a" hex="61">a</gt:character>
<A/>
</S>
</raw-parse-tree>
</app-info>
</test-case>
<test-case xml:id="S-1" name="G022-pos-003">
<created by="Gingersnap (CMSMcQ)" on="2021-01-26"/>
<test-string>ab</test-string>
<result>
<assert-xml>
<S xmlns="">a<A>b<S/></A></S>
</assert-xml>
</result>
<app-info>
<raw-parse-tree>
<S>
<gt:character dstring="a" hex="61">a</gt:character>
<A>
<gt:character dstring="b" hex="62">b</gt:character>
<S/>
</A>
</S>
</raw-parse-tree>
</app-info>
</test-case>
</test-set>
</test-catalog>