Lines Matching +full:tcs +full:- +full:offset

29 .Nm atf-c++ ,
63 .Nd C++ API to write ATF-based test programs
66 .Fn ATF_ADD_TEST_CASE "tcs" "name"
69 .Fn ATF_INIT_TEST_CASES "tcs"
145 C++-based test programs follow this template:
146 .Bd -literal -offset indent
148 \&... C-specific includes go here ...
151 \&... C++-specific includes go here ...
153 #include <atf-c++.hpp>
187 ATF_INIT_TEST_CASES(tcs)
189 ATF_ADD_TEST_CASE(tcs, tc1);
190 ATF_ADD_TEST_CASE(tcs, tc2);
191 ATF_ADD_TEST_CASE(tcs, tc3);
199 .Xr atf-test-case 4 .
261 The test case's header can define the meta-data by using the
264 meta-data variable to be set and the second one specifies its value.
267 The test case has read-only access to the current configuration variables
283 meta-data variable available in the header only, one can also check for
291 meta-data variable available in the header only, one can also check for
327 .Bl -tag -width indent
336 .Sq -1 ,
341 Any failure (be it fatal or non-fatal) raised in this mode is recorded.
373 .Sq -1 ,
431 In particular, these are useful to write tests for command-line interfaces.
438 .Bd -ragged -offset indent
450 .Bd -ragged -offset indent
462 .Bd -ragged -offset indent
475 .Bd -ragged -offset indent
486 .Bd -ragged -offset indent
496 .Bd -ragged -offset indent
508 .Bd -ragged -offset indent
513 This is a template that accepts any one-dimensional container of strings.
521 .Bd -ragged -offset indent
534 .Bd -ragged -offset indent
545 .Bd -ragged -offset indent
564 .Bd -ragged -offset indent
589 .Bl -tag -width ATFXBUILDXCXXFLAGSXX -compact
606 .Bd -literal -offset indent
607 #include <atf-c++.hpp>
632 ATF_REQUIRE_ERRNO(ENOENT, open("non-existent", O_RDONLY) == -1);
648 ATF_INIT_TEST_CASES(tcs)
650 ATF_ADD_TEST_CASE(tcs, addition);
651 ATF_ADD_TEST_CASE(tcs, open_failure);
652 ATF_ADD_TEST_CASE(tcs, known_bug);
656 .Xr atf-test-program 1 ,
657 .Xr atf-test-case 4