source: branches/1.1.x/test/lisp/abcl/test-utilities.lisp

Last change on this file was 13057, checked in by Mark Evenson, 14 years ago

Tests for the implementation of URI encoding.

Restructured test package by factoring commonly used routines into the
newly created 'utilities.lisp'.

Start marking tests that are known failures.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1;;; test-utilities.lisp
2;;;
3;;; Copyright (C) 2005-2006 Peter Graves
4;;; $Id: test-utilities.lisp 13057 2010-11-27 11:03:58Z mevenson $
5;;;
6;;; This program is free software; you can redistribute it and/or
7;;; modify it under the terms of the GNU General Public License
8;;; as published by the Free Software Foundation; either version 2
9;;; of the License, or (at your option) any later version.
10;;;
11;;; This program is distributed in the hope that it will be useful,
12;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with this program; if not, write to the Free Software
18;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19
20#+(and allegro mswindows)
21(pushnew :windows *features*)
22#+(and clisp win32)
23(pushnew :windows *features*)
24#+(and lispworks win32)
25(pushnew :windows *features*)
26
27(in-package #:abcl-regression-test)
28
29(defmacro signals-error (form error-name)
30  `(locally (declare (optimize safety))
31     (handler-case ,form
32       (condition (c) (typep c ,error-name))
33       (:no-error (&rest ignored) (declare (ignore ignored)) nil))))
34(export '(signals-error))
35
36#+nil (rem-all-tests)
37
38#+nil (setf *expected-failures* nil)
39
Note: See TracBrowser for help on using the repository browser.