Lines Matching +full:use +full:- +full:case
2 * SPDX-License-Identifier: BSD-3-Clause
7 * Redistribution and use in source and binary forms, with or without
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37 * (see atf-c-api(3)).
43 * use a similar naming scheme for your own tests.
46 #include <atf-c.h>
51 * This is the simplest form of a test case definition: a test case
54 * In most cases, this is the definition you will want to use. However,
55 * make absolutely sure that the test case name is descriptive enough.
56 * Multi-word test case names are encouraged. Keep in mind that these
58 * the combination of the test program plus the name of the test case to
67 /* This first require-style check invokes the function we are in ATF_TC_BODY()
73 /* This second check-style check compares that the result of the in ATF_TC_BODY()
74 * snprintf call we performed above is correct. We use a check in ATF_TC_BODY()
80 * This is a more complex form of a test case definition: a test case
85 * See atf-test-case(4) and kyua-atf-interface(1) for details on all
91 /* In this specific case, we define a textual description for in ATF_TC_HEAD()
92 * the test case, which is later exported to the reports for in ATF_TC_HEAD()
96 * test case names to textual descriptions. */ in ATF_TC_HEAD()
97 atf_tc_set_md_var(tc, "descr", "This test case validates the proper " in ATF_TC_HEAD()
105 /* This is a similar test to the above, but in this case we do the in ATF_TC_BODY()
106 * test ourselves and forego the ATF_* macros. Note that we use the in ATF_TC_BODY()
112 * filing a feature request to get a new macro if you think your case in ATF_TC_BODY()
122 * Another simple test case, but this time with side-effects. This
123 * particular test case modifies the contents of the current directory