BOOTSTRAP (ktestutils) functions
LIBRARY ROUTINE
ktest_case - introduce a test case
LIBRARY CALL
void
ktest_case(
kstring description)
INPUT
- description - A short description of the test case.
The description should not exceed 60
characters.
OUTPUT
none
RETURN VALUE
none
DESCRIPTION
This function is used to introduce a test case within
a testsuite.
You should have called ktest_begin() before calling
this function.
For example, when testing the function
kcms_add_toolbox()
,
one case to test for is a NULL
toolbox name.
This test case is introduced with the following line:
ktest_case("NULL toolbox name");
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/ktestutils/src/public.c
SEE ALSO
ktestutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.