summaryrefslogtreecommitdiffstats
path: root/tests/ntriples/CMakeLists.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
commit4038ab95a094b363f1748f3dcb51511a1217475d (patch)
tree7f393d66a783f91ddd263c78d681e485cf4f45ca /tests/ntriples/CMakeLists.txt
parentInitial commit. (diff)
downloadraptor2-4038ab95a094b363f1748f3dcb51511a1217475d.tar.xz
raptor2-4038ab95a094b363f1748f3dcb51511a1217475d.zip
Adding upstream version 2.0.16.upstream/2.0.16upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ntriples/CMakeLists.txt')
-rw-r--r--tests/ntriples/CMakeLists.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/ntriples/CMakeLists.txt b/tests/ntriples/CMakeLists.txt
new file mode 100644
index 0000000..f22c2e7
--- /dev/null
+++ b/tests/ntriples/CMakeLists.txt
@@ -0,0 +1,53 @@
+# raptor/tests/ntriples/CMakeLists.txt
+#
+# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
+# This file is in the public domain.
+#
+
+RAPPER_TEST(ntriples.test
+ "${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/test.nt http://librdf.org/raptor/tests/test.nt"
+ test.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/test.out
+)
+
+ADD_TEST(ntriples.bad-00 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-00.nt http://librdf.org/raptor/tests/bad-00.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-01 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-01.nt http://librdf.org/raptor/tests/bad-01.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-02 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-02.nt http://librdf.org/raptor/tests/bad-02.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-03 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-03.nt http://librdf.org/raptor/tests/bad-03.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-04 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-04.nt http://librdf.org/raptor/tests/bad-04.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-05 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-05.nt http://librdf.org/raptor/tests/bad-05.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-06 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-06.nt http://librdf.org/raptor/tests/bad-06.nt) # WILL_FAIL
+ADD_TEST(ntriples.bad-07 ${RAPPER} -q -i ntriples -o ntriples file:${CMAKE_CURRENT_SOURCE_DIR}/bad-07.nt http://librdf.org/raptor/tests/bad-07.nt) # WILL_FAIL
+
+SET_TESTS_PROPERTIES(
+ ntriples.bad-00
+ ntriples.bad-01
+ ntriples.bad-02
+ ntriples.bad-03
+ ntriples.bad-04
+ ntriples.bad-05
+ ntriples.bad-06
+ ntriples.bad-07
+ PROPERTIES
+ WILL_FAIL TRUE
+)
+
+RAPPER_TEST(ntriples.testnq-1
+ "${RAPPER} -q -i nquads -o nquads file:${CMAKE_CURRENT_SOURCE_DIR}/testnq-1.nq http://librdf.org/raptor/tests/testnq-1.nq"
+ testnq-1.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/testnq-1.out
+)
+
+RAPPER_TEST(ntriples.testnq-optional-context
+ "${RAPPER} -q -i nquads -o nquads file:${CMAKE_CURRENT_SOURCE_DIR}/testnq-optional-context.nq http://librdf.org/raptor/tests/testnq-optional-context.nq"
+ testnq-optional-context.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/testnq-optional-context.out
+)
+
+RAPPER_TEST(ntriples.bug-481
+ "${RAPPER} -q -i nquads -o nquads file:${CMAKE_CURRENT_SOURCE_DIR}/bug-481.nq http://librdf.org/raptor/tests/bug-481.nq"
+ bug-481.res
+ ${CMAKE_CURRENT_SOURCE_DIR}/bug-481.out
+)
+
+# end raptor/tests/ntriples/CMakeLists.txt