summaryrefslogtreecommitdiffstats
path: root/test/medium++.test
diff options
context:
space:
mode:
authorGravatar Sébastien Gonzalve2023-04-21 12:40:18 +0200
committerGravatar Nikias Bassen2023-04-21 12:40:18 +0200
commit25ace1e8cb7f9a464c29dd2ce80cd68104d54f84 (patch)
treeb084e02e0021d78c62bae94ac2e2f214631a469d /test/medium++.test
parent12c45a21b4f223ca2a4ccba42ade2366f4dbde5c (diff)
downloadlibplist-25ace1e8cb7f9a464c29dd2ce80cd68104d54f84.tar.gz
libplist-25ace1e8cb7f9a464c29dd2ce80cd68104d54f84.tar.bz2
Add C++ interface test
Diffstat (limited to 'test/medium++.test')
-rwxr-xr-xtest/medium++.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/medium++.test b/test/medium++.test
new file mode 100755
index 0000000..3488dfd
--- /dev/null
+++ b/test/medium++.test
@@ -0,0 +1,15 @@
+## -*- sh -*-
+
+DATASRC=$top_srcdir/test/data
+DATAOUT=$top_builddir/test/data
+TESTFILE=3.plist
+
+if ! test -d "$DATAOUT"; then
+ mkdir -p $DATAOUT
+fi
+
+echo "Converting"
+$top_builddir/test/plist_test++ $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out
+
+echo "Comparing"
+$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out