;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; This file is part of "NOVA": NOVA = search + COCOMO tools ; Copyright, 2008, Tim Menzies tim@menzies.us ; ; NOVA is free software: you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation, either version 3 of the License, or ; (at your option) any later version. ; ; NOVA is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; You should have received a copy of the GNU General Public License ; a long with NOVA. If not, see . ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (in-package :nova-test.apps) (defvar *dummy-search-engine-descriptor* (make-search-engine-descriptor "test" #'(lambda (state) (declare (ignore state)) (values)))) (deftestsuite search-engines-apps-test-suite (nova-tests) () :dynamic-variables (*search-engines*) :setup (setf *search-engines* (list (cons 'test *dummy-search-engine-descriptor*))) :teardown (setf *search-engines* nil)) ;;TODO search engine tests (addtest check-call-search-engine (ensure-no-warning (call-search-engine *dummy-search-engine-descriptor* (create-state nil nil nil))))