Lines Matching refs:uri
39 const char *uri, uint16_t len);
455 const char *uri; in ZTEST() local
458 uri = "/k"; in ZTEST()
459 r = _coap_match_path_uri(resource_path, uri, strlen(uri)); in ZTEST()
460 zassert_false(r, "Matching %s failed", uri); in ZTEST()
462 uri = "/s"; in ZTEST()
463 r = _coap_match_path_uri(resource_path, uri, strlen(uri)); in ZTEST()
464 zassert_true(r, "Matching %s failed", uri); in ZTEST()
466 uri = "/foobar"; in ZTEST()
467 r = _coap_match_path_uri(resource_path, uri, strlen(uri)); in ZTEST()
468 zassert_true(r, "Matching %s failed", uri); in ZTEST()
470 uri = "/foobar2"; in ZTEST()
471 r = _coap_match_path_uri(resource_path, uri, strlen(uri)); in ZTEST()
472 zassert_false(r, "Matching %s failed", uri); in ZTEST()
474 uri = "/foobar*"; in ZTEST()
475 r = _coap_match_path_uri(resource_path, uri, strlen(uri)); in ZTEST()
476 zassert_true(r, "Matching %s failed", uri); in ZTEST()
478 uri = "/foobar3*"; in ZTEST()
479 r = _coap_match_path_uri(resource_path, uri, strlen(uri)); in ZTEST()
480 zassert_true(r, "Matching %s failed", uri); in ZTEST()
482 uri = "/devnull*"; in ZTEST()
483 r = _coap_match_path_uri(resource_path, uri, strlen(uri)); in ZTEST()
484 zassert_false(r, "Matching %s failed", uri); in ZTEST()