mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
Output that test-markup is expected to produce when run on the valid
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.
This commit is contained in:
committed by
Matthias Clasen
parent
2585e9aadb
commit
c8922bb143
37
tests/markups/expected-1
Normal file
37
tests/markups/expected-1
Normal file
@@ -0,0 +1,37 @@
|
||||
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'
|
Reference in New Issue
Block a user