Home
last modified time | relevance | path

Searched refs:const_result (Results 1 – 1 of 1) sorted by relevance

/freebsd/lib/libnv/tests/
H A Dnv_array_tests.cc48 const bool *const_result; in ATF_TEST_CASE_BODY() local
70 const_result = nvlist_get_bool_array(nvl, key, &num_items); in ATF_TEST_CASE_BODY()
72 ATF_REQUIRE(const_result != NULL); in ATF_TEST_CASE_BODY()
74 ATF_REQUIRE_EQ(const_result[i], testbool[i]); in ATF_TEST_CASE_BODY()
78 ATF_REQUIRE(const_result != NULL); in ATF_TEST_CASE_BODY()
93 const char * const *const_result; in ATF_TEST_CASE_BODY() local
114 const_result = nvlist_get_string_array(nvl, key, &num_items); in ATF_TEST_CASE_BODY()
116 ATF_REQUIRE(const_result != NULL); in ATF_TEST_CASE_BODY()
120 ATF_REQUIRE(strcmp(const_result[i], in ATF_TEST_CASE_BODY()
123 ATF_REQUIRE(const_result[i] == string_arr[i]); in ATF_TEST_CASE_BODY()
[all …]