@Test
@UseDataProvider("allTckRamlFiles")
public void tckFilesParse(final File f) throws IOException, TckParseException {
final Resource resource;
final URI fileURI = URI.createURI(f.toURI().toString());
try {
resource = fromUri(fileURI);
} catch (Exception e) {
throw new TckParseException(fileURI.toString(), e);
}
assertThat(resource).isInstanceOf(Resource.class)
.overridingErrorMessage("Failed to parse: " + f.toString());
}
RamlTckTest.java 文件源码
java
阅读 13
收藏 0
点赞 0
评论 0
项目:rest-modeling-framework
作者:
评论列表
文章目录