X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests.lisp;fp=tests.lisp;h=dd8035a6f8f5d456df37bf7998ea96eb4debe311;hb=c03522d6e56c265fc5b7d859d0a8b324805ddf73;hp=d31ac172f9582751ef36aa489cefaa3c52076335;hpb=04f829aab1e5caaefe60391f756e7a5db2d1282b;p=hyperobject.git diff --git a/tests.lisp b/tests.lisp index d31ac17..dd8035a 100644 --- a/tests.lisp +++ b/tests.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2003 ;;;; -;;;; $Id: tests.lisp,v 1.5 2003/05/14 05:29:48 kevin Exp $ +;;;; $Id: tests.lisp,v 1.6 2003/05/14 05:38:09 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2003 by Kevin M. Rosenberg ;;;; ************************************************************************* @@ -102,11 +102,11 @@ (rem-all-tests) -(deftest p1 (view-to-string mary) " Person: +(deftest p1 (view-to-string mary) "Person: Mary Jackson Thu, 4 May 2000 03:02:01 Style & Grace ") -(deftest p2 (view-to-string mary :subobjects t) " Person: +(deftest p2 (view-to-string mary :subobjects t) "Person: Mary Jackson Thu, 4 May 2000 03:02:01 Style & Grace Addresses: Home 321 Shady Lane @@ -121,60 +121,60 @@ ") (deftest p3 (view-to-string mary :category :compact-text-labels) - " Person: + "Person: first-name Mary last-name Jackson dob Thu, 4 May 2000 03:02:01 resume Style & Grace ") (deftest p4 (view-to-string mary :subobjects t :category :html-labels) - "

Person:

") (deftest p5 (view-to-string mary :subobjects t :category :xml-link-labels) - " Person: - Mary Jackson Style & Grace + "Person: + Addresss: -
Home 321 Shady Lane +
<![CDATA[Home]]> Phone Numbers: - Voice 367-9812 + <![CDATA[Voice]]> - Fax 367-9813 + <![CDATA[Fax]]>
-
Office 113 Main St. +
<![CDATA[Office]]> Phone Numbers: - Main line 123-0001 + <![CDATA[Main line]]> - Staff line 123-0002 + <![CDATA[Staff line]]> - Fax 123-0005 + <![CDATA[Fax]]>
- + ")