#include "third_party/blink/renderer/modules/serial/serial.h"
#include "third_party/blink/public/mojom/serial/serial.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_string_unsignedlong.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_serial_port_filter.h"
#include "third_party/blink/renderer/platform/bindings/exception_code.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
namespace {
constexpr uint16_t kTestVendorId = …;
constexpr uint16_t kTestProductId = …;
constexpr char kTestServiceClassId[] = …;
}
TEST(SerialTest, CreateMojoFilter_EmptyFilter) { … }
TEST(SerialTest, CreateMojoFilter_VendorId) { … }
TEST(SerialTest, CreateMojoFilter_ProductNoVendorId) { … }
TEST(SerialTest, CreateMojoFilter_BluetoothServiceClassAndVendorId) { … }
TEST(SerialTest, CreateMojoFilter_BluetoothServiceClassAndProductId) { … }
TEST(SerialTest, CreateMojoFilter_BluetoothServiceClass) { … }
TEST(SerialTest, CreateMojoFilter_InvalidBluetoothServiceClass) { … }
}