X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-oodml.lisp;h=cf9eda715d8253792e934cf2dec313f8ca46a44e;hb=afa1e8481ca62ee15952c695fd04c8601b65b218;hp=98a93fd46ae65b6579a2de2437be2f7af32a9e56;hpb=5a6f424f3c8920f8f11bbf1e3aed6b4c2c7e6af8;p=clsql.git diff --git a/tests/test-oodml.lisp b/tests/test-oodml.lisp index 98a93fd..cf9eda7 100644 --- a/tests/test-oodml.lisp +++ b/tests/test-oodml.lisp @@ -3,7 +3,7 @@ ;;;; File: test-oodml.lisp ;;;; Author: Marcus Pearce ;;;; Created: 01/04/2004 -;;;; Updated: $Id: $ +;;;; Updated: $Id$ ;;;; ====================================================================== ;;;; ;;;; Description ========================================================== @@ -18,6 +18,9 @@ #.(clsql:locally-enable-sql-reader-syntax) +(setq *rt-oodml* + '( + (deftest :oodml/select/1 (mapcar #'(lambda (e) (slot-value e 'last-name)) (clsql:select 'employee :order-by [last-name])) @@ -50,7 +53,7 @@ ;; sqlite fails this because it is typeless (deftest :oodml/select/5 - (length (sql:select 'employee :where [married])) + (length (clsql:select 'employee :where [married])) 3) ;; tests update-records-from-instance @@ -237,5 +240,6 @@ ; collect (slot-value e 'last-name)) ; ("Lenin" "Stalin" "Trotsky")) +)) #.(clsql:restore-sql-reader-syntax-state)