没有合适的资源?快使用搜索试试~ 我知道了~
xmatch:流利的JUnitHamcrest匹配器用于XML比较
共17个文件
java:11个
xml:2个
license:1个
需积分: 5 0 下载量 17 浏览量
2021-04-28
06:59:50
上传
评论
收藏 25KB ZIP 举报
温馨提示
概要 该库基于项目提供的功能,提供了流畅的JUnit / Hamcrest匹配器以进行XML比较。 程式码范例 public class XmlMatcherExampleTests { @XmlRootElement ( name = " foo " ) public static class MyJaxbThing { public String bar = " hello world " ; } @Test public void testJaxbElement () { MyJaxbThing thing = new MyJaxbThing (); assertThat(thing, isJaxbObject(equivalentTo( " <foo> <bar> hello world </bar> </foo> " )));
资源推荐
资源详情
资源评论
收起资源包目录
xmatch-master.zip (17个子文件)
xmatch-master
.gitignore 102B
src
main
java
org
ph0
xmatch
XmlMatcherValue.java 2KB
XMLUnitContext.java 6KB
XmlEquivalenceMatcher.java 7KB
InputSourceSupplier.java 393B
ConfigurableDifferenceListener.java 2KB
XmlMatchers.java 6KB
test
resources
org
ph0
xmatch
examples
foo.xml 92B
java
org
ph0
xmatch
XmlEquivalenceSettingSimpleTests.java 4KB
DomMocker.java 5KB
examples
XmlMatcherExampleTests.java 1KB
XmlEquivalenceMatcherTest.java 8KB
DomMockerTest.java 1KB
LICENSE 11KB
pom.xml 3KB
README.md 1KB
.hgignore 116B
共 17 条
- 1
资源评论
jacknrose
- 粉丝: 21
- 资源: 4542
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功