Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support xml cdata node #155

Merged
merged 9 commits into from
May 11, 2023
Merged

support xml cdata node #155

merged 9 commits into from
May 11, 2023

Conversation

bbbgan
Copy link
Collaborator

@bbbgan bbbgan commented May 11, 2023

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented May 11, 2023

Codecov Report

Patch coverage: 81.94% and project coverage change: +0.57 🎉

Comparison is base (0b66f47) 42.63% compared to head (b786ec3) 43.21%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
+ Coverage   42.63%   43.21%   +0.57%     
==========================================
  Files          36       36              
  Lines        6382     6438      +56     
==========================================
+ Hits         2721     2782      +61     
+ Misses       3661     3656       -5     
Impacted Files Coverage Δ
example/xml_example.cpp 0.00% <0.00%> (ø)
iguana/xml_reader.hpp 100.00% <100.00%> (+1.12%) ⬆️
iguana/xml_writer.hpp 100.00% <100.00%> (ø)
test/test_xml.cpp 96.37% <100.00%> (+0.37%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

iguana/xml_reader.hpp Outdated Show resolved Hide resolved
return cn;
}
}
std::cout << "cdata not found\n";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里要做错误处理吗?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该是不需要了,我打算之后把错误处理都提出来,做个函数,不知道取什么名字
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

以及现在代码没有全部覆盖,我晚上再完善一下

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is_required 有测试代码的。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经覆盖完了!

@qicosmos qicosmos merged commit d01b73b into qicosmos:master May 11, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants