Lines Matching refs:mock_session_destroy_exp

390 } mock_session_destroy_exp = {NULL, NULL, 0, 0, 0};  variable
397 mock_session_destroy_exp.called++; in mock_session_destroy()
398 if ((mock_session_destroy_exp.ret == 0) && (sess_priv != NULL)) { in mock_session_destroy()
402 MOCK_TEST_ASSERT_POINTER_PARAMETER(mock_session_destroy_exp, device); in mock_session_destroy()
403 MOCK_TEST_ASSERT_POINTER_PARAMETER(mock_session_destroy_exp, sess); in mock_session_destroy()
405 return mock_session_destroy_exp.ret; in mock_session_destroy()
639 mock_session_destroy_exp.called = 0; in ut_setup()
648 mock_session_destroy_exp.failed = 0; in ut_setup()
671 mock_session_destroy_exp.device = NULL; in destroy_session_with_check()
672 mock_session_destroy_exp.sess = ut_params->sess; in destroy_session_with_check()
673 mock_session_destroy_exp.ret = 0; in destroy_session_with_check()
674 mock_session_destroy_exp.called = 0; in destroy_session_with_check()
675 mock_session_destroy_exp.failed = 0; in destroy_session_with_check()
681 TEST_ASSERT_MOCK_CALLS(mock_session_destroy_exp, 1); in destroy_session_with_check()
1398 TEST_ASSERT_MOCK_CALLS(mock_session_destroy_exp, 0); in test_session_destroy_inv_context()
1424 TEST_ASSERT_MOCK_CALLS(mock_session_destroy_exp, 0); in test_session_destroy_inv_context_ops()
1450 TEST_ASSERT_MOCK_CALLS(mock_session_destroy_exp, 0); in test_session_destroy_inv_context_ops_fun()
1473 TEST_ASSERT_MOCK_CALLS(mock_session_destroy_exp, 0); in test_session_destroy_inv_session()
1490 mock_session_destroy_exp.device = NULL; in test_session_destroy_ops_failure()
1491 mock_session_destroy_exp.sess = ut_params->sess; in test_session_destroy_ops_failure()
1492 mock_session_destroy_exp.ret = -1; in test_session_destroy_ops_failure()
1502 TEST_ASSERT_MOCK_CALLS(mock_session_destroy_exp, 1); in test_session_destroy_ops_failure()
1518 mock_session_destroy_exp.device = NULL; in test_session_destroy_success()
1519 mock_session_destroy_exp.sess = ut_params->sess; in test_session_destroy_success()
1520 mock_session_destroy_exp.ret = 0; in test_session_destroy_success()
1529 TEST_ASSERT_MOCK_CALLS(mock_session_destroy_exp, 1); in test_session_destroy_success()