MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_capabilities_get_inv_context

Function test_capabilities_get_inv_context

dpdk/app/test/test_security.c:1538–1548  ·  view source on GitHub ↗

* Test execution of rte_security_capabilities_get with NULL instance */

Source from the content-addressed store, hash-verified

1536 * Test execution of rte_security_capabilities_get with NULL instance
1537 */
1538static int
1539test_capabilities_get_inv_context(void)
1540{
1541 const struct rte_security_capability *ret;
1542 ret = rte_security_capabilities_get(NULL);
1543 TEST_ASSERT_MOCK_FUNCTION_CALL_RET(rte_security_capabilities_get,
1544 ret, NULL, "%p");
1545 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 0);
1546
1547 return TEST_SUCCESS;
1548}
1549
1550/**
1551 * Test execution of rte_security_capabilities_get with invalid

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected