X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=tests%2Ftest-ooddl.lisp;h=a5db79f0f5b2268274724008f6241a7083c2c318;hp=24a9750fcc25b1775887e78d7013f88e297378fc;hb=ec1872df0ec2761b4ab6811dc12f960f6f455819;hpb=4b707b868821809b3a057c5e0f10c4e750e8b297 diff --git a/tests/test-ooddl.lisp b/tests/test-ooddl.lisp index 24a9750..a5db79f 100644 --- a/tests/test-ooddl.lisp +++ b/tests/test-ooddl.lisp @@ -1,19 +1,18 @@ ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- -;;;; ====================================================================== -;;;; File: test-ooddl.lisp -;;;; Author: Marcus Pearce -;;;; Created: 30/03/2004 -;;;; Updated: $Id$ +;;;; ************************************************************************* +;;;; FILE IDENTIFICATION ;;;; -;;;; Tests for the CLSQL Object Oriented Data Definition Language -;;;; (OODDL). +;;;; Name: test-ooddl.lisp +;;;; Purpose: Tests for the CLSQL Object Oriented Data Definition Language +;;;; Authors: Marcus Pearce and Kevin M. Rosenberg +;;;; Created: March 2004 ;;;; ;;;; 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) @@ -71,20 +70,20 @@ (clsql-sys::class-slots (find-class 'company)))) t t t t t t) -;; Ensure classes are correctly marked normalised or not, default not +;; Ensure classes are correctly marked normalized or not, default not ;(deftest :ooddl/metaclass/3 ; (values -; (clsql-sys::normalisedp derivednode1) -; (clsql-sys::normalisedp basenode) -; (clsql-sys::normalisedp company1) -; (clsql-sys::normalisedp employee3) -; (clsql-sys::normalisedp derivednode-sc-2)) +; (clsql-sys::normalizedp derivednode1) +; (clsql-sys::normalizedp basenode) +; (clsql-sys::normalizedp company1) +; (clsql-sys::normalizedp employee3) +; (clsql-sys::normalizedp derivednode-sc-2)) ; t nil nil nil t) ;(deftest :ooddl/metaclass/3 ; (values -; (normalisedp (find-class 'baseclass)) -; (normalisedp (find-class 'normderivedclass))) +; (normalizedp (find-class 'baseclass)) +; (normalizedp (find-class 'normderivedclass))) ; nil t) (deftest :ooddl/join/1 @@ -108,10 +107,10 @@ ;; and stick a value in there. (progn (clsql-sys:create-view-from-class 'big) (values - (clsql:table-exists-p [big] :owner *test-database-user*) + (clsql:table-exists-p [big] ) (progn (clsql:drop-table [big] :if-does-not-exist :ignore) - (clsql:table-exists-p [big] :owner *test-database-user*))) + (clsql:table-exists-p [big]))) ) t nil)