chromium/services/device/serial/serial_port_impl_unittest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "services/device/serial/serial_port_impl.h"

#include "base/test/bind.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/public/cpp/system/simple_watcher.h"
#include "services/device/device_service_test_base.h"
#include "services/device/public/mojom/serial.mojom.h"
#include "services/device/serial/serial_io_handler.h"

namespace device {

namespace {

class FakeSerialIoHandler : public SerialIoHandler {};

}  // namespace

class SerialPortImplTest : public DeviceServiceTestBase {};

TEST_F(SerialPortImplTest, WatcherClosedWhenPortClosed) {}

TEST_F(SerialPortImplTest, PortClosedWhenWatcherClosed) {}

TEST_F(SerialPortImplTest, FlushRead) {}

TEST_F(SerialPortImplTest, OpenFailure) {}

TEST_F(SerialPortImplTest, GetControlSignalsFailure) {}

TEST_F(SerialPortImplTest, SetControlSignalsFailure) {}

TEST_F(SerialPortImplTest, FlushWrite) {}

TEST_F(SerialPortImplTest, Drain) {}

TEST_F(SerialPortImplTest, Close) {}

}  // namespace device