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

Commit 1e9038fe authored by Chris Manton's avatar Chris Manton
Browse files

Add TestMockUtils

Bug: 187825293
Tag: #refactor
Test: gd/cert/run

Change-Id: Ia8b4e29bd42747d41522489170404b4965db8622
parent 3dcb33a8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -369,6 +369,7 @@ cc_test {
          ":TestMockStack",
          ":TestMockSystemLibfmq",
          ":TestMockUdrv",
          ":TestMockUtils",
          "test/btif_core_test.cc",
          "test/btif_stack_test.cc",
      ],
+7 −0
Original line number Diff line number Diff line
@@ -340,6 +340,13 @@ filegroup {
  ],
}

filegroup {
  name: "TestMockUtils",
  srcs: [
      "mock/mock_utils_*cc",
  ],
}

filegroup {
  name: "TestCommonMainHandler",
  srcs: [
+0 −9
Original line number Diff line number Diff line
@@ -31,15 +31,6 @@ extern std::map<std::string, int> mock_function_count_map;
// Mock include file to share data between tests and mock
#include "test/mock/mock_utils_bt.h"

// Legacy module structure
#if 0
EXPORT_SYMBOL extern const module_t module_s = {.name = BT_UTILS_MODULE,
                                                .init = nullptr,
                                                .start_up = nullptr,
                                                .shut_down = nullptr,
                                                .clean_up = nullptr,
                                                .dependencies = {nullptr}};
#endif
// Mocked internal structures, if any

namespace test {