X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-oodml.lisp;h=c5867263fbb14704ebe6a5ed81079530fec791ca;hb=72c5d9d0555b01290409dc2607935db823fa1f10;hp=59e57d2aa78f302872ff0d22dde9b1aee4a7c3b2;hpb=73cf858d596ad1d51c745b478292433617cf9d72;p=clsql.git diff --git a/tests/test-oodml.lisp b/tests/test-oodml.lisp index 59e57d2..c586726 100644 --- a/tests/test-oodml.lisp +++ b/tests/test-oodml.lisp @@ -4,20 +4,24 @@ ;;;; Author: Marcus Pearce ;;;; Created: 01/04/2004 ;;;; Updated: $Id$ -;;;; ====================================================================== -;;;; -;;;; Description ========================================================== -;;;; ====================================================================== ;;;; ;;;; Tests for the CLSQL Object Oriented Data Definition Language ;;;; (OODML). ;;;; +;;;; This file is part of CLSQL. +;;;; +;;;; CLSQL users are granted the rights to distribute and use this software +;;;; as governed by the terms of the Lisp Lesser GNU Public License +;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ====================================================================== (in-package #:clsql-tests) #.(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 +54,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 +241,6 @@ ; collect (slot-value e 'last-name)) ; ("Lenin" "Stalin" "Trotsky")) +)) #.(clsql:restore-sql-reader-syntax-state)