#include "core/fxcrt/xml/cfx_xmlparser.h"
#include <memory>
#include "core/fxcrt/cfx_read_only_span_stream.h"
#include "core/fxcrt/fx_codepage.h"
#include "core/fxcrt/xml/cfx_xmldocument.h"
#include "core/fxcrt/xml/cfx_xmlelement.h"
#include "core/fxcrt/xml/cfx_xmlinstruction.h"
#include "testing/gtest/include/gtest/gtest.h"
class CFX_XMLParserTest : public testing::Test { … };
TEST_F(CFX_XMLParserTest, AttributesMustBeQuoted) { … }
TEST_F(CFX_XMLParserTest, Attributes) { … }
TEST_F(CFX_XMLParserTest, CData) { … }
TEST_F(CFX_XMLParserTest, CDataWithInnerScript) { … }
TEST_F(CFX_XMLParserTest, ArrowBangArrow) { … }
TEST_F(CFX_XMLParserTest, ArrowBangBracketArrow) { … }
TEST_F(CFX_XMLParserTest, IncompleteCData) { … }
TEST_F(CFX_XMLParserTest, UnClosedCData) { … }
TEST_F(CFX_XMLParserTest, EmptyCData) { … }
TEST_F(CFX_XMLParserTest, Comment) { … }
TEST_F(CFX_XMLParserTest, IncorrectCommentStart) { … }
TEST_F(CFX_XMLParserTest, CommentEmpty) { … }
TEST_F(CFX_XMLParserTest, CommentThreeDash) { … }
TEST_F(CFX_XMLParserTest, CommentTwoDash) { … }
TEST_F(CFX_XMLParserTest, Entities) { … }
TEST_F(CFX_XMLParserTest, EntityOverflowHex) { … }
TEST_F(CFX_XMLParserTest, EntityOverflowDecimal) { … }
TEST_F(CFX_XMLParserTest, IsXMLNameChar) { … }
TEST_F(CFX_XMLParserTest, BadElementClose) { … }
TEST_F(CFX_XMLParserTest, DoubleElementClose) { … }
TEST_F(CFX_XMLParserTest, ParseInstruction) { … }
TEST_F(CFX_XMLParserTest, BadEntity) { … }