/dports/net/libyang/libyang-1.0.240/swig/python/tests/ |
H A D | test_libyang.py | 53 yang_folder = "INVALID_PATH" 56 ctx = ly.Context(yang_folder) 73 ctx = ly.Context(yang_folder) 90 ctx = ly.Context(yang_folder) 117 ctx = ly.Context(yang_folder) 138 ctx = ly.Context(yang_folder) 154 ctx = ly.Context(yang_folder) 178 ctx = ly.Context(yang_folder) 221 ctx = ly.Context(yang_folder) 249 ctx = ly.Context(yang_folder) [all …]
|
H A D | test_tree_data.py | 153 ctx = ly.Context(yang_folder) 171 ctx = ly.Context(yang_folder) 196 ctx = ly.Context(yang_folder) 215 ctx = ly.Context(yang_folder) 236 ctx = ly.Context(yang_folder) 254 ctx = ly.Context(yang_folder) 301 ctx = ly.Context(yang_folder) 324 ctx = ly.Context(yang_folder) 348 ctx = ly.Context(yang_folder) 372 ctx = ly.Context(yang_folder) [all …]
|
H A D | test_tree_schema.py | 310 ctx = ly.Context(yang_folder) 330 ctx = ly.Context(yang_folder) 353 ctx = ly.Context(yang_folder) 382 ctx = ly.Context(yang_folder) 411 ctx = ly.Context(yang_folder) 432 ctx = ly.Context(yang_folder) 454 ctx = ly.Context(yang_folder) 471 ctx = ly.Context(yang_folder) 488 ctx = ly.Context(yang_folder) 505 ctx = ly.Context(yang_folder) [all …]
|
/dports/net/libyang/libyang-1.0.240/swig/cpp/tests/ |
H A D | test_tree_schema.cpp | 291 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 312 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 328 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 356 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 379 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 402 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 419 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 437 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 455 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 473 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local [all …]
|
H A D | test_libyang.cpp | 58 const char *yang_folder = "INVALID_PATH"; in TEST() local 71 const char *yang_folder = TESTS_DIR "/data/files"; in TEST() local 79 ASSERT_EQ(yang_folder, list.at(0)); in TEST() 88 const char *yang_folder = TESTS_DIR "/data/files"; in TEST() local 97 ASSERT_EQ(yang_folder, list.at(0)); in TEST() 116 const char *yang_folder = TESTS_DIR "/data/files"; in TEST() local 133 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 149 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 164 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 207 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local [all …]
|
H A D | test_tree_data.cpp | 157 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 176 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 199 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 223 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 239 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 259 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 307 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 329 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 354 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local 379 const char *yang_folder = TESTS_DIR "/api/files"; in TEST() local [all …]
|
/dports/net/libyang/libyang-1.0.240/swig/java/tests/ |
H A D | LibyangTest.java | 41 String yang_folder = "INVALID_PATH"; in test_ly_ctx_new_invalid() local 44 Context ctx = new Context(yang_folder); in test_ly_ctx_new_invalid() 56 Context ctx = new Context(yang_folder); in test_ly_ctx_get_searchdirs() 61 assertEquals(yang_folder, list.get(0)); in test_ly_ctx_get_searchdirs() 73 Context ctx = new Context(yang_folder); in test_ly_ctx_set_searchdir() 78 assertEquals(yang_folder, list.get(0)); in test_ly_ctx_set_searchdir() 100 Context ctx = new Context(yang_folder); in test_ly_ctx_set_searchdir_invalid() 114 Context ctx = new Context(yang_folder); in test_ly_ctx_info() 129 Context ctx = new Context(yang_folder); in test_ly_ctx_load_module_invalid() 148 Context ctx = new Context(yang_folder); in test_ly_ctx_load_get_module() [all …]
|
H A D | TreeSchemaTest.java | 283 Context ctx = new Context(yang_folder); in test_ly_ctx_parse_module_mem() 303 Context ctx = new Context(yang_folder); in test_ly_ctx_parse_module_mem_invalid() 320 Context ctx = new Context(yang_folder); in test_ly_ctx_parse_module_fd() 358 Context ctx = new Context(yang_folder); in test_ly_ctx_parse_module_fd_invalid() 383 Context ctx = new Context(yang_folder); in test_ly_ctx_parse_module_path() 404 Context ctx = new Context(yang_folder); in test_ly_ctx_parse_module_path_invalid() 419 Context ctx = new Context(yang_folder); in test_ly_module_print_mem_tree() 436 Context ctx = new Context(yang_folder); in test_ly_module_print_mem_yang() 453 Context ctx = new Context(yang_folder); in test_ly_module_print_mem_yin() 470 Context ctx = new Context(yang_folder); in test_ly_schema_node_find_path() [all …]
|
H A D | TreeDataTest.java | 130 Context ctx = new Context(yang_folder); in test_ly_ctx_parse_data_mem() 149 Context ctx = new Context(yang_folder); in test_ly_ctx_parse_data_fd() 176 Context ctx = new Context(yang_folder); in test_ly_ctx_parse_data_path() 195 Context ctx = new Context(yang_folder); in test_ly_ctx_parse_data_path_invalid() 211 Context ctx = new Context(yang_folder); in test_ly_data_node() 234 Context ctx = new Context(yang_folder); in test_ly_data_node_new_path() 281 Context ctx = new Context(yang_folder); in test_ly_data_node_insert() 302 Context ctx = new Context(yang_folder); in test_ly_data_node_insert_sibling() 326 Context ctx = new Context(yang_folder); in test_ly_data_node_insert_before() 350 Context ctx = new Context(yang_folder); in test_ly_data_node_insert_after() [all …]
|
/dports/net/libyang/libyang-1.0.240/tests/data/ |
H A D | test_data_initialization.c | 36 generic_init(char *config_file, char *yang_file, char *yang_folder) in generic_init() argument 45 if (!config_file || !yang_file || !yang_folder) { in generic_init() 52 ctx = ly_ctx_new(yang_folder, 0); in generic_init() 109 char *yang_folder = TESTS_DIR"/data/files"; in setup_f() local 112 rc = generic_init(config_file, yang_file, yang_folder); in setup_f()
|
/dports/net/libyang/libyang-1.0.240/tests/api/ |
H A D | test_dict.c | 41 generic_init(char *yang_file, char *yang_folder) in generic_init() argument 48 if (!yang_file || !yang_folder) { in generic_init() 54 ctx = ly_ctx_new(yang_folder, 0); in generic_init() 92 char *yang_folder = TESTS_DIR"/api/files"; in setup_f() local 95 rc = generic_init(yang_file, yang_folder); in setup_f()
|
H A D | test_libyang.c | 49 char *yang_folder = TESTS_DIR"/api/files"; in setup_f() local 51 ctx = ly_ctx_new(yang_folder, 0); in setup_f() 123 char *yang_folder = "INVALID_PATH"; in test_ly_ctx_new_invalid() local 125 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_new_invalid() 135 char yang_folder[PATH_MAX]; in test_ly_ctx_get_searchdirs() local 140 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_get_searchdirs() 159 char yang_folder[PATH_MAX]; in test_ly_ctx_set_searchdir() local 166 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_set_searchdir() 192 char yang_folder[PATH_MAX]; in test_ly_ctx_set_searchdir_invalid() local 198 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_set_searchdir_invalid() [all …]
|
H A D | test_xml.c | 101 generic_init(char *yang_file, char *yang_folder) in generic_init() argument 108 if (!yang_file || !yang_folder) { in generic_init() 114 ctx = ly_ctx_new(yang_folder, 0); in generic_init() 152 char *yang_folder = TESTS_DIR"/api/files"; in setup_f() local 155 rc = generic_init(yang_file, yang_folder); in setup_f()
|
H A D | test_tree_data.c | 181 if (!yang_folder) { in generic_init() 188 ctx = ly_ctx_new(yang_folder, 0); in generic_init() 254 char *yang_folder = TESTS_DIR"/api/files"; in setup_f() local 318 char *yang_folder = TESTS_DIR"/api/files"; in test_lyd_parse_mem() local 324 ctx = ly_ctx_new(yang_folder, 0); in test_lyd_parse_mem() 358 char *yang_folder = TESTS_DIR"/api/files"; in test_lyd_parse_fd() local 367 ctx = ly_ctx_new(yang_folder, 0); in test_lyd_parse_fd() 409 char *yang_folder = TESTS_DIR"/api/files"; in test_lyd_parse_path() local 416 ctx = ly_ctx_new(yang_folder, 0); in test_lyd_parse_path() 456 ctx = ly_ctx_new(yang_folder, 0); in test_lyd_parse_xml() [all …]
|
H A D | test_tree_schema.c | 332 char *yang_folder = TESTS_DIR"/api/files"; in setup_f() local 334 ctx = ly_ctx_new(yang_folder, 0); in setup_f() 359 char *yang_folder = TESTS_DIR"/api/files"; in test_lys_parse_mem() local 365 ctx = ly_ctx_new(yang_folder, 0); in test_lys_parse_mem() 397 char *yang_folder = TESTS_DIR"/api/files"; in test_lys_parse_fd() local 402 ctx = ly_ctx_new(yang_folder, 0); in test_lys_parse_fd() 444 char *yang_folder = TESTS_DIR"/api/files"; in test_lys_parse_path() local 461 ctx = ly_ctx_new(yang_folder, 0); in test_lys_parse_path()
|