#include "third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h"
#include "base/base64.h"
#include "base/strings/string_util.h"
#include "testing/gtest/include/gtest/gtest.h"
WebBluetoothDeviceId;
namespace {
const char kValidDeviceId1[] = …;
const char kValidDeviceId2[] = …;
const char kInvalidLongDeviceId[] = …;
const char kInvalidShortDeviceId[] = …;
const char kInvalidCharacterDeviceId[] = …;
const char kInvalidLengthDeviceId[] = …;
const blink::WebBluetoothDeviceIdKey kValidArrDeviceId1 = …;
const blink::WebBluetoothDeviceIdKey kValidArrDeviceId2 = …;
}
TEST(WebBluetoothDeviceIdTest, DefaultConstructor) { … }
TEST(WebBluetoothDeviceIdTest, StrConstructor) { … }
TEST(WebBluetoothDeviceIdTest, ArrConstructor) { … }
TEST(WebBluetoothDeviceIdTest, IsValid_Valid) { … }
TEST(WebBluetoothDeviceIdTest, IsValid_Invalid) { … }
TEST(WebBluetoothDeviceIdTest, Create) { … }