#include "services/device/vibration/vibration_manager_impl.h"
#include "base/run_loop.h"
#include "base/test/gmock_callback_support.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/device/device_service_test_base.h"
#include "services/device/public/mojom/vibration_manager.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace device {
RunClosure;
namespace {
class VibrationManagerImplTest : public DeviceServiceTestBase,
public mojom::VibrationManagerListener { … };
TEST_F(VibrationManagerImplTest, VibrateThenCancel) { … }
TEST_F(VibrationManagerImplTest, VibrateNotifiesListener) { … }
}
}