* Test execution of rte_security_capabilities_get with NULL instance */
| 1536 | * Test execution of rte_security_capabilities_get with NULL instance |
| 1537 | */ |
| 1538 | static int |
| 1539 | test_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 |
nothing calls this directly
no test coverage detected