[
https://issues.apache.org/jira/browse/ANY23-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619532#comment-13619532
]
Debmalya Jash commented on ANY23-155:
-------------------------------------
Thanks for your mail. I will not include that changes.
Real problem is coming from the following code
final ByteArrayOutputStream baos = new ByteArrayOutputStream();
final PrintStream ps = new PrintStream(baos);
*RDFSchemaUtils.serializeVocabularies(format, ps);*
ps.close();
final String output = baos.toString();
logger.debug(output);
final int occurrences= StringUtils.countOccurrences(output, "\n");
Assert.assertEquals(expectedLines, occurrences);
> Test failure: testRunOnHTTPResource(org.apache.any23.cli.MicrodataParserTest)
> -----------------------------------------------------------------------------
>
> Key: ANY23-155
> URL: https://issues.apache.org/jira/browse/ANY23-155
> Project: Apache Any23
> Issue Type: Sub-task
> Components: core
> Affects Versions: 0.7.0
> Environment: Windows 7
> Reporter: Debmalya Jash
> Labels: newbie
> Fix For: 0.8.0
>
> Attachments: RDFSchemaUtilsTest.java
>
>
> Failed tests:
> testRunOnHTTPResource(org.apache.any23.cli.MicrodataParserTest):
> Unexpected exit code for tool [MicrodataParser] invoked with
> [http://www.imdb.c
> om/title/tt1375666/] expected:<0> but was:<1>
> testGetClassesInJAR(org.apache.any23.util.DiscoveryUtilsTest)
> Tests in error:
> testGZippedContent(org.apache.any23.Any23Test): Failed to fetch
> http://product
> s.semweb.bestbuy.com/y/products/7590289/: 500 Internal Server Error
> Tests run: 465, Failures: 2, Errors: 1, Skipped: 1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira