* Test execution of rte_security_session_update with NULL instance */
| 876 | * Test execution of rte_security_session_update with NULL instance |
| 877 | */ |
| 878 | static int |
| 879 | test_session_update_inv_context(void) |
| 880 | { |
| 881 | struct security_unittest_params *ut_params = &unittest_params; |
| 882 | |
| 883 | int ret = rte_security_session_update(NULL, ut_params->sess, |
| 884 | &ut_params->conf); |
| 885 | TEST_ASSERT_MOCK_FUNCTION_CALL_RET(rte_security_session_update, |
| 886 | ret, -EINVAL, "%d"); |
| 887 | TEST_ASSERT_MOCK_CALLS(mock_session_update_exp, 0); |
| 888 | |
| 889 | return TEST_SUCCESS; |
| 890 | } |
| 891 | |
| 892 | /** |
| 893 | * Test execution of rte_security_session_update with invalid |
nothing calls this directly
no test coverage detected