From 1b0242264c5a7f01fe00dc4711d2e4c63f0f1022 Mon Sep 17 00:00:00 2001 From: philippepons Date: Thu, 7 Mar 2024 14:20:43 +0100 Subject: [PATCH] test le lancement de basexserver avec github CI --- tests/launcher.xq | 9 --------- tests/utilsTest.xqm | 32 -------------------------------- 2 files changed, 41 deletions(-) delete mode 100644 tests/launcher.xq delete mode 100644 tests/utilsTest.xqm diff --git a/tests/launcher.xq b/tests/launcher.xq deleted file mode 100644 index 903836d..0000000 --- a/tests/launcher.xq +++ /dev/null @@ -1,9 +0,0 @@ -xquery version '3.0' ; - -import module namespace test = "https://github.com/chartes/dots/tests" at "utilsTest.xqm"; - - -(: :) -(: test:check-metadata-output() :) -"" - diff --git a/tests/utilsTest.xqm b/tests/utilsTest.xqm deleted file mode 100644 index 6b510dd..0000000 --- a/tests/utilsTest.xqm +++ /dev/null @@ -1,32 +0,0 @@ -xquery version '3.0' ; - -module namespace test = "https://github.com/chartes/dots/tests"; - -declare namespace dc = "http://purl.org/dc/elements/1.1/"; -declare namespace dct = "http://purl.org/dc/terms/"; - -import module namespace G = "https://github.com/chartes/dots/globals" at "../globals.xqm"; -import module namespace dots.lib = "https://github.com/chartes/dots/lib" at "../lib/resources_register_builder.xqm"; - -declare variable $test:dbTestName := "encpos"; - -(: UtilsTest.xqm -: -: Module pour tester (...) -:) - -declare function test:checkCollectionNumber() { - let $path := concat($G:webapp, "/dots/data_test/encpos") - for $file in file:list($path, true()) - return - $file -}; - -(: Documentation du test :) -(: declare %unit:test function test:check-metadata-output() { - let $expected := - "vador" - return - unit:assert-equals(test:fixture-OK(), $expected) -}; :) -