* Test execution of rte_security_capability_get with NULL instance */
| 1636 | * Test execution of rte_security_capability_get with NULL instance |
| 1637 | */ |
| 1638 | static int |
| 1639 | test_capability_get_inv_context(void) |
| 1640 | { |
| 1641 | struct rte_security_capability_idx idx; |
| 1642 | |
| 1643 | const struct rte_security_capability *ret; |
| 1644 | ret = rte_security_capability_get(NULL, &idx); |
| 1645 | TEST_ASSERT_MOCK_FUNCTION_CALL_RET(rte_security_capability_get, |
| 1646 | ret, NULL, "%p"); |
| 1647 | TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 0); |
| 1648 | |
| 1649 | return TEST_SUCCESS; |
| 1650 | } |
| 1651 | |
| 1652 | /** |
| 1653 | * Test execution of rte_security_capability_get with invalid |
nothing calls this directly
no test coverage detected