Lines Matching refs:TEST_ASSERT_MOCK_CALLS
136 #define TEST_ASSERT_MOCK_CALLS(mock_data, exp_calls) do { \ macro
681 TEST_ASSERT_MOCK_CALLS(mock_session_destroy_exp, 1); in destroy_session_with_check()
728 TEST_ASSERT_MOCK_CALLS(mock_session_create_exp, 1); in ut_setup_with_session()
767 TEST_ASSERT_MOCK_CALLS(mock_session_create_exp, 0); in test_session_create_inv_context()
793 TEST_ASSERT_MOCK_CALLS(mock_session_create_exp, 0); in test_session_create_inv_context_ops()
819 TEST_ASSERT_MOCK_CALLS(mock_session_create_exp, 0); in test_session_create_inv_context_ops_fun()
842 TEST_ASSERT_MOCK_CALLS(mock_session_create_exp, 0); in test_session_create_inv_configuration()
865 TEST_ASSERT_MOCK_CALLS(mock_session_create_exp, 0); in test_session_create_inv_mempool()
888 TEST_ASSERT_MOCK_CALLS(mock_session_create_exp, 0); in test_session_create_inv_sess_priv_mempool()
931 TEST_ASSERT_MOCK_CALLS(mock_session_create_exp, 0); in test_session_create_mempool_empty()
971 TEST_ASSERT_MOCK_CALLS(mock_session_create_exp, 1); in test_session_create_ops_failure()
1004 TEST_ASSERT_MOCK_CALLS(mock_session_create_exp, 1); in test_session_create_success()
1035 TEST_ASSERT_MOCK_CALLS(mock_session_update_exp, 0); in test_session_update_inv_context()
1054 TEST_ASSERT_MOCK_CALLS(mock_session_update_exp, 0); in test_session_update_inv_context_ops()
1073 TEST_ASSERT_MOCK_CALLS(mock_session_update_exp, 0); in test_session_update_inv_context_ops_fun()
1090 TEST_ASSERT_MOCK_CALLS(mock_session_update_exp, 0); in test_session_update_inv_configuration()
1107 TEST_ASSERT_MOCK_CALLS(mock_session_update_exp, 0); in test_session_update_inv_session()
1130 TEST_ASSERT_MOCK_CALLS(mock_session_update_exp, 1); in test_session_update_ops_failure()
1152 TEST_ASSERT_MOCK_CALLS(mock_session_update_exp, 1); in test_session_update_success()
1171 TEST_ASSERT_MOCK_CALLS(mock_session_get_size_exp, 0); in test_session_get_size_inv_context()
1189 TEST_ASSERT_MOCK_CALLS(mock_session_get_size_exp, 0); in test_session_get_size_inv_context_ops()
1207 TEST_ASSERT_MOCK_CALLS(mock_session_get_size_exp, 0); in test_session_get_size_inv_context_ops_fun()
1227 TEST_ASSERT_MOCK_CALLS(mock_session_get_size_exp, 1); in test_session_get_size_ops_failure()
1246 TEST_ASSERT_MOCK_CALLS(mock_session_get_size_exp, 1); in test_session_get_size_success()
1268 TEST_ASSERT_MOCK_CALLS(mock_session_stats_get_exp, 0); in test_session_stats_get_inv_context()
1288 TEST_ASSERT_MOCK_CALLS(mock_session_stats_get_exp, 0); in test_session_stats_get_inv_context_ops()
1308 TEST_ASSERT_MOCK_CALLS(mock_session_stats_get_exp, 0); in test_session_stats_get_inv_context_ops_fun()
1325 TEST_ASSERT_MOCK_CALLS(mock_session_stats_get_exp, 0); in test_session_stats_get_inv_stats()
1349 TEST_ASSERT_MOCK_CALLS(mock_session_stats_get_exp, 1); in test_session_stats_get_ops_failure()
1373 TEST_ASSERT_MOCK_CALLS(mock_session_stats_get_exp, 1); in test_session_stats_get_success()
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()
1502 TEST_ASSERT_MOCK_CALLS(mock_session_destroy_exp, 1); in test_session_destroy_ops_failure()
1529 TEST_ASSERT_MOCK_CALLS(mock_session_destroy_exp, 1); in test_session_destroy_success()
1563 TEST_ASSERT_MOCK_CALLS(mock_set_pkt_metadata_exp, 0); in test_set_pkt_metadata_inv_context()
1588 TEST_ASSERT_MOCK_CALLS(mock_set_pkt_metadata_exp, 0); in test_set_pkt_metadata_inv_context_ops()
1612 TEST_ASSERT_MOCK_CALLS(mock_set_pkt_metadata_exp, 0); in test_set_pkt_metadata_inv_context_ops_fun()
1632 TEST_ASSERT_MOCK_CALLS(mock_set_pkt_metadata_exp, 0); in test_set_pkt_metadata_inv_session()
1661 TEST_ASSERT_MOCK_CALLS(mock_set_pkt_metadata_exp, 1); in test_set_pkt_metadata_ops_failure()
1686 TEST_ASSERT_MOCK_CALLS(mock_set_pkt_metadata_exp, 1); in test_set_pkt_metadata_success()
1708 TEST_ASSERT_MOCK_CALLS(mock_get_userdata_exp, 0); in test_get_userdata_inv_context()
1731 TEST_ASSERT_MOCK_CALLS(mock_get_userdata_exp, 0); in test_get_userdata_inv_context_ops()
1753 TEST_ASSERT_MOCK_CALLS(mock_get_userdata_exp, 0); in test_get_userdata_inv_context_ops_fun()
1777 TEST_ASSERT_MOCK_CALLS(mock_get_userdata_exp, 1); in test_get_userdata_ops_failure()
1800 TEST_ASSERT_MOCK_CALLS(mock_get_userdata_exp, 1); in test_get_userdata_success()
1820 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 0); in test_capabilities_get_inv_context()
1839 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 0); in test_capabilities_get_inv_context_ops()
1858 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 0); in test_capabilities_get_inv_context_ops_fun()
1879 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capabilities_get_ops_failure()
1900 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capabilities_get_success()
1922 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 0); in test_capability_get_inv_context()
1942 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 0); in test_capability_get_inv_context_ops()
1962 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 0); in test_capability_get_inv_context_ops_fun()
1979 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 0); in test_capability_get_inv_idx()
2001 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_ops_failure()
2028 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_empty_table()
2063 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_no_matching_action()
2101 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_no_matching_protocol()
2136 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_no_support_for_macsec()
2176 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_ipsec_mismatch_proto()
2218 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_ipsec_mismatch_mode()
2262 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_ipsec_mismatch_dir()
2309 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_ipsec_match()
2349 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_pdcp_mismatch_domain()
2392 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_pdcp_match()
2432 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_docsis_mismatch_direction()
2475 TEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1); in test_capability_get_docsis_match()