#lang scheme/base
(require mzlib/etc
scheme/class
scheme/unit
"extract-test.ss"
"persistent-struct-test.ss"
"quick-find-test.ss"
"snooze-create-test.ss"
"snooze-concurrency-test.ss"
"snooze-find-test.ss"
"snooze-modify-test.ss"
"snooze-pipeline-test.ss"
"snooze-revision-test.ss"
"snooze-syntax-test.ss"
"snooze-transaction-test.ss"
"test-base.ss"
"test-data.ss"
"audit/all-audit-tests.ss"
"check/all-check-tests.ss"
"era/all-era-tests.ss"
"sql/all-sql-tests.ss")
(define (make-snooze-tests snooze back-end-tests)
(test-suite "snooze"
#:before
(lambda ()
(for-each (lambda (name)
(send snooze drop-table name))
(send snooze table-names)))
all-era-tests
extract-tests
persistent-struct-tests
all-sql-tests
snooze-syntax-tests
back-end-tests
(make-snooze-create-tests snooze)
(make-snooze-modify-tests snooze)
(make-snooze-pipeline-tests snooze)
(make-snooze-find-tests snooze)
(make-snooze-revision-tests snooze)
(make-snooze-transaction-tests snooze)
(make-snooze-concurrency-tests snooze)
(make-quick-find-tests snooze)
(make-audit-tests snooze)
all-check-tests))
(provide make-snooze-tests)