Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ansi-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Karsten Poeck
ansi-test
Commits
5d4bb7d4
Commit
5d4bb7d4
authored
Feb 12, 2004
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests for two-way-stream accessor functions.
parent
b649f246
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
ansi-tests/two-way-stream-input-stream.lsp
ansi-tests/two-way-stream-input-stream.lsp
+26
-0
ansi-tests/two-way-stream-output-stream.lsp
ansi-tests/two-way-stream-output-stream.lsp
+26
-0
No files found.
ansi-tests/two-way-stream-input-stream.lsp
0 → 100644
View file @
5d4bb7d4
;-*- Mode: Lisp -*-
;;;; Author: Paul Dietz
;;;; Created: Thu Feb 12 04:22:50 2004
;;;; Contains: Tests of TWO-WAY-STREAM-INPUT-STREAM
(in-package :cl-test)
(deftest two-way-stream-input-stream.1
(let* ((is (make-string-input-stream "foo"))
(os (make-string-output-stream))
(s (make-two-way-stream is os)))
(equalt (multiple-value-list (two-way-stream-input-stream s))
(list is)))
t)
(deftest two-way-stream-input-stream.error.1
(signals-error (two-way-stream-input-stream) program-error)
t)
(deftest two-way-stream-input-stream.error.2
(signals-error (let* ((is (make-string-input-stream "foo"))
(os (make-string-output-stream))
(s (make-two-way-stream is os)))
(two-way-stream-input-stream s nil))
program-error)
t)
ansi-tests/two-way-stream-output-stream.lsp
0 → 100644
View file @
5d4bb7d4
;-*- Mode: Lisp -*-
;;;; Author: Paul Dietz
;;;; Created: Thu Feb 12 04:25:59 2004
;;;; Contains: Tests off TWO-WAY-STREAM-OUTPUT-STREAM
(in-package :cl-test)
(deftest two-way-stream-output-stream.1
(let* ((is (make-string-input-stream "foo"))
(os (make-string-output-stream))
(s (make-two-way-stream is os)))
(equalt (multiple-value-list (two-way-stream-output-stream s))
(list os)))
t)
(deftest two-way-stream-output-stream.error.1
(signals-error (two-way-stream-output-stream) program-error)
t)
(deftest two-way-stream-output-stream.error.2
(signals-error (let* ((is (make-string-input-stream "foo"))
(os (make-string-output-stream))
(s (make-two-way-stream is os)))
(two-way-stream-output-stream s nil))
program-error)
t)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment