#include "mlir/Tools/lsp-server-support/Transport.h"
#include "mlir/Tools/lsp-server-support/Logging.h"
#include "mlir/Tools/lsp-server-support/Protocol.h"
#include "llvm/Support/FileSystem.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
usingnamespacemlir;
usingnamespacemlir::lsp;
usingnamespacetesting;
namespace {
TEST(TransportTest, SendReply) { … }
class TransportInputTest : public Test { … };
TEST_F(TransportInputTest, RequestWithInvalidParams) { … }
TEST_F(TransportInputTest, NotificationWithInvalidParams) { … }
TEST_F(TransportInputTest, MethodNotFound) { … }
TEST_F(TransportInputTest, OutgoingNotification) { … }
TEST_F(TransportInputTest, ResponseHandlerNotFound) { … }
TEST_F(TransportInputTest, OutgoingRequest) { … }
TEST_F(TransportInputTest, OutgoingRequestJSONParseFailure) { … }
}