Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb425116 authored by Myles Watson's avatar Myles Watson
Browse files

mockcify: Include mock_functions.h in sources

Bug: 305971273
Test: mma -j32
Change-Id: I115c6dfd3397881500dcba341b10c6fa1e511e78
parent 517d3c37
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
#include "btif/include/btif_common.h"
#include "common/init_flags.h"
#include "device/src/device_iot_config_int.h"
#include "test/common/mock_functions.h"
#include "test/mock/mock_osi_alarm.h"
#include "test/mock/mock_osi_allocator.h"
#include "test/mock/mock_osi_config.h"
+0 −4
Original line number Diff line number Diff line
@@ -33,10 +33,6 @@
#include "test/common/mock_functions.h"
#include "types/raw_address.h"

#ifndef UNUSED_ATTR
#define UNUSED_ATTR
#endif

tBTA_STATUS BTA_AgEnable(tBTA_AG_CBACK* p_cback) {
  inc_func_call_count(__func__);
  return BTA_SUCCESS;
+0 −4
Original line number Diff line number Diff line
@@ -30,10 +30,6 @@
#include "test/common/mock_functions.h"
#include "types/raw_address.h"

#ifndef UNUSED_ATTR
#define UNUSED_ATTR
#endif

void bta_ar_avdt_conn(tBTA_SYS_ID sys_id, const RawAddress& bd_addr,
                      uint8_t scb_index) {
  inc_func_call_count(__func__);
+2 −2
Original line number Diff line number Diff line
@@ -19,12 +19,12 @@
 *
 *  mockcify.pl ver 0.6.1
 */
// Mock include file to share data between tests and mock
#include "test/mock/mock_bta_av_api.h"

#include <cstdint>

// Mock include file to share data between tests and mock
#include "test/common/mock_functions.h"
#include "test/mock/mock_bta_av_api.h"

// Original usings

+4 −2
Original line number Diff line number Diff line
@@ -21,13 +21,15 @@
 *  mockcify.pl ver 0.3.0
 */

// Mock include file to share data between tests and mock
#include "test/mock/mock_bta_dm_act.h"

#include <cstdint>
#include <functional>
#include <map>
#include <string>

// Mock include file to share data between tests and mock
#include "test/mock/mock_bta_dm_act.h"
#include "test/common/mock_functions.h"
#include "types/raw_address.h"

// Mocked internal structures, if any
Loading