#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "remoting/protocol/jingle_messages.h"
#include <stddef.h>
#include "base/strings/string_util.h"
#include "remoting/protocol/content_description.h"
#include "remoting/signaling/xmpp_constants.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
QName;
XmlAttr;
XmlElement;
namespace remoting::protocol {
namespace {
const char kXmlNsNs[] = …;
const char kXmlNs[] = …;
bool VerifyXml(const XmlElement* exp,
const XmlElement* val,
std::string* error) { … }
void ParseJingleMessageFromXml(const char* message_text,
JingleMessage* parsed) { … }
void ParseFormatAndCompare(const char* message_text, JingleMessage* parsed) { … }
}
TEST(JingleMessageTest, SessionInitiate) { … }
TEST(JingleMessageTest, SessionInitiateWebrtc) { … }
TEST(JingleMessageTest, SessionInitiateHybrid) { … }
TEST(JingleMessageTest, SessionInitiateNoIce) { … }
TEST(JingleMessageTest, SessionAccept) { … }
TEST(JingleMessageTest, SessionAcceptWebrtc) { … }
TEST(JingleMessageTest, SessionAcceptNoIce) { … }
TEST(JingleMessageTest, IceTransportInfo) { … }
TEST(JingleMessageTest, SessionTerminate) { … }
TEST(JingleMessageTest, SessionInfo) { … }
TEST(JingleMessageReplyTest, ToXml) { … }
TEST(JingleMessageTest, ErrorMessage) { … }
TEST(JingleMessageTest, RemotingErrorCode) { … }
TEST(JingleMessageTest, AttachmentsMessage) { … }
}