X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/1691c8e0712e30666de2e667a5050eccb0086f71..c1fa847c85017d4edf5c2439c772d903261e5a12:/topic-maps.asd diff --git a/topic-maps.asd b/topic-maps.asd index 6aa6fca..d21167f 100644 --- a/topic-maps.asd +++ b/topic-maps.asd @@ -2,7 +2,7 @@ (asdf:defsystem "topic-maps/xml" :description "Pinned, patched CXML byte boundary with mandatory external-resource denial; no XTM" :version "0.0.1" :license "MIT" :depends-on ("cxml") :serial t - :components ((:file "src/xml/package") (:file "src/xml/parser"))) + :components ((:file "src/xml/package") (:file "src/xml/parser") (:file "src/xml/resource-c14n"))) (asdf:defsystem "topic-maps" :description "Independent CTM test foundation; no parsing or deserialization" @@ -230,3 +230,90 @@ :perform (asdf:test-op (operation component) (declare (ignore operation component)) (uiop:symbol-call :topic-maps.include.tests :run-tests))) + +(asdf:defsystem "topic-maps/xtm" + :description "XTM 2.0 identity, instanceOf and basic Names using the qualified XML byte boundary" + :version "0.19.1" :license "MIT" :depends-on ("topic-maps/tmdm" "topic-maps/xml") :serial t + :components ((:file "src/xtm/package") (:file "src/xtm/iri") (:file "src/xtm/reader")) + :in-order-to ((asdf:test-op (asdf:test-op "topic-maps/xtm/tests")))) + +(asdf:defsystem "topic-maps/xtm/tests" + :description "XTM identity/Name/Scope/Item-Identity/Variant and Occurrence checks with registered original contracts and cause-qualified negative originals" + :depends-on ("topic-maps/xtm" "topic-maps/cxtm" "topic-maps") :serial t + :components ((:file "tests/xtm-identity") (:file "tests/xtm-negative-originals") (:file "tests/xtm-names") (:file "tests/xtm-name-scopes") (:file "tests/xtm-name-item-identities") (:file "tests/xtm-variants") (:file "tests/xtm-variant-resourcerefs") (:file "tests/xtm-variant-uri-data") (:file "tests/xtm-variant-item-identities") (:file "tests/xtm-map-reification") (:file "tests/xtm-name-reification") (:file "tests/xtm-name-reification-originals") (:file "tests/xtm-variant-reification") (:file "tests/xtm-resource-datatypes") (:file "tests/xtm-mergemap") (:file "tests/xtm-occurrences") (:file "tests/xtm-mergemap-originals") (:file "tests/xtm-associations") (:file "tests/xtm-item-identities") (:file "tests/xtm-occurrence-reifier-native") (:file "tests/xtm-occurrence-reification") (:file "tests/xtm-association-reifier-native") (:file "tests/xtm-association-reification") (:file "tests/xtm-role-reifier-native") (:file "tests/xtm-role-reification") (:file "tests/xml-c14n-preflight") (:file "tests/xml-resource-c14n")) + :perform (asdf:test-op (operation component) + (declare (ignore operation component)) + (uiop:symbol-call :topic-maps.xtm.tests :run-tests))) + +(asdf:defsystem "topic-maps/ctm/xtm" + :description "Explicit XTM 2.0 notation adapter for controlled CTM Mergemap" + :version "0.19.2" :license "MIT" :depends-on ("topic-maps/ctm" "topic-maps/xtm") + :components ((:file "src/ctm/xtm"))) + +(asdf:defsystem "topic-maps/ctm/xtm-tests" + :description "Controlled CTM/XTM imports and direct reader semantic equivalence; original contracts remain separate" + :depends-on ("topic-maps/ctm/xtm" "topic-maps/ctm/include-tests") + :components ((:file "tests/ctm-xtm-mergemap") (:file "tests/ctm-xtm-equivalence")) + :perform (asdf:test-op (operation component) + (declare (ignore operation component)) + (uiop:symbol-call :topic-maps.xtm-mergemap.tests :run-tests) + (uiop:symbol-call :topic-maps.equivalence.tests :run-tests))) + +(asdf:defsystem "topic-maps/ctm/registered-original-tests" + :description "Slice 20A: register forty original contracts using the existing CTM/CXTM harness" + :depends-on ("topic-maps/ctm/include-tests") + :components ((:file "tests/ctm-registered-originals")) + :perform (asdf:test-op (operation component) + (declare (ignore operation component)) + (uiop:symbol-call :topic-maps.registered-original.tests :run-tests))) + + +(asdf:defsystem "topic-maps/ctm/registered-negative-tests" + :description "Slice 20B: intended syntax rejections of seven unchanged negative originals" + :depends-on ("topic-maps/ctm/registered-original-tests") + :perform (asdf:test-op (operation component) + (declare (ignore operation component)) + (uiop:symbol-call :topic-maps.registered-original.tests :run-negative-tests))) + +(asdf:defsystem "topic-maps/ctm/prolog-tests" + :description "Slice 20C: UTF-8 encoding selection, version prolog and three intended original rejections" + :depends-on ("topic-maps/ctm/registered-negative-tests") + :components ((:file "tests/ctm-prolog")) + :perform (asdf:test-op (operation component) + (declare (ignore operation component)) + (uiop:symbol-call :topic-maps.prolog.tests :run-tests))) + + +(asdf:defsystem "topic-maps/ctm/empty2-tests" + :description "Slice 20E: original empty2 prolog contract in the existing registration harness" + :depends-on ("topic-maps/ctm/prolog-tests") + :perform (asdf:test-op (operation component) + (declare (ignore operation component)) + (uiop:symbol-call :topic-maps.registered-original.tests :run-empty2-tests))) + + +(asdf:defsystem "topic-maps/ctm/ctm-integer-tests" + :description "Slice 20F: CTM '*' literal, original CXTM contract and existing shared literal paths" + :depends-on ("topic-maps/ctm/empty2-tests") + :components ((:file "tests/ctm-integer-literal")) + :perform (asdf:test-op (operation component) + (declare (ignore operation component)) + (uiop:symbol-call :topic-maps.ctm-integer.tests :run-tests))) + + +(asdf:defsystem "topic-maps/ctm/triple-string-tests" + :description "Slice 20G: four original Triple String contracts and existing string value paths" + :depends-on ("topic-maps/ctm/ctm-integer-tests") + :components ((:file "tests/ctm-triple-strings")) + :perform (asdf:test-op (operation component) + (declare (ignore operation component)) + (uiop:symbol-call :topic-maps.triple.tests :run-tests))) + + +(asdf:defsystem "topic-maps/ctm/encoding-tests" + :description "Slice 20H: qualified ISO-8859-5 decoding, IANA aliases and original CXTM contract" + :depends-on ("topic-maps/ctm/triple-string-tests") + :components ((:file "tests/ctm-iso-8859-5")) + :perform (asdf:test-op (operation component) + (declare (ignore operation component)) + (uiop:symbol-call :topic-maps.encoding.tests :run-tests)))