/dports/net/libyang/libyang-1.0.240/tests/schema/ |
H A D | test_printer.c | 31 ctx = ly_ctx_new(SCHEMA_FOLDER_YANG, 0); in setup_ctx() 502 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yin_with_unique() 526 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yang_with_unique() 550 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yin_with_submodule_types() 579 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yang_with_submodule_types() 616 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yin_with_submodule_grouping_idref_default() 653 ctx2 = ly_ctx_new(NULL, 0); in test_parse_yang_with_submodule_grouping_idref_default()
|
H A D | test_include.c | 37 *state = ly_ctx_new(NULL, 0); in setup_ctx() 80 *state = ctx = ly_ctx_new(SCHEMA_FOLDER_YANG, 0); in test_mult_revisions()
|
H A D | test_import.c | 37 *state = ly_ctx_new(NULL, 0); in setup_ctx() 89 *state = ctx = ly_ctx_new(SCHEMA_FOLDER_YIN, 0); in test_mult_revisions()
|
/dports/net/libyang/libyang-1.0.240/tests/data/ |
H A D | test_parse_print.c | 54 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in setup_f() 118 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_prefix() 139 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_contact() 160 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_organization() 181 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_description() 202 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_reference() 223 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_yang_version() 241 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_namespace() 262 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_when() 289 st->ctx = ly_ctx_new(TESTS_DIR"/data/files", 0); in test_parse_print_yin_error_container() [all …]
|
/dports/net/libyang/libyang-1.0.240/tests/api/ |
H A D | test_libyang.c | 51 ctx = ly_ctx_new(yang_folder, 0); in setup_f() 102 ctx = ly_ctx_new(yang_folder1, 0); in test_ly_ctx_new() 110 ctx = ly_ctx_new(yang_folder2, 0); in test_ly_ctx_new() 125 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_new_invalid() 140 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_get_searchdirs() 166 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_set_searchdir() 198 ctx = ly_ctx_new(yang_folder, 0); in test_ly_ctx_set_searchdir_invalid() 618 ctx = ly_ctx_new(NULL, 0); in test_ly_ctx_remove_module2() 645 ctx = ly_ctx_new(NULL, 0); in test_lys_set_enabled() 675 ctx = ly_ctx_new(NULL, 0); in test_lys_set_disabled() [all …]
|
/dports/net/libyang/libyang-1.0.240/tests/conformance/ |
H A D | test_sec5_1.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_IMPORT_INCLUDE()
|
H A D | test_sec6_2.c | 52 st->ctx = ly_ctx_new(NULL, 0); in setup_f() 124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_NAME()
|
H A D | test_sec7_3.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
|
H A D | test_sec6_2_1.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_NAME()
|
H A D | test_sec7_1.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
|
H A D | test_sec7_2.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
|
H A D | test_sec7_3_1.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
|
H A D | test_sec7_5_2.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 124 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
|
H A D | test_sec5_5.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_TYPEDEF_GROUPING()
|
H A D | test_sec7_15_1.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 125 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_ACTION()
|
H A D | test_sec7_11.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 127 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_GROUPING()
|
H A D | test_sec7_15.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 127 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_AUGMENT()
|
H A D | test_sec7_19_2.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 127 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_STATUS()
|
H A D | test_sec7_19_5.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_WHEN()
|
H A D | test_sec7_3_4.c | 52 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in setup_f() 126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_MODULE()
|
H A D | test_sec7_5_5.c | 52 st->ctx = ly_ctx_new(NULL, 0); in setup_f() 126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_CONTAINER_PRESENCE()
|
H A D | test_sec7_6_3.c | 52 st->ctx = ly_ctx_new(NULL, 0); in setup_f() 126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_LEAF()
|
H A D | test_sec7_7_4.c | 52 st->ctx = ly_ctx_new(NULL, 0); in setup_f() 126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_LEAFLIST_MINELEMENTS()
|
H A D | test_sec7_8_1.c | 52 st->ctx = ly_ctx_new(NULL, 0); in setup_f() 126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_LIST()
|
H A D | test_sec7_8_3.c | 52 st->ctx = ly_ctx_new(NULL, 0); in setup_f() 126 st->ctx = ly_ctx_new(TESTS_DIR "/conformance/" TEST_DIR, 0); in TEST_LIST_UNIQUE()
|