projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9452: * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
[clsql.git]
/
tests
/
test-ooddl.lisp
diff --git
a/tests/test-ooddl.lisp
b/tests/test-ooddl.lisp
index 497bef6099c10b9d5c4a33686cdc681e4c559555..0339179ba145f977e4f817d51acab6af273f80bb 100644
(file)
--- a/
tests/test-ooddl.lisp
+++ b/
tests/test-ooddl.lisp
@@
-26,31
+26,30
@@
;; Ensure slots inherited from standard-classes are :virtual
(deftest :ooddl/metaclass/1
(values
;; Ensure slots inherited from standard-classes are :virtual
(deftest :ooddl/metaclass/1
(values
- (clsql::view-class-slot-db-kind
- (clsql::slotdef-for-slot-with-class 'extraterrestrial
+ (clsql
-sys
::view-class-slot-db-kind
+ (clsql
-sys
::slotdef-for-slot-with-class 'extraterrestrial
(find-class 'person)))
(find-class 'person)))
- (clsql::view-class-slot-db-kind
- (clsql::slotdef-for-slot-with-class 'hobby (find-class 'person))))
+ (clsql
-sys
::view-class-slot-db-kind
+ (clsql
-sys
::slotdef-for-slot-with-class 'hobby (find-class 'person))))
:virtual :virtual)
;; Ensure all slots in view-class are view-class-effective-slot-definition
(deftest :ooddl/metaclass/2
(values
(every #'(lambda (slotd)
:virtual :virtual)
;; Ensure all slots in view-class are view-class-effective-slot-definition
(deftest :ooddl/metaclass/2
(values
(every #'(lambda (slotd)
- (typep slotd 'clsql::view-class-effective-slot-definition))
- (clsql::class-slots (find-class 'person)))
+ (typep slotd 'clsql
-sys
::view-class-effective-slot-definition))
+ (clsql
-sys
::class-slots (find-class 'person)))
(every #'(lambda (slotd)
(every #'(lambda (slotd)
- (typep slotd 'clsql::view-class-effective-slot-definition))
- (clsql::class-slots (find-class 'employee)))
+ (typep slotd 'clsql
-sys
::view-class-effective-slot-definition))
+ (clsql
-sys
::class-slots (find-class 'employee)))
(every #'(lambda (slotd)
(every #'(lambda (slotd)
- (typep slotd 'clsql::view-class-effective-slot-definition))
- (clsql::class-slots (find-class 'company))))
+ (typep slotd 'clsql
-sys
::view-class-effective-slot-definition))
+ (clsql
-sys
::class-slots (find-class 'company))))
t t t)
(deftest :ooddl/join/1
t t t)
(deftest :ooddl/join/1
- (mapcar #'(lambda (e)
- (slot-value e 'companyid))
- (company-employees company1))
+ (mapcar #'(lambda (e) (slot-value e 'ecompanyid))
+ (company-employees company1))
(1 1 1 1 1 1 1 1 1 1))
(deftest :ooddl/join/2
(1 1 1 1 1 1 1 1 1 1))
(deftest :ooddl/join/2