]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - topic-maps.asd
Implement Date Occurrences with lexical validation and CXTM canonicalization
[topic-maps.git] / topic-maps.asd
index 66e0d516c686afaec129ede959b76b98a4ed10ec..4c257a754dc037703e0835494806725373195f41 100644 (file)
              (uiop:symbol-call :topic-maps.tests :run-tests)))
 
 (asdf:defsystem "topic-maps/tmdm"
-  :description "Topics, Names, Associations and Roles with same-map merging"
-  :version "0.3.0" :license "MIT" :serial t
-  :components ((:file "src/tmdm/package") (:file "src/tmdm/items")
-               (:file "src/tmdm/merging") (:file "src/tmdm/associations")))
+  :description "Topics, Names, Occurrences, Associations and Roles with same-map merging"
+  :version "0.9.0" :license "MIT" :serial t
+  :components ((:file "src/tmdm/package") (:file "src/tmdm/integers") (:file "src/tmdm/decimals") (:file "src/tmdm/dates") (:file "src/tmdm/items")
+               (:file "src/tmdm/merging") (:file "src/tmdm/occurrences") (:file "src/tmdm/associations")))
 
 (asdf:defsystem "topic-maps/ctm"
-  :description "CTM identity, names and unary/binary associations; no canonicalizer"
-  :version "0.3.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
+  :description "CTM prefixes, identity, names, integer/decimal/date/string/IRI occurrences and associations"
+  :version "0.9.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
   :components ((:file "src/ctm/package") (:file "src/ctm/conditions")
                (:file "src/ctm/unicode") (:file "src/ctm/iri")
                (:file "src/ctm/lexer") (:file "src/ctm/reader")))
@@ -61,7 +61,7 @@
 
 (asdf:defsystem "topic-maps/cxtm"
   :description "Pure CXTM for the supported TMDM subset; ISO/IEC 13250-4:2009"
-  :version "0.4.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
+  :version "0.9.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
   :components ((:file "src/cxtm/package") (:file "src/cxtm/nfc-data")
                (:file "src/cxtm/unicode") (:file "src/cxtm/canonicalizer")))
 
   :perform (asdf:test-op (operation component)
              (declare (ignore operation component))
              (uiop:symbol-call :topic-maps.ctm.tests :run-cxtm-tests)))
+
+
+(asdf:defsystem "topic-maps/ctm/occurrence-tests"
+  :description "Occurrence semantics, canonical merge handles and four original CXTM contracts"
+  :depends-on ("topic-maps/cxtm/tests") :serial t
+  :components ((:file "tests/ctm-occurrences"))
+  :perform (asdf:test-op (operation component)
+             (declare (ignore operation component))
+             (uiop:symbol-call :topic-maps.ctm.tests :run-occurrence-tests)))
+
+(asdf:defsystem "topic-maps/ctm/prefix-tests"
+  :description "Prefix bindings, explicit string datatypes and seven original contracts"
+  :depends-on ("topic-maps/ctm/occurrence-tests") :serial t
+  :components ((:file "tests/ctm-prefixes"))
+  :perform (asdf:test-op (operation component)
+             (declare (ignore operation component))
+             (uiop:symbol-call :topic-maps.ctm.tests :run-prefix-tests)))
+
+(asdf:defsystem "topic-maps/ctm/integer-tests"
+  :description "Integer lexical values, TMDM equality, pure CXTM and six original contracts"
+  :depends-on ("topic-maps/ctm/prefix-tests") :serial t
+  :components ((:file "tests/ctm-integers"))
+  :perform (asdf:test-op (operation component)
+             (declare (ignore operation component))
+             (uiop:symbol-call :topic-maps.ctm.tests :run-integer-tests)))
+
+(asdf:defsystem "topic-maps/ctm/decimal-tests"
+  :description "Decimal lexical values, TMDM equality, pure CXTM and seven original contracts"
+  :depends-on ("topic-maps/ctm/integer-tests") :serial t
+  :components ((:file "tests/ctm-decimals"))
+  :perform (asdf:test-op (operation component)
+             (declare (ignore operation component))
+             (uiop:symbol-call :topic-maps.ctm.tests :run-decimal-tests)))
+
+(asdf:defsystem "topic-maps/ctm/date-tests"
+  :description "XSD 1.0 Date validation, lexical equality, pure CXTM and ten original contracts"
+  :depends-on ("topic-maps/ctm/decimal-tests") :serial t
+  :components ((:file "tests/ctm-dates"))
+  :perform (asdf:test-op (operation component)
+             (declare (ignore operation component))
+             (uiop:symbol-call :topic-maps.ctm.tests :run-date-tests)))