Loading system/btif/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -369,6 +369,7 @@ cc_test { ":TestMockStack", ":TestMockSystemLibfmq", ":TestMockUdrv", ":TestMockUtils", "test/btif_core_test.cc", "test/btif_stack_test.cc", ], Loading system/test/Android.bp +7 −0 Original line number Diff line number Diff line Loading @@ -340,6 +340,13 @@ filegroup { ], } filegroup { name: "TestMockUtils", srcs: [ "mock/mock_utils_*cc", ], } filegroup { name: "TestCommonMainHandler", srcs: [ Loading system/test/mock/mock_utils_bt.cc +0 −9 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading
system/btif/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -369,6 +369,7 @@ cc_test { ":TestMockStack", ":TestMockSystemLibfmq", ":TestMockUdrv", ":TestMockUtils", "test/btif_core_test.cc", "test/btif_stack_test.cc", ], Loading
system/test/Android.bp +7 −0 Original line number Diff line number Diff line Loading @@ -340,6 +340,13 @@ filegroup { ], } filegroup { name: "TestMockUtils", srcs: [ "mock/mock_utils_*cc", ], } filegroup { name: "TestCommonMainHandler", srcs: [ Loading
system/test/mock/mock_utils_bt.cc +0 −9 Original line number Diff line number Diff line Loading @@ -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 { Loading