Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/kyua-cli/dist/utils/config/
H A Dlua_module_test.cpp62 class custom_node : public config::typed_leaf_node< custom_type > { class
70 std::unique_ptr< custom_node > new_node(new custom_node()); in deep_copy()
355 ATF_TEST_CASE_WITHOUT_HEAD(custom_node);
356 ATF_TEST_CASE_BODY(custom_node) in ATF_TEST_CASE_BODY() argument
359 tree.define< custom_node >("key1"); in ATF_TEST_CASE_BODY()
360 tree.define< custom_node >("key2"); in ATF_TEST_CASE_BODY()
361 tree.set< custom_node >("key2", custom_type(10)); in ATF_TEST_CASE_BODY()
370 ATF_REQUIRE_EQ(1024, tree.lookup< custom_node >("key1").value); in ATF_TEST_CASE_BODY()
371 ATF_REQUIRE_EQ(200, tree.lookup< custom_node >("key2").value); in ATF_TEST_CASE_BODY()
436 ATF_ADD_TEST_CASE(tcs, custom_node); in ATF_INIT_TEST_CASES()