X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=tests%2Ftest-fddl.lisp;h=ef79615b903f7e3edb9824f121ed82b2420bd7d3;hp=0d8b3cf1e18596d35f9a878147bf9b617bb02ead;hb=5068697a98c10224f3a3e0a7125ba64cf3d3b4fb;hpb=73cf858d596ad1d51c745b478292433617cf9d72 diff --git a/tests/test-fddl.lisp b/tests/test-fddl.lisp index 0d8b3cf..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>)) - "clsql_object_v" "employee" "company") + "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)