MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_session_update_inv_configuration

Function test_session_update_inv_configuration

dpdk/app/test/test_security.c:933–945  ·  view source on GitHub ↗

* Test execution of rte_security_session_update with NULL conf parameter */

Source from the content-addressed store, hash-verified

931 * Test execution of rte_security_session_update with NULL conf parameter
932 */
933static int
934test_session_update_inv_configuration(void)
935{
936 struct security_unittest_params *ut_params = &unittest_params;
937
938 int ret = rte_security_session_update(&ut_params->ctx, ut_params->sess,
939 NULL);
940 TEST_ASSERT_MOCK_FUNCTION_CALL_RET(rte_security_session_update,
941 ret, -EINVAL, "%d");
942 TEST_ASSERT_MOCK_CALLS(mock_session_update_exp, 0);
943
944 return TEST_SUCCESS;
945}
946
947/**
948 * Test execution of rte_security_session_update with NULL sess parameter

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected