* Test execution of rte_security_session_update with NULL sess parameter */
| 948 | * Test execution of rte_security_session_update with NULL sess parameter |
| 949 | */ |
| 950 | static int |
| 951 | test_session_update_inv_session(void) |
| 952 | { |
| 953 | struct security_unittest_params *ut_params = &unittest_params; |
| 954 | |
| 955 | int ret = rte_security_session_update(&ut_params->ctx, NULL, |
| 956 | &ut_params->conf); |
| 957 | TEST_ASSERT_MOCK_FUNCTION_CALL_RET(rte_security_session_update, |
| 958 | ret, -EINVAL, "%d"); |
| 959 | TEST_ASSERT_MOCK_CALLS(mock_session_update_exp, 0); |
| 960 | |
| 961 | return TEST_SUCCESS; |
| 962 | } |
| 963 | |
| 964 | /** |
| 965 | * Test execution of rte_security_session_update when session_update |
nothing calls this directly
no test coverage detected