Commit 00e9a013 authored by Per Cederqvist's avatar Per Cederqvist

(Adding Aux-Item Types): Talk more about test cases.

parent 0e805f8b
\input texinfo
@c $Id: lyskomd.texi,v 1.36 2001/09/22 15:58:44 ceder Exp $
@c $Id: lyskomd.texi,v 1.37 2001/09/29 20:15:53 ceder Exp $
@c %**start of header
@setfilename lyskomd.info
@include version.texi
......@@ -1901,8 +1901,18 @@ saved properly. @xref{Modifying Stored Types}.
@item Write a definition of the new type in
@file{run-support/aux-items.conf}.
@item Write test cases for the new type in
@file{server/testsuite/lyskomd.0/03.exp}.
@item Some tests in at least
@file{server/testsuite/lyskomd.0/01.exp},
@file{server/testsuite/lyskomd.0/03.exp} and
@file{server/testsuite/lyskomd.0/18.exp} will fail when new predefined
aux-items are added. Fix the tests.
@item Write test cases for the new aux-item. If the aux item can be
set on a letterbox, do so in @file{server/testsuite/lyskomd.0/03.exp}
where the comment containing @samp{AUXITEM} says to do so. More
complex aux-items should have more tests written for them.
@file{server/testsuite/lyskomd.0/20.exp} might provide some
inspiration.
@item If the new type requires add, delete or undelete triggers that do
not already exist, declare the trigger functions in @file{aux-items.c}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment