mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 08:56:16 +01:00
c8922bb143
2006-05-28 Matthias Clasen <mclasen@redhat.com> * tests/markups/expected-*: Output that test-markup is expected to produce when run on the valid gmarkup examples. * tests/markup-test.c: Only dump the results of the first, unchunked parse, to compare it against the expected output. * tests/run-markup-tests.sh: For valid examples, compare the output of test-markup against the corresponding expected-<n> file.
38 lines
664 B
Plaintext
38 lines
664 B
Plaintext
PASS '<!-- Comment -->'
|
|
PASS '<?PI ?>'
|
|
ELEMENT 'foobar'
|
|
TEXT '
|
|
'
|
|
ELEMENT 'e1'
|
|
TEXT 'Hi & this is some text inside an element Two 'E' chars as character refs: E E and some 'J': J J'
|
|
END 'e1'
|
|
TEXT '
|
|
'
|
|
ELEMENT 'e2:foo'
|
|
TEXT ' Text '
|
|
ELEMENT 'childfree'
|
|
END 'childfree'
|
|
TEXT ' with some '
|
|
ELEMENT 'nested'
|
|
TEXT 'nested elements'
|
|
END 'nested'
|
|
TEXT ' and entities "& < >> ' and whitespace '
|
|
END 'e2:foo'
|
|
TEXT '
|
|
'
|
|
ELEMENT 'tag'
|
|
ab="fo<o"
|
|
bar="foo"
|
|
baz="blah"
|
|
TEXT 'This element has attributes'
|
|
END 'tag'
|
|
TEXT '
|
|
'
|
|
ELEMENT 'nochildren'
|
|
a="b"
|
|
xyz="qrs"
|
|
END 'nochildren'
|
|
TEXT '
|
|
'
|
|
END 'foobar'
|