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"
8 :components ((:file "src/package")
9 (:file "src/filesystem")
12 :in-order-to ((asdf:test-op (asdf:test-op "topic-maps/tests"))))
14 (asdf:defsystem "topic-maps/tests"
15 :description "Infrastructure tests only; imported CTM cases remain NOT-RUN"
16 :depends-on ("topic-maps")
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)))
23 (asdf:defsystem "topic-maps/tmdm"
24 :description "Topics, Names, Variants, Occurrences, Associations and Roles with same-map merging"
25 :version "0.16.1" :license "MIT" :serial t
26 :components ((:file "src/tmdm/package") (:file "src/tmdm/integers") (:file "src/tmdm/decimals") (:file "src/tmdm/dates") (:file "src/tmdm/datetimes") (:file "src/tmdm/items")
27 (:file "src/tmdm/core-subjects") (:file "src/tmdm/item-identifiers") (:file "src/tmdm/reification") (:file "src/tmdm/merging") (:file "src/tmdm/occurrences") (:file "src/tmdm/variants") (:file "src/tmdm/associations")))
29 (asdf:defsystem "topic-maps/ctm"
30 :description "CTM recursive Topic references, Wildcards, names/variants/associations and supported literals"
31 :version "0.16.1" :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") (:file "src/ctm/templates")))
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)))
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)))
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)))
62 (asdf:defsystem "topic-maps/cxtm"
63 :description "Pure CXTM for the supported TMDM subset; ISO/IEC 13250-4:2009"
64 :version "0.16.1" :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")))
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)))
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)))
85 (asdf:defsystem "topic-maps/ctm/prefix-tests"
86 :description "Prefix bindings, explicit string datatypes and seven original contracts"
87 :depends-on ("topic-maps/ctm/occurrence-tests") :serial t
88 :components ((:file "tests/ctm-prefixes"))
89 :perform (asdf:test-op (operation component)
90 (declare (ignore operation component))
91 (uiop:symbol-call :topic-maps.ctm.tests :run-prefix-tests)))
93 (asdf:defsystem "topic-maps/ctm/integer-tests"
94 :description "Integer lexical values, TMDM equality, pure CXTM and six original contracts"
95 :depends-on ("topic-maps/ctm/prefix-tests") :serial t
96 :components ((:file "tests/ctm-integers"))
97 :perform (asdf:test-op (operation component)
98 (declare (ignore operation component))
99 (uiop:symbol-call :topic-maps.ctm.tests :run-integer-tests)))
101 (asdf:defsystem "topic-maps/ctm/decimal-tests"
102 :description "Decimal lexical values, TMDM equality, pure CXTM and seven original contracts"
103 :depends-on ("topic-maps/ctm/integer-tests") :serial t
104 :components ((:file "tests/ctm-decimals"))
105 :perform (asdf:test-op (operation component)
106 (declare (ignore operation component))
107 (uiop:symbol-call :topic-maps.ctm.tests :run-decimal-tests)))
109 (asdf:defsystem "topic-maps/ctm/date-tests"
110 :description "XSD 1.0 Date validation, lexical equality, pure CXTM and ten original contracts"
111 :depends-on ("topic-maps/ctm/decimal-tests") :serial t
112 :components ((:file "tests/ctm-dates"))
113 :perform (asdf:test-op (operation component)
114 (declare (ignore operation component))
115 (uiop:symbol-call :topic-maps.ctm.tests :run-date-tests)))
117 (asdf:defsystem "topic-maps/ctm/datetime-tests"
118 :description "DateTime lexical semantics and explicit normative baseline discrepancies"
119 :depends-on ("topic-maps/ctm/date-tests") :serial t
120 :components ((:file "tests/ctm-datetimes"))
121 :perform (asdf:test-op (operation component)
122 (declare (ignore operation component))
123 (uiop:symbol-call :topic-maps.ctm.tests :run-datetime-tests)))
125 (asdf:defsystem "topic-maps/ctm/timezone-tests"
126 :description "DateTime UTC offsets, pure CXTM and documented baseline mismatches"
127 :depends-on ("topic-maps/ctm/datetime-tests") :serial t
128 :components ((:file "tests/ctm-datetime-timezones"))
129 :perform (asdf:test-op (operation component)
130 (declare (ignore operation component))
131 (uiop:symbol-call :topic-maps.ctm.tests :run-timezone-tests)))
133 (asdf:defsystem "topic-maps/ctm/typed-name-tests"
134 :description "Explicit Name types, canonical merge handles and four original CXTM contracts"
135 :depends-on ("topic-maps/ctm/timezone-tests") :serial t
136 :components ((:file "tests/ctm-typed-names"))
137 :perform (asdf:test-op (operation component)
138 (declare (ignore operation component))
139 (uiop:symbol-call :topic-maps.ctm.tests :run-typed-name-tests)))
141 (asdf:defsystem "topic-maps/ctm/scope-tests"
142 :description "Topic-set Scope, merge handles, CTM diagnostics and three original CXTM contracts"
143 :depends-on ("topic-maps/ctm/typed-name-tests") :serial t
144 :components ((:file "tests/ctm-scopes"))
145 :perform (asdf:test-op (operation component)
146 (declare (ignore operation component))
147 (uiop:symbol-call :topic-maps.ctm.tests :run-scope-tests)))
149 (asdf:defsystem "topic-maps/ctm/variant-tests"
150 :description "Variants, proper scope supersets, canonical handles and four original contracts"
151 :depends-on ("topic-maps/ctm/scope-tests") :serial t
152 :components ((:file "tests/ctm-variants"))
153 :perform (asdf:test-op (operation component)
154 (declare (ignore operation component))
155 (uiop:symbol-call :topic-maps.variant.tests :run-tests)))
157 (asdf:defsystem "topic-maps/ctm/reference-tests"
158 :description "Wildcard environment, recursive Embedded Topics and canonical Topic references"
159 :depends-on ("topic-maps/ctm/variant-tests") :serial t
160 :components ((:file "tests/ctm-references"))
161 :perform (asdf:test-op (operation component)
162 (declare (ignore operation component))
163 (uiop:symbol-call :topic-maps.reference.tests :run-tests)))
165 (asdf:defsystem "topic-maps/tmdm/identifier-tests"
166 :description "General Item Identifiers, global uniqueness, merges and manual XTM2 baseline comparisons"
167 :depends-on ("topic-maps/ctm/reference-tests") :serial t
168 :components ((:file "tests/item-identifiers"))
169 :perform (asdf:test-op (operation component)
170 (declare (ignore operation component))
171 (uiop:symbol-call :topic-maps.identifier.tests :run-tests)))
173 (asdf:defsystem "topic-maps/tmdm/reification-tests"
174 :description "Same-map Reification, canonical references, atomic cascades and original CTM contracts"
175 :depends-on ("topic-maps/tmdm/identifier-tests") :serial t
176 :components ((:file "tests/reification"))
177 :perform (asdf:test-op (operation component)
178 (declare (ignore operation component))
179 (uiop:symbol-call :topic-maps.reification.tests :run-tests)))
181 (asdf:defsystem "topic-maps/ctm/association-arity-tests"
182 :description "Unbounded CTM Role declarations, canonical merges and original CXTM contract"
183 :depends-on ("topic-maps/tmdm/reification-tests") :serial t
184 :components ((:file "tests/ctm-association-arity"))
185 :perform (asdf:test-op (operation component)
186 (declare (ignore operation component))
187 (uiop:symbol-call :topic-maps.arity.tests :run-tests)))
189 (asdf:defsystem "topic-maps/ctm/type-relationship-tests"
190 :description "CTM isa/ako, Core Subject consistency and atomic identity cascades"
191 :depends-on ("topic-maps/ctm/association-arity-tests") :serial t
192 :components ((:file "tests/ctm-type-relationships"))
193 :perform (asdf:test-op (operation component)
194 (declare (ignore operation component))
195 (uiop:symbol-call :topic-maps.relationship.tests :run-tests)))
197 (asdf:defsystem "topic-maps/ctm/template-tests"
198 :description "CTM Templates, contextual argument binding and original conformance contracts"
199 :depends-on ("topic-maps/ctm/type-relationship-tests") :serial t
200 :components ((:file "tests/ctm-templates"))
201 :perform (asdf:test-op (operation component)
202 (declare (ignore operation component))
203 (uiop:symbol-call :topic-maps.template.tests :run-tests)))