]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - topic-maps.asd
Support textual XTM name variants with qualified original contracts and offline evidence
[topic-maps.git] / topic-maps.asd
1 ;;;; The foundation remains independent; reader/model are opt-in secondary systems.
2 (asdf:defsystem "topic-maps/xml"
3 :description "Pinned, patched CXML byte boundary with mandatory external-resource denial; no XTM"
4 :version "0.0.1" :license "MIT" :depends-on ("cxml") :serial t
5 :components ((:file "src/xml/package") (:file "src/xml/parser")))
6
7 (asdf:defsystem "topic-maps"
8 :description "Independent CTM test foundation; no parsing or deserialization"
9 :version "0.0.0"
10 :license "MIT"
11 :depends-on ("uiop")
12 :serial t
13 :components ((:file "src/package")
14 (:file "src/filesystem")
15 (:file "src/corpus")
16 (:file "src/report"))
17 :in-order-to ((asdf:test-op (asdf:test-op "topic-maps/tests"))))
18
19 (asdf:defsystem "topic-maps/tests"
20 :description "Infrastructure tests only; imported CTM cases remain NOT-RUN"
21 :depends-on ("topic-maps")
22 :serial t
23 :components ((:file "tests/package") (:file "tests/foundation"))
24 :perform (asdf:test-op (operation component)
25 (declare (ignore operation component))
26 (uiop:symbol-call :topic-maps.tests :run-tests)))
27
28 (asdf:defsystem "topic-maps/tmdm"
29 :description "Topics, Names, Variants, Occurrences, Associations and Roles with same-map merging and source-preserving content import"
30 :version "0.16.1" :license "MIT" :serial t
31 :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")
32 (: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") (:file "src/tmdm/import")))
33
34 (asdf:defsystem "topic-maps/ctm"
35 :description "CTM recursive Topic references, Wildcards, names/variants/associations and supported literals"
36 :version "0.16.1" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
37 :components ((:file "src/ctm/package") (:file "src/ctm/conditions")
38 (:file "src/ctm/unicode") (:file "src/ctm/iri")
39 (:file "src/ctm/lexer") (:file "src/ctm/reader") (:file "src/ctm/templates") (:file "src/ctm/resources")))
40
41 (asdf:defsystem "topic-maps/ctm/tests"
42 :description "Slice 1 semantic tests and explicit imported rejection contract"
43 :depends-on ("topic-maps/ctm" "topic-maps/tests") :serial t
44 :components ((:file "tests/ctm-package") (:file "tests/ctm-identity")
45 (:file "tests/ctm-report"))
46 :perform (asdf:test-op (operation component)
47 (declare (ignore operation component))
48 (uiop:symbol-call :topic-maps.ctm.tests :run-tests)))
49
50 (asdf:defsystem "topic-maps/ctm/merging-tests"
51 :description "Same-map Topic merging and separate pinned baseline property evidence"
52 :depends-on ("topic-maps/ctm/tests") :serial t
53 :components ((:file "tests/ctm-merging") (:file "tests/merge-graphs"))
54 :perform (asdf:test-op (operation component)
55 (declare (ignore operation component))
56 (uiop:symbol-call :topic-maps.ctm.tests :run-merging-tests)))
57
58 (asdf:defsystem "topic-maps/ctm/association-tests"
59 :description "Association/Role semantics, merge references and separate baseline evidence"
60 :depends-on ("topic-maps/ctm/merging-tests") :serial t
61 :components ((:file "tests/ctm-associations") (:file "tests/association-graphs")
62 (:file "tests/association-report"))
63 :perform (asdf:test-op (operation component)
64 (declare (ignore operation component))
65 (uiop:symbol-call :topic-maps.ctm.tests :run-association-tests)))
66
67 (asdf:defsystem "topic-maps/cxtm"
68 :description "Pure CXTM for the supported TMDM subset; ISO/IEC 13250-4:2009"
69 :version "0.16.1" :license "MIT" :depends-on ("topic-maps/tmdm") :serial t
70 :components ((:file "src/cxtm/package") (:file "src/cxtm/nfc-data")
71 (:file "src/cxtm/unicode") (:file "src/cxtm/canonicalizer")))
72
73 (asdf:defsystem "topic-maps/cxtm/tests"
74 :description "Real pinned CXTM comparisons and canonicalization regression tests"
75 :depends-on ("topic-maps/cxtm" "topic-maps/ctm/association-tests") :serial t
76 :components ((:file "tests/cxtm"))
77 :perform (asdf:test-op (operation component)
78 (declare (ignore operation component))
79 (uiop:symbol-call :topic-maps.ctm.tests :run-cxtm-tests)))
80
81
82 (asdf:defsystem "topic-maps/ctm/occurrence-tests"
83 :description "Occurrence semantics, canonical merge handles and four original CXTM contracts"
84 :depends-on ("topic-maps/cxtm/tests") :serial t
85 :components ((:file "tests/ctm-occurrences"))
86 :perform (asdf:test-op (operation component)
87 (declare (ignore operation component))
88 (uiop:symbol-call :topic-maps.ctm.tests :run-occurrence-tests)))
89
90 (asdf:defsystem "topic-maps/ctm/prefix-tests"
91 :description "Prefix bindings, explicit string datatypes and seven original contracts"
92 :depends-on ("topic-maps/ctm/occurrence-tests") :serial t
93 :components ((:file "tests/ctm-prefixes"))
94 :perform (asdf:test-op (operation component)
95 (declare (ignore operation component))
96 (uiop:symbol-call :topic-maps.ctm.tests :run-prefix-tests)))
97
98 (asdf:defsystem "topic-maps/ctm/integer-tests"
99 :description "Integer lexical values, TMDM equality, pure CXTM and six original contracts"
100 :depends-on ("topic-maps/ctm/prefix-tests") :serial t
101 :components ((:file "tests/ctm-integers"))
102 :perform (asdf:test-op (operation component)
103 (declare (ignore operation component))
104 (uiop:symbol-call :topic-maps.ctm.tests :run-integer-tests)))
105
106 (asdf:defsystem "topic-maps/ctm/decimal-tests"
107 :description "Decimal lexical values, TMDM equality, pure CXTM and seven original contracts"
108 :depends-on ("topic-maps/ctm/integer-tests") :serial t
109 :components ((:file "tests/ctm-decimals"))
110 :perform (asdf:test-op (operation component)
111 (declare (ignore operation component))
112 (uiop:symbol-call :topic-maps.ctm.tests :run-decimal-tests)))
113
114 (asdf:defsystem "topic-maps/ctm/date-tests"
115 :description "XSD 1.0 Date validation, lexical equality, pure CXTM and ten original contracts"
116 :depends-on ("topic-maps/ctm/decimal-tests") :serial t
117 :components ((:file "tests/ctm-dates"))
118 :perform (asdf:test-op (operation component)
119 (declare (ignore operation component))
120 (uiop:symbol-call :topic-maps.ctm.tests :run-date-tests)))
121
122 (asdf:defsystem "topic-maps/ctm/datetime-tests"
123 :description "DateTime lexical semantics and explicit normative baseline discrepancies"
124 :depends-on ("topic-maps/ctm/date-tests") :serial t
125 :components ((:file "tests/ctm-datetimes"))
126 :perform (asdf:test-op (operation component)
127 (declare (ignore operation component))
128 (uiop:symbol-call :topic-maps.ctm.tests :run-datetime-tests)))
129
130 (asdf:defsystem "topic-maps/ctm/timezone-tests"
131 :description "DateTime UTC offsets, pure CXTM and documented baseline mismatches"
132 :depends-on ("topic-maps/ctm/datetime-tests") :serial t
133 :components ((:file "tests/ctm-datetime-timezones"))
134 :perform (asdf:test-op (operation component)
135 (declare (ignore operation component))
136 (uiop:symbol-call :topic-maps.ctm.tests :run-timezone-tests)))
137
138 (asdf:defsystem "topic-maps/ctm/typed-name-tests"
139 :description "Explicit Name types, canonical merge handles and four original CXTM contracts"
140 :depends-on ("topic-maps/ctm/timezone-tests") :serial t
141 :components ((:file "tests/ctm-typed-names"))
142 :perform (asdf:test-op (operation component)
143 (declare (ignore operation component))
144 (uiop:symbol-call :topic-maps.ctm.tests :run-typed-name-tests)))
145
146 (asdf:defsystem "topic-maps/ctm/scope-tests"
147 :description "Topic-set Scope, merge handles, CTM diagnostics and three original CXTM contracts"
148 :depends-on ("topic-maps/ctm/typed-name-tests") :serial t
149 :components ((:file "tests/ctm-scopes"))
150 :perform (asdf:test-op (operation component)
151 (declare (ignore operation component))
152 (uiop:symbol-call :topic-maps.ctm.tests :run-scope-tests)))
153
154 (asdf:defsystem "topic-maps/ctm/variant-tests"
155 :description "Variants, proper scope supersets, canonical handles and four original contracts"
156 :depends-on ("topic-maps/ctm/scope-tests") :serial t
157 :components ((:file "tests/ctm-variants"))
158 :perform (asdf:test-op (operation component)
159 (declare (ignore operation component))
160 (uiop:symbol-call :topic-maps.variant.tests :run-tests)))
161
162 (asdf:defsystem "topic-maps/ctm/reference-tests"
163 :description "Wildcard environment, recursive Embedded Topics and canonical Topic references"
164 :depends-on ("topic-maps/ctm/variant-tests") :serial t
165 :components ((:file "tests/ctm-references"))
166 :perform (asdf:test-op (operation component)
167 (declare (ignore operation component))
168 (uiop:symbol-call :topic-maps.reference.tests :run-tests)))
169
170 (asdf:defsystem "topic-maps/tmdm/identifier-tests"
171 :description "General Item Identifiers, global uniqueness, merges and manual XTM2 baseline comparisons"
172 :depends-on ("topic-maps/ctm/reference-tests") :serial t
173 :components ((:file "tests/item-identifiers"))
174 :perform (asdf:test-op (operation component)
175 (declare (ignore operation component))
176 (uiop:symbol-call :topic-maps.identifier.tests :run-tests)))
177
178 (asdf:defsystem "topic-maps/tmdm/reification-tests"
179 :description "Same-map Reification, canonical references, atomic cascades and original CTM contracts"
180 :depends-on ("topic-maps/tmdm/identifier-tests") :serial t
181 :components ((:file "tests/reification"))
182 :perform (asdf:test-op (operation component)
183 (declare (ignore operation component))
184 (uiop:symbol-call :topic-maps.reification.tests :run-tests)))
185
186 (asdf:defsystem "topic-maps/ctm/association-arity-tests"
187 :description "Unbounded CTM Role declarations, canonical merges and original CXTM contract"
188 :depends-on ("topic-maps/tmdm/reification-tests") :serial t
189 :components ((:file "tests/ctm-association-arity"))
190 :perform (asdf:test-op (operation component)
191 (declare (ignore operation component))
192 (uiop:symbol-call :topic-maps.arity.tests :run-tests)))
193
194 (asdf:defsystem "topic-maps/ctm/type-relationship-tests"
195 :description "CTM isa/ako, Core Subject consistency and atomic identity cascades"
196 :depends-on ("topic-maps/ctm/association-arity-tests") :serial t
197 :components ((:file "tests/ctm-type-relationships"))
198 :perform (asdf:test-op (operation component)
199 (declare (ignore operation component))
200 (uiop:symbol-call :topic-maps.relationship.tests :run-tests)))
201
202 (asdf:defsystem "topic-maps/ctm/template-tests"
203 :description "CTM Templates, contextual argument binding and original conformance contracts"
204 :depends-on ("topic-maps/ctm/type-relationship-tests") :serial t
205 :components ((:file "tests/ctm-templates"))
206 :perform (asdf:test-op (operation component)
207 (declare (ignore operation component))
208 (uiop:symbol-call :topic-maps.template.tests :run-tests)))
209
210 (asdf:defsystem "topic-maps/tmdm/import-tests"
211 :description "Source-preserving Map content import, identity cascades and atomic conflicts"
212 :depends-on ("topic-maps/ctm/template-tests") :serial t
213 :components ((:file "tests/map-import"))
214 :perform (asdf:test-op (operation component)
215 (declare (ignore operation component))
216 (uiop:symbol-call :topic-maps.import.tests :run-tests)))
217
218 (asdf:defsystem "topic-maps/ctm/mergemap-tests"
219 :description "Explicit resource resolver, CTM Mergemap isolation and original contracts"
220 :depends-on ("topic-maps/tmdm/import-tests") :serial t
221 :components ((:file "tests/ctm-mergemap"))
222 :perform (asdf:test-op (operation component)
223 (declare (ignore operation component))
224 (uiop:symbol-call :topic-maps.mergemap.tests :run-tests)))
225
226 (asdf:defsystem "topic-maps/ctm/include-tests"
227 :description "CTM Include, source-preserving Template transport and explicit original baseline discrepancies"
228 :depends-on ("topic-maps/ctm/mergemap-tests") :serial t
229 :components ((:file "tests/ctm-include"))
230 :perform (asdf:test-op (operation component)
231 (declare (ignore operation component))
232 (uiop:symbol-call :topic-maps.include.tests :run-tests)))
233
234 (asdf:defsystem "topic-maps/xtm"
235 :description "XTM 2.0 identity, instanceOf and basic Names using the qualified XML byte boundary"
236 :version "0.19.1" :license "MIT" :depends-on ("topic-maps/tmdm" "topic-maps/xml") :serial t
237 :components ((:file "src/xtm/package") (:file "src/xtm/iri") (:file "src/xtm/reader"))
238 :in-order-to ((asdf:test-op (asdf:test-op "topic-maps/xtm/tests"))))
239
240 (asdf:defsystem "topic-maps/xtm/tests"
241 :description "XTM identity/Name/Scope/Item-Identity/Variant checks, 48 original CXTM contracts and eight cause-qualified negative originals"
242 :depends-on ("topic-maps/xtm" "topic-maps/cxtm" "topic-maps") :serial t
243 :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"))
244 :perform (asdf:test-op (operation component)
245 (declare (ignore operation component))
246 (uiop:symbol-call :topic-maps.xtm.tests :run-tests)))
247
248 (asdf:defsystem "topic-maps/ctm/xtm"
249 :description "Explicit XTM 2.0 notation adapter for controlled CTM Mergemap"
250 :version "0.19.2" :license "MIT" :depends-on ("topic-maps/ctm" "topic-maps/xtm")
251 :components ((:file "src/ctm/xtm")))
252
253 (asdf:defsystem "topic-maps/ctm/xtm-tests"
254 :description "Actual XTM Mergemap imports, raw bytes, diagnostics and original baseline"
255 :depends-on ("topic-maps/ctm/xtm" "topic-maps/ctm/include-tests")
256 :components ((:file "tests/ctm-xtm-mergemap"))
257 :perform (asdf:test-op (operation component)
258 (declare (ignore operation component))
259 (uiop:symbol-call :topic-maps.xtm-mergemap.tests :run-tests)))
260
261 (asdf:defsystem "topic-maps/ctm/registered-original-tests"
262 :description "Slice 20A: register forty original contracts using the existing CTM/CXTM harness"
263 :depends-on ("topic-maps/ctm/include-tests")
264 :components ((:file "tests/ctm-registered-originals"))
265 :perform (asdf:test-op (operation component)
266 (declare (ignore operation component))
267 (uiop:symbol-call :topic-maps.registered-original.tests :run-tests)))
268
269
270 (asdf:defsystem "topic-maps/ctm/registered-negative-tests"
271 :description "Slice 20B: intended syntax rejections of seven unchanged negative originals"
272 :depends-on ("topic-maps/ctm/registered-original-tests")
273 :perform (asdf:test-op (operation component)
274 (declare (ignore operation component))
275 (uiop:symbol-call :topic-maps.registered-original.tests :run-negative-tests)))
276
277 (asdf:defsystem "topic-maps/ctm/prolog-tests"
278 :description "Slice 20C: UTF-8 encoding selection, version prolog and three intended original rejections"
279 :depends-on ("topic-maps/ctm/registered-negative-tests")
280 :components ((:file "tests/ctm-prolog"))
281 :perform (asdf:test-op (operation component)
282 (declare (ignore operation component))
283 (uiop:symbol-call :topic-maps.prolog.tests :run-tests)))
284
285
286 (asdf:defsystem "topic-maps/ctm/empty2-tests"
287 :description "Slice 20E: original empty2 prolog contract in the existing registration harness"
288 :depends-on ("topic-maps/ctm/prolog-tests")
289 :perform (asdf:test-op (operation component)
290 (declare (ignore operation component))
291 (uiop:symbol-call :topic-maps.registered-original.tests :run-empty2-tests)))
292
293
294 (asdf:defsystem "topic-maps/ctm/ctm-integer-tests"
295 :description "Slice 20F: CTM '*' literal, original CXTM contract and existing shared literal paths"
296 :depends-on ("topic-maps/ctm/empty2-tests")
297 :components ((:file "tests/ctm-integer-literal"))
298 :perform (asdf:test-op (operation component)
299 (declare (ignore operation component))
300 (uiop:symbol-call :topic-maps.ctm-integer.tests :run-tests)))
301
302
303 (asdf:defsystem "topic-maps/ctm/triple-string-tests"
304 :description "Slice 20G: four original Triple String contracts and existing string value paths"
305 :depends-on ("topic-maps/ctm/ctm-integer-tests")
306 :components ((:file "tests/ctm-triple-strings"))
307 :perform (asdf:test-op (operation component)
308 (declare (ignore operation component))
309 (uiop:symbol-call :topic-maps.triple.tests :run-tests)))
310
311
312 (asdf:defsystem "topic-maps/ctm/encoding-tests"
313 :description "Slice 20H: qualified ISO-8859-5 decoding, IANA aliases and original CXTM contract"
314 :depends-on ("topic-maps/ctm/triple-string-tests")
315 :components ((:file "tests/ctm-iso-8859-5"))
316 :perform (asdf:test-op (operation component)
317 (declare (ignore operation component))
318 (uiop:symbol-call :topic-maps.encoding.tests :run-tests)))