feat(xml): add XML functions

This commit is contained in:
fallenoak 2022-12-30 16:57:19 -06:00 committed by GitHub
parent 125ffec928
commit 4e43886e37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
142 changed files with 68501 additions and 0 deletions

11
test/XML.cpp Normal file
View file

@ -0,0 +1,11 @@
#include "common/XML.hpp"
#include "test/Test.hpp"
#include <storm/String.hpp>
TEST_CASE("XMLTree_Load", "[xml]") {
SECTION("loads new tree") {
auto xml = "<Root><Child1></Child1><Child2></Child2></Root>";
auto tree = XMLTree_Load(xml, SStrLen(xml));
REQUIRE(tree);
}
}