Skip to content

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamska1008 committed Sep 5, 2024
1 parent e023542 commit a5fbd53
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 40 deletions.
1 change: 1 addition & 0 deletions Testing/Temporary/CTestCostData.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
---
3 changes: 3 additions & 0 deletions Testing/Temporary/LastTest.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Start testing: Sep 05 15:55 CST
----------------------------------------------------------
End testing: Sep 05 15:55 CST
1 change: 0 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ add_custom_test(parser_test)
add_custom_test(printable_test)
add_custom_test(document_test)
add_custom_test(buffer_test)
add_custom_test(doc_test)
File renamed without changes.
23 changes: 0 additions & 23 deletions tests/doc_test.cpp

This file was deleted.

3 changes: 2 additions & 1 deletion tests/parser_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ TEST_CASE("Parsing simple xml elements", "[parser]")

SECTION("Simple File Buffer")
{
auto doc = document::load("tests/data/example.xml");
auto doc = document::load("tests/data/example1.xml");
auto root = doc.root();
}
}
15 changes: 0 additions & 15 deletions tests/printable_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,6 @@
#include <catch2/catch_test_macros.hpp>
#include "myxml/element.hpp"

// TEST_CASE("Formatted Export", "[exportable]")
// {
// SECTION("Single")
// {
// auto root = myxml::element_impl::_new("root");
// REQUIRE(root->str() == "<root />\n");
// }

// SECTION("Text")
// {
// auto root = myxml::element_impl::parse("<root>Hello, world!</root>");
// REQUIRE(root->str() == "<root>\n Hello, world!\n</root>\n");
// }
// }

TEST_CASE("Raw Export", "[exportable]")
{
auto root = myxml::element_impl::parse("<root />");
Expand Down

0 comments on commit a5fbd53

Please sign in to comment.