* Test execution of rte_security_capability_get with NULL idx parameter */
| 1693 | * Test execution of rte_security_capability_get with NULL idx parameter |
| 1694 | */ |
| 1695 | static int |
| 1696 | test_capability_get_inv_idx(void) |
| 1697 | { |
| 1698 | struct security_unittest_params *ut_params = &unittest_params; |
| 1699 | |
| 1700 | const struct rte_security_capability *ret; |
| 1701 | ret = rte_security_capability_get(&ut_params->ctx, NULL); |
| 1702 | TEST_ASSERT_MOCK_FUNCTION_CALL_RET(rte_security_capability_get, |
| 1703 | ret, NULL, "%p"); |
| 1704 | TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 0); |
| 1705 | |
| 1706 | return TEST_SUCCESS; |
| 1707 | } |
| 1708 | |
| 1709 | /** |
| 1710 | * Test execution of rte_security_capability_get when capabilities_get |
nothing calls this directly
no test coverage detected