Searched refs:int_node (Results 1 – 6 of 6) sorted by relevance
| /minix3/external/bsd/kyua-cli/dist/utils/config/ |
| H A D | tree_test.cpp | 136 tree.define< config::int_node >("var1"); in ATF_TEST_CASE_BODY() 140 tree.set< config::int_node >("var1", 42); in ATF_TEST_CASE_BODY() 144 ATF_REQUIRE_EQ(42, tree.lookup< config::int_node >("var1")); in ATF_TEST_CASE_BODY() 155 tree.define< config::int_node >("foo.bar.1"); in ATF_TEST_CASE_BODY() 160 tree.set< config::int_node >("foo.bar.1", 42); in ATF_TEST_CASE_BODY() 164 tree.set< config::int_node >("sub.tree.2", 4); in ATF_TEST_CASE_BODY() 165 tree.set< config::int_node >("sub.tree.3.4", 123); in ATF_TEST_CASE_BODY() 167 ATF_REQUIRE_EQ(42, tree.lookup< config::int_node >("foo.bar.1")); in ATF_TEST_CASE_BODY() 170 ATF_REQUIRE_EQ(4, tree.lookup< config::int_node >("sub.tree.2")); in ATF_TEST_CASE_BODY() 171 ATF_REQUIRE_EQ(123, tree.lookup< config::int_node >("sub.tree.3.4")); in ATF_TEST_CASE_BODY() [all …]
|
| H A D | lua_module_test.cpp | 129 tree.define< config::int_node >("top_integer"); in ATF_TEST_CASE_BODY() 142 ATF_REQUIRE_EQ(12345, tree.lookup< config::int_node >("top_integer")); in ATF_TEST_CASE_BODY() 151 tree.define< config::int_node >("first"); in ATF_TEST_CASE_BODY() 152 tree.define< config::int_node >("second"); in ATF_TEST_CASE_BODY() 160 ATF_REQUIRE_EQ(100, tree.lookup< config::int_node >("first")); in ATF_TEST_CASE_BODY() 161 ATF_REQUIRE_EQ(200, tree.lookup< config::int_node >("second")); in ATF_TEST_CASE_BODY() 169 tree.define< config::int_node >("first"); in ATF_TEST_CASE_BODY() 177 ATF_REQUIRE_EQ(200, tree.lookup< config::int_node >("first")); in ATF_TEST_CASE_BODY() 185 tree.define< config::int_node >("first"); in ATF_TEST_CASE_BODY() 186 tree.set< config::int_node >("first", 100); in ATF_TEST_CASE_BODY() [all …]
|
| H A D | parser_test.cpp | 62 tree.define< config::int_node >("inner.int"); in setup() 125 ATF_REQUIRE_EQ(12345, tree.lookup< config::int_node >("inner.int")); in ATF_TEST_CASE_BODY() 190 tree.define< config::int_node >("var"); in ATF_TEST_CASE_BODY() 204 tree.define< config::int_node >("var"); in ATF_TEST_CASE_BODY() 216 ATF_REQUIRE_EQ(3, tree.lookup< config::int_node >("var")); in ATF_TEST_CASE_BODY()
|
| H A D | nodes_test.cpp | 46 class validation_node : public config::int_node { 192 config::int_node node; in ATF_TEST_CASE_BODY() 195 config::int_node* copy = static_cast< config::int_node* >(raw_copy); in ATF_TEST_CASE_BODY() 207 config::int_node node; in ATF_TEST_CASE_BODY() 217 config::int_node node; in ATF_TEST_CASE_BODY() 230 config::int_node node; in ATF_TEST_CASE_BODY() 244 config::int_node node; in ATF_TEST_CASE_BODY() 260 config::int_node node; in ATF_TEST_CASE_BODY() 271 config::int_node node; in ATF_TEST_CASE_BODY() 282 config::int_node node; in ATF_TEST_CASE_BODY() [all …]
|
| H A D | nodes.cpp | 344 config::int_node::deep_copy(void) const in deep_copy() 346 std::auto_ptr< int_node > new_node(new int_node()); in deep_copy() 356 config::int_node::push_lua(lutok::state& state) const in push_lua() 370 config::int_node::set_lua(lutok::state& state, const int value_index) in set_lua()
|
| H A D | nodes.hpp | 212 class int_node : public native_leaf_node< int > { class
|