]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/ctm-typed-names.lisp
perf(tmdm): index topic normalization merge candidates
[topic-maps.git] / tests / ctm-typed-names.lisp
index 8ffaba989e5c566b8bdc44b852ed65c48dc11fe7..0a279d174f1b2f955ab396670cc7658cf0cb4e9c 100644 (file)
     (check "typed-reader:scope-now-supported"
            (and (eq (local-topic map "type") (topic-name-type name))
                 (equal (list (local-topic map "theme")) (topic-maps.tmdm:topic-name-scope name)))))
     (check "typed-reader:scope-now-supported"
            (and (eq (local-topic map "type") (topic-name-type name))
                 (equal (list (local-topic map "theme")) (topic-maps.tmdm:topic-name-scope name)))))
-  (dolist (text '("a - [-\"fullname\"]:\"Name\"."
+  (dolist (text '("a - [-\"fullname\" ~r]:\"Name\"."
                   "a - type:\"Name\" ~reifier." "a - type:\"Name\" (\"variant\" @theme ~r)."))
                   "a - type:\"Name\" ~reifier." "a - type:\"Name\" (\"variant\" @theme ~r)."))
-    (check (concatenate 'string "typed-reader:excluded-feature:" text) (typep (ctm-condition text) 'ctm-unsupported))))
+    (check (concatenate 'string "typed-reader:feature-boundary:" text) (if (find #\~ text) (null (ctm-condition text)) (typep (ctm-condition text) 'ctm-unsupported)))))
 
 (defun typed-name-order-tests ()
   (let ((reference nil))
 
 (defun typed-name-order-tests ()
   (let ((reference nil))