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

Commit ed80b339 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Add TestMockUtils am: 1e9038fe

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1769412

Change-Id: I5b2df93dda3e8c855164d44e826c305aa8a468dd
parents 8af58f19 1e9038fe
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 {