#include "chrome/test/chromedriver/chrome/device_manager.h"
#include <memory>
#include <string>
#include <vector>
#include "base/compiler_specific.h"
#include "chrome/test/chromedriver/chrome/adb.h"
#include "chrome/test/chromedriver/chrome/status.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
class FakeAdb : public Adb { … };
class ClearAppDataCalledFakeAdb : public FakeAdb { … };
class SucceedsForwardPortFakeAdb : public FakeAdb { … };
class FailsForwardPortFakeAdb : public SucceedsForwardPortFakeAdb { … };
}
TEST(DeviceManager, AcquireDevice) { … }
TEST(DeviceManager, AcquireSpecificDevice) { … }
TEST(Device, StartStopApp) { … }
TEST(Device, ClearAppDataCalled) { … }
TEST(Device, ClearAppDataNotCalled) { … }
TEST(ForwardPort, Success) { … }
TEST(ForwardPort, Failure) { … }