#include <future>
#include "GDBRemoteTestUtils.h"
#include "Plugins/Process/Utility/LinuxSignals.h"
#include "Plugins/Process/gdb-remote/GDBRemoteClientBase.h"
#include "Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h"
#include "lldb/Utility/GDBRemote.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Testing/Support/Error.h"
usingnamespacelldb_private::process_gdb_remote;
usingnamespacelldb_private;
usingnamespacelldb;
PacketResult;
namespace {
struct MockDelegate : public GDBRemoteClientBase::ContinueDelegate { … };
struct TestClient : public GDBRemoteClientBase { … };
class GDBRemoteClientBaseTest : public GDBRemoteTest { … };
std::chrono::seconds GDBRemoteClientBaseTest::g_timeout(10);
}
TEST_F(GDBRemoteClientBaseTest, SendContinueAndWait) { … }
TEST_F(GDBRemoteClientBaseTest, SendContinueAndAsyncSignal) { … }
TEST_F(GDBRemoteClientBaseTest, SendContinueAndAsyncPacket) { … }
TEST_F(GDBRemoteClientBaseTest, SendContinueAndInterrupt) { … }
TEST_F(GDBRemoteClientBaseTest, SendContinueAndLateInterrupt) { … }
TEST_F(GDBRemoteClientBaseTest, SendContinueAndInterrupt2PacketBug) { … }
TEST_F(GDBRemoteClientBaseTest, SendContinueDelegateInterface) { … }
TEST_F(GDBRemoteClientBaseTest, SendContinueDelegateStructuredDataReceipt) { … }
TEST_F(GDBRemoteClientBaseTest, InterruptNoResponse) { … }
TEST_F(GDBRemoteClientBaseTest, SendPacketAndReceiveResponseWithOutputSupport) { … }