
* Some racketisms. * Use explicit `in-list' etc in for loops. * Remove some redundant requires from `net/dns'. * Move all tests to `tests/net', including a new `tests/net/ip'. In the future there's a plan to have things like stripped zos etc for distribution, but we're not there yet, and the net collection is already organized nicely so this also makes it more uniform. * Include the dns tests in the main test file.
33 lines
935 B
Racket
33 lines
935 B
Racket
#lang racket/base
|
|
|
|
(require tests/eli-tester
|
|
(prefix-in ip: "ip.rkt")
|
|
(prefix-in dns: "dns.rkt")
|
|
(prefix-in ucodec: "uri-codec.rkt")
|
|
(prefix-in url: "url.rkt")
|
|
(prefix-in cgi: "cgi.rkt")
|
|
(prefix-in ftp: "ftp.rkt")
|
|
(prefix-in head: "head.rkt")
|
|
(prefix-in cookie: "cookie.rkt")
|
|
(prefix-in encoders: "encoders.rkt")
|
|
(prefix-in mime: "mime.rkt")
|
|
(prefix-in url-port: "url-port.rkt")
|
|
(prefix-in websocket: "websocket.rkt"))
|
|
|
|
(define (tests)
|
|
(test do (ip:tests)
|
|
do (dns:tests)
|
|
do (url:tests)
|
|
do (ucodec:tests)
|
|
do (ucodec:noels-tests)
|
|
do (cgi:tests)
|
|
do (ftp:tests)
|
|
do (head:tests)
|
|
do (cookie:tests)
|
|
do (encoders:tests)
|
|
do (mime:tests)
|
|
do (url-port:tests)
|
|
do (websocket:tests)))
|
|
|
|
(tests)
|