summaryrefslogtreecommitdiffstats
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorGravatar Sami Kortelainen2026-02-25 02:27:00 +0100
committerGravatar Nikias Bassen2026-02-25 02:27:00 +0100
commit6e03a1df6d1aa87c8f9e2b35f1a2ca60feca1c0e (patch)
treea571c74147d33da0a4dbfade178180c692c60447 /test/Makefile.am
parentf5e74fc1e007b8f625d91e40c160785580de8f60 (diff)
downloadlibplist-6e03a1df6d1aa87c8f9e2b35f1a2ca60feca1c0e.tar.gz
libplist-6e03a1df6d1aa87c8f9e2b35f1a2ca60feca1c0e.tar.bz2
xplist: Enforce single root value inside <plist>HEADmaster
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.am9
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) \