Rename bluez_gatt_service.{cc,h} to bluez_gatt_service_server

This commit is contained in:
Vibhav Pant
2023-09-11 17:46:42 +05:30
parent e40faf5ddd
commit 7f732a52e7
6 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -72,7 +72,7 @@ cc_library(
"bluez_advertisement_monitor_manager.h",
"bluez_gatt_characteristic_server.h",
"bluez_gatt_manager.h",
"bluez_gatt_service.h",
"bluez_gatt_service_server.h",
"bluez_le_advertisement.h",
"dbus.h",
"network_manager.h",
@@ -146,7 +146,7 @@ cc_library(
"bluez.cc",
"bluez_advertisement_monitor.cc",
"bluez_gatt_characteristic_server.cc",
"bluez_gatt_service.cc",
"bluez_gatt_service_server.cc",
"bluez_le_advertisement.cc",
"dbus.cc",
"executor.cc",
@@ -17,7 +17,7 @@
#include "internal/platform/implementation/ble_v2.h"
#include "internal/platform/implementation/linux/bluez_gatt_characteristic_server.h"
#include "internal/platform/implementation/linux/bluez_gatt_manager.h"
#include "internal/platform/implementation/linux/bluez_gatt_service.h"
#include "internal/platform/implementation/linux/bluez_gatt_service_server.h"
#include "internal/platform/implementation/linux/dbus.h"
#include "internal/platform/implementation/linux/generated/dbus/bluez/gatt_service_server.h"
#include "internal/platform/uuid.h"
@@ -27,7 +27,7 @@
#include "internal/platform/implementation/ble_v2.h"
#include "internal/platform/implementation/linux/bluetooth_adapter.h"
#include "internal/platform/implementation/linux/bluetooth_devices.h"
#include "internal/platform/implementation/linux/bluez_gatt_service.h"
#include "internal/platform/implementation/linux/bluez_gatt_service_server.h"
#include "internal/platform/uuid.h"
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "internal/platform/implementation/linux/bluez_gatt_service.h"
#include "internal/platform/implementation/linux/bluez_gatt_service_server.h"
#include "absl/synchronization/mutex.h"
#include "internal/platform/implementation/ble_v2.h"
#include "internal/platform/implementation/linux/bluez_gatt_characteristic_server.h"
@@ -81,6 +81,10 @@ TEST_F(CountDownLatchTests, CountDownLatchAwaitSucceeds) {
// Act
nearby::Exception result = countDownLatch->Await();
for (auto& thread : threads) {
thread.join();
}
// Assert
EXPECT_EQ(result.value, nearby::Exception::kSuccess);
EXPECT_EQ(count, 3);