source: trunk/source/tests/ansi-tests/load-logical-pathname-translations.lsp @ 8991

Last change on this file since 8991 was 8991, checked in by gz, 11 years ago

Check in the gcl ansi test suite (original, in preparation for making local changes)

File size: 927 bytes
Line 
1;-*- Mode:     Lisp -*-
2;;;; Author:   Paul Dietz
3;;;; Created:  Wed Dec 31 09:31:33 2003
4;;;; Contains: Tests (such as they are) for LOAD-LOGICAL-PATHNAME-TRANSLATIONS
5
6(in-package :cl-test)
7
8;;; The function LOAD-LOGICAL-PATHNAME-TRANSLATIONS is almost entirely
9;;; untestable, since the basic behavior is implementation defined.
10
11(deftest load-logical-pathname-translations.1
12  (load-logical-pathname-translations "CLTESTROOT")
13  nil)
14
15;;; Error cases
16
17(deftest load-logical-pathname-translations.error.1
18  (handler-case
19   (progn (load-logical-pathname-translations
20           "THEREHADBETTERNOTBEAHOSTCALLEDTHIS")
21         nil)
22   (error () :good))
23  :good)
24
25(deftest load-logical-pathname-translations.error.2
26  (signals-error (load-logical-pathname-translations)
27                 program-error)
28  t)
29
30(deftest load-logical-pathname-translations.error.3
31  (signals-error (load-logical-pathname-translations "CLTESTROOT" nil)
32                 program-error)
33  t)
34
Note: See TracBrowser for help on using the repository browser.