]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - topic-maps.asd
Add string and URI Occurrences with merging and CXTM validation
[topic-maps.git] / topic-maps.asd
1 ;;;; The foundation remains independent; reader/model are opt-in secondary systems.
2 (asdf:defsystem "topic-maps"
3 :description "Independent CTM test foundation; no parsing or deserialization"
4 :version "0.0.0"
5 :license "MIT"
6 :depends-on ("uiop")
7 :serial t
8 :components ((:file "src/package")
9 (:file "src/filesystem")
10 (:file "src/corpus")
11 (:file "src/report"))
12 :in-order-to ((asdf:test-op (asdf:test-op "topic-maps/tests"))))
13
14 (asdf:defsystem "topic-maps/tests"
15 :description "Infrastructure tests only; imported CTM cases remain NOT-RUN"
16 :depends-on ("topic-maps")
17 :serial t
18 :components ((:file "tests/package") (:file "tests/foundation"))
19 :perform (asdf:test-op (operation component)
20 (declare (ignore operation component))
21 (uiop:symbol-call :topic-maps.tests :run-tests)))
22
23 (asdf:defsystem "topic-maps/tmdm"
24 :description "Topics, Names, Occurrences, Associations and Roles with same-map merging"
25 :version "0.5.0" :license "MIT" :serial t
26 :components ((:file "src/tmdm/package") (:file "src/tmdm/items")
27 (:file "src/tmdm/merging") (:file "src/tmdm/occurrences") (:file "src/tmdm/associations")))
28
29 (asdf:defsystem "topic-maps/ctm"
30 :description "CTM identity, names, string/IRI occurrences and unary/binary associations"
31 :version "0.5.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
32 :components ((:file "src/ctm/package") (:file "src/ctm/conditions")
33 (:file "src/ctm/unicode") (:file "src/ctm/iri")
34 (:file "src/ctm/lexer") (:file "src/ctm/reader")))
35
36 (asdf:defsystem "topic-maps/ctm/tests"
37 :description "Slice 1 semantic tests and explicit imported rejection contract"
38 :depends-on ("topic-maps/ctm" "topic-maps/tests") :serial t
39 :components ((:file "tests/ctm-package") (:file "tests/ctm-identity")
40 (:file "tests/ctm-report"))
41 :perform (asdf:test-op (operation component)
42 (declare (ignore operation component))
43 (uiop:symbol-call :topic-maps.ctm.tests :run-tests)))
44
45 (asdf:defsystem "topic-maps/ctm/merging-tests"
46 :description "Same-map Topic merging and separate pinned baseline property evidence"
47 :depends-on ("topic-maps/ctm/tests") :serial t
48 :components ((:file "tests/ctm-merging") (:file "tests/merge-graphs"))
49 :perform (asdf:test-op (operation component)
50 (declare (ignore operation component))
51 (uiop:symbol-call :topic-maps.ctm.tests :run-merging-tests)))
52
53 (asdf:defsystem "topic-maps/ctm/association-tests"
54 :description "Association/Role semantics, merge references and separate baseline evidence"
55 :depends-on ("topic-maps/ctm/merging-tests") :serial t
56 :components ((:file "tests/ctm-associations") (:file "tests/association-graphs")
57 (:file "tests/association-report"))
58 :perform (asdf:test-op (operation component)
59 (declare (ignore operation component))
60 (uiop:symbol-call :topic-maps.ctm.tests :run-association-tests)))
61
62 (asdf:defsystem "topic-maps/cxtm"
63 :description "Pure CXTM for the supported TMDM subset; ISO/IEC 13250-4:2009"
64 :version "0.5.0" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
65 :components ((:file "src/cxtm/package") (:file "src/cxtm/nfc-data")
66 (:file "src/cxtm/unicode") (:file "src/cxtm/canonicalizer")))
67
68 (asdf:defsystem "topic-maps/cxtm/tests"
69 :description "Real pinned CXTM comparisons and canonicalization regression tests"
70 :depends-on ("topic-maps/cxtm" "topic-maps/ctm/association-tests") :serial t
71 :components ((:file "tests/cxtm"))
72 :perform (asdf:test-op (operation component)
73 (declare (ignore operation component))
74 (uiop:symbol-call :topic-maps.ctm.tests :run-cxtm-tests)))
75
76
77 (asdf:defsystem "topic-maps/ctm/occurrence-tests"
78 :description "Occurrence semantics, canonical merge handles and four original CXTM contracts"
79 :depends-on ("topic-maps/cxtm/tests") :serial t
80 :components ((:file "tests/ctm-occurrences"))
81 :perform (asdf:test-op (operation component)
82 (declare (ignore operation component))
83 (uiop:symbol-call :topic-maps.ctm.tests :run-occurrence-tests)))