From fc2234b87f4ce29be0e556c6f3b085b749b7d71b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 16 Apr 2020 18:15:45 +0300 Subject: Add implementation --- libxerces-c/tests/psvi-writer/PSVIWriter | 1 + libxerces-c/tests/psvi-writer/buildfile | 11 +++++++++++ libxerces-c/tests/psvi-writer/testscript | 21 +++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 120000 libxerces-c/tests/psvi-writer/PSVIWriter create mode 100644 libxerces-c/tests/psvi-writer/buildfile create mode 100644 libxerces-c/tests/psvi-writer/testscript (limited to 'libxerces-c/tests/psvi-writer') diff --git a/libxerces-c/tests/psvi-writer/PSVIWriter b/libxerces-c/tests/psvi-writer/PSVIWriter new file mode 120000 index 0000000..92efd5c --- /dev/null +++ b/libxerces-c/tests/psvi-writer/PSVIWriter @@ -0,0 +1 @@ +../../../upstream/samples/src/PSVIWriter \ No newline at end of file diff --git a/libxerces-c/tests/psvi-writer/buildfile b/libxerces-c/tests/psvi-writer/buildfile new file mode 100644 index 0000000..9a5d84d --- /dev/null +++ b/libxerces-c/tests/psvi-writer/buildfile @@ -0,0 +1,11 @@ +# file : tests/psvi-writer/buildfile +# license : Apache License 2.0; see accompanying LICENSE file + +import libs = libxerces-c%lib{xerces-c} + +exe{driver}: PSVIWriter/{hxx cxx}{*} $libs testscript + +# Disable MSVC warnings that pop up with /W3. +# +if ($cxx.class == 'msvc') + cxx.coptions += /wd4267 diff --git a/libxerces-c/tests/psvi-writer/testscript b/libxerces-c/tests/psvi-writer/testscript new file mode 100644 index 0000000..5c3b58f --- /dev/null +++ b/libxerces-c/tests/psvi-writer/testscript @@ -0,0 +1,21 @@ +# file : tests/psvi-writer/testscript +# license : Apache License 2.0; see accompanying LICENSE file + +: utf8 +: +{ + cat <=f; + + + Mitteleuropäische catégorie + + EOI + + $* f >>~%EOO% + %.+ + %\s*% + %\s*Mitteleuropäische catégorie% + %\s*% + %.+ + EOO +} -- cgit v1.1