/dports/net/libyang/libyang-1.0.240/swig/java/tests/ |
H A D | TreeSchemaTest.java | 316 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_module_fd() local 323 RandomAccessFile f = new RandomAccessFile(yin_file, "r"); in test_ly_ctx_parse_module_fd() 355 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_module_fd_invalid() local 361 RandomAccessFile f = new RandomAccessFile(yin_file, "r"); in test_ly_ctx_parse_module_fd_invalid() 379 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_module_path() local 386 Module module = ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_parse_module_path() 401 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_module_path_invalid() local 407 Module module = ctx.parse_module_path(yin_file, LYS_IN_YANG); in test_ly_ctx_parse_module_path_invalid()
|
H A D | LibyangTest.java | 266 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_module_path() local 275 Module module = ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_parse_module_path() 307 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_get_submodule() local 314 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_get_submodule() 328 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_get_submodule2() local 335 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_get_submodule2() 354 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_find_path() local 367 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_find_path() 379 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_set() local 385 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_set()
|
H A D | TreeDataTest.java | 127 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_data_mem() local 132 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_parse_data_mem() 145 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_data_fd() local 151 ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_parse_data_fd() 170 String yin_file = Constants.TESTS_DIR + "/api/files/a.yin"; in test_ly_ctx_parse_data_path() local 178 Module module = ctx.parse_module_path(yin_file, LYS_IN_YIN); in test_ly_ctx_parse_data_path()
|
/dports/net/libyang/libyang-1.0.240/swig/cpp/tests/ |
H A D | test_tree_schema.cpp | 329 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 336 FILE *f = fopen(yin_file, "r"); in TEST() 357 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 364 f = fopen(yin_file, "r"); in TEST() 380 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 387 auto module = ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST() 403 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 409 auto module = ctx->parse_module_path(yin_file, LYS_IN_YANG); in TEST()
|
H A D | test_libyang.cpp | 288 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 297 auto module = ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST() 329 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 336 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST() 350 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 357 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST() 375 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 388 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST() 401 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 407 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
|
H A D | test_tree_data.cpp | 158 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 163 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST() 177 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 183 ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST() 200 const char *yin_file = TESTS_DIR "/api/files/a.yin"; in TEST() local 208 auto module = ctx->parse_module_path(yin_file, LYS_IN_YIN); in TEST()
|
/dports/net/libyang/libyang-1.0.240/swig/python/tests/ |
H A D | test_libyang.py | 292 yin_file = config.TESTS_DIR + "/api/files/a.yin" 303 module = ctx.parse_module_path(yin_file, ly.LYS_IN_YIN) 337 yin_file = config.TESTS_DIR + "/api/files/a.yin" 345 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN) 357 yin_file = config.TESTS_DIR + "/api/files/a.yin" 365 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN) 380 yin_file = config.TESTS_DIR + "/api/files/a.yin" 395 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN) 405 yin_file = config.TESTS_DIR + "/api/files/a.yin" 412 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
|
H A D | test_tree_schema.py | 348 yin_file = config.TESTS_DIR + "/api/files/a.yin" 357 f = open(yin_file, 'r') 378 yin_file = config.TESTS_DIR + "/api/files/a.yin" 386 f = open(yin_file, 'r') 406 yin_file = config.TESTS_DIR + "/api/files/a.yin" 415 module = ctx.parse_module_path(yin_file, ly.LYS_IN_YIN) 428 yin_file = config.TESTS_DIR + "/api/files/a.yin" 437 module = ctx.parse_module_path(yin_file, ly.LYS_IN_YANG)
|
H A D | test_tree_data.py | 149 yin_file = config.TESTS_DIR + "/api/files/a.yin" 155 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN) 167 yin_file = config.TESTS_DIR + "/api/files/a.yin" 173 ctx.parse_module_path(yin_file, ly.LYS_IN_YIN) 190 yin_file = config.TESTS_DIR + "/api/files/a.yin" 198 module = ctx.parse_module_path(yin_file, ly.LYS_IN_YIN)
|
/dports/net/libyang/libyang-1.0.240/tests/schema/yin/ |
H A D | test_print_transform.c | 89 char *yin_file) in execute_test_with_filenames() argument 116 file = fopen(yin_file, "r"); in execute_test_with_filenames()
|
/dports/net/libyang/libyang-1.0.240/tests/api/ |
H A D | test_tree_schema.c | 398 char *yin_file = TESTS_DIR"/api/files/a.yin"; in test_lys_parse_fd() local 404 fd = open(yin_file, O_RDONLY); in test_lys_parse_fd() 445 char *yin_file = TESTS_DIR"/api/files/a.yin"; in test_lys_parse_path() local 449 fd = open(yin_file, O_RDONLY); in test_lys_parse_path() 462 module = lys_parse_path(ctx, yin_file, LYS_IN_YIN); in test_lys_parse_path()
|
H A D | test_libyang.c | 46 char *yin_file = TESTS_DIR"/api/files/a.yin"; in setup_f() local 56 if (!lys_parse_path(ctx, yin_file, LYS_IN_YIN)) { in setup_f()
|