diff options
| author | 2026-02-25 02:27:00 +0100 | |
|---|---|---|
| committer | 2026-02-25 02:27:00 +0100 | |
| commit | 6e03a1df6d1aa87c8f9e2b35f1a2ca60feca1c0e (patch) | |
| tree | a571c74147d33da0a4dbfade178180c692c60447 /test/Makefile.am | |
| parent | f5e74fc1e007b8f625d91e40c160785580de8f60 (diff) | |
| download | libplist-6e03a1df6d1aa87c8f9e2b35f1a2ca60feca1c0e.tar.gz libplist-6e03a1df6d1aa87c8f9e2b35f1a2ca60feca1c0e.tar.bz2 | |
Ensure that XML property lists contain exactly one root value inside the <plist> element and reject any additional value nodes before </plist>.
Add tests covering root value handling and nested CF$UID conversion behavior.
Co-authored-by: Sami Kortelainen <sami.kortelainen@piceasoft.com>
Co-authored-by: Nikias Bassen <nikias@gmx.li>
Diffstat (limited to 'test/Makefile.am')
| -rw-r--r-- | test/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index a4191c4..f9f21e4 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -13,7 +13,8 @@ noinst_PROGRAMS = \ integer_set_test \ plist_btest \ plist_jtest \ - plist_otest + plist_otest \ + xml_behavior_test plist_cmp_SOURCES = plist_cmp.c plist_cmp_LDADD = \ @@ -38,6 +39,9 @@ plist_jtest_LDADD = $(top_builddir)/src/libplist-2.0.la plist_otest_SOURCES = plist_otest.c plist_otest_LDADD = $(top_builddir)/src/libplist-2.0.la +xml_behavior_test_SOURCES = xml_behavior_test.c +xml_behavior_test_LDADD = $(top_builddir)/src/libplist-2.0.la + TESTS = \ empty.test \ small.test \ @@ -79,7 +83,8 @@ TESTS = \ ostep2.test \ ostep-strings.test \ ostep-comments.test \ - ostep-invalid-types.test + ostep-invalid-types.test \ + xml_behavior.test EXTRA_DIST = \ $(TESTS) \ |
