From 4038ab95a094b363f1748f3dcb51511a1217475d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:40:05 +0200 Subject: Adding upstream version 2.0.16. Signed-off-by: Daniel Baumann --- tests/ntriples/CMakeLists.txt | 53 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 tests/ntriples/CMakeLists.txt (limited to 'tests/ntriples/CMakeLists.txt') 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. +# 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 -- cgit v1.2.3