X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/35648c4dcc71e8dc6448b64abcacb438e53d64a2..963f2a09444100d37e49cccbd6634879bd6742b5:/tests/ctm-associations.lisp diff --git a/tests/ctm-associations.lisp b/tests/ctm-associations.lisp index c2007e1..896252d 100644 --- a/tests/ctm-associations.lisp +++ b/tests/ctm-associations.lisp @@ -170,8 +170,12 @@ (= 1 (error-line condition)) (= 5 (error-column condition))))) (let ((condition (rejection "a(r: ex:p)"))) (check "association-undefined-prefix-remains-specific" (and (typep condition 'undefined-prefix) (eq :undefined-prefix (error-code condition))))) - (dolist (text '("a(r: p) @theme" "a(r: p) ~reifier" "a(r: p, s: q, t: z)")) - (check (concatenate 'string "unsupported-association-feature:" text) (unsupported-p text))) + (check "scoped-association-now-deserialized" + (= 1 (length (topic-maps.tmdm:association-scope + (first (topic-maps.tmdm:topic-map-associations (read-text "a(r: p) @theme"))))))) + (dolist (text '("a(r: p) ~reifier" "a(r: p, s: q, t: z)")) + (check (concatenate 'string "association-feature-boundary:" text) + (association-invariants (read-text text)))) (check "comment-can-separate-role-colon" (association-invariants (read-text "a(r#( separator )#:p)"))) (check "delimited-iri-role-references"