X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-fddl.lisp;h=ef79615b903f7e3edb9824f121ed82b2420bd7d3;hb=8a287a3182ffc4c245b43b6ca47f36ea640233f0;hp=e45d04e103a702aa5346e536330feebf07d8b873;hpb=56ccd9c18c38262936b8988264edfb927e83eb49;p=clsql.git diff --git a/tests/test-fddl.lisp b/tests/test-fddl.lisp index e45d04e..ef79615 100644 --- a/tests/test-fddl.lisp +++ b/tests/test-fddl.lisp @@ -4,27 +4,31 @@ ;;;; Author: Marcus Pearce ;;;; Created: 30/03/2004 ;;;; Updated: $Id$ -;;;; ====================================================================== -;;;; -;;;; Description ========================================================== -;;;; ====================================================================== ;;;; ;;;; Tests for the CLSQL Functional Data Definition Language ;;;; (FDDL). -;;;; +;;;; +;;;; 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-fddl* + '( + ;; list current tables (deftest :fddl/table/1 (apply #'values (sort (mapcar #'string-downcase (clsql:list-tables :owner *test-database-user*)) #'string>)) - "employee" "company" "clsql_object_v") + "employee" "company") ;; create a table, test for its existence, drop it and test again (deftest :fddl/table/2 @@ -208,4 +212,6 @@ (clsql:drop-sequence [foo] :if-does-not-exist :ignore))) 6) +)) + #.(clsql:restore-sql-reader-syntax-state)