#include "services/device/serial/serial_device_enumerator_linux.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/test/task_environment.h"
#include "device/udev_linux/fake_udev_loader.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace device {
constexpr char kSerialDriverInfo[] = …;
class SerialDeviceEnumeratorLinuxTest : public testing::Test { … };
TEST_F(SerialDeviceEnumeratorLinuxTest, EnumerateUsb) { … }
TEST_F(SerialDeviceEnumeratorLinuxTest, EnumerateRfcomm) { … }
}