Lines Matching refs:uri_path
347 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri13() local
349 CU_ASSERT(uri_path->length == sizeof(COAP_DEFAULT_URI_WELLKNOWN)-1); in t_parse_uri13()
350 CU_ASSERT_NSTRING_EQUAL(uri_path->s, COAP_DEFAULT_URI_WELLKNOWN, in t_parse_uri13()
352 coap_delete_string(uri_path); in t_parse_uri13()
448 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri18() local
450 CU_ASSERT(uri_path->length == 0); in t_parse_uri18()
454 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "", 1); in t_parse_uri18()
456 coap_delete_string(uri_path); in t_parse_uri18()
473 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri19() local
475 CU_ASSERT(uri_path->length == 4); in t_parse_uri19()
476 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "foo/", 4); in t_parse_uri19()
477 coap_delete_string(uri_path); in t_parse_uri19()
493 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri20() local
496 CU_ASSERT(uri_path->length == 1); in t_parse_uri20()
497 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "/", 1); in t_parse_uri20()
498 coap_delete_string(uri_path); in t_parse_uri20()
514 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri21() local
517 CU_ASSERT(uri_path->length == 4); in t_parse_uri21()
518 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "/foo", 4); in t_parse_uri21()
519 coap_delete_string(uri_path); in t_parse_uri21()
537 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri22() local
539 CU_ASSERT(uri_path->length == 16); in t_parse_uri22()
540 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "-._~!$&'()/*+,;=", 16); in t_parse_uri22()
541 coap_delete_string(uri_path); in t_parse_uri22()
558 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri23() local
560 CU_ASSERT(uri_path->length == 15); in t_parse_uri23()
561 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "%25%20%23%5B%5D", 15); in t_parse_uri23()
562 coap_delete_string(uri_path); in t_parse_uri23()