On 19/08/14 15:53, Miguel Bento Alves wrote:
Andy,

"What's the error?”

when I add jena-arq to the dependencies of jena-core, the tests described below 
fails. I already reported this issue before and since then I’m skipping the 
tests (I commented the tests that fails).

Yes, ignore them - some of it it's because ARQ rewires Jena for new RIOT parsers and writers so the old tests see the new world.

Some are the fact the tests are sensitive to the order errors are generated. And you're on a Mac?

Just remove/skip those test suites.



Miguel

addTest(ts,  "N3", com.hp.hpl.jena.n3.N3TestSuite.suite());
addTest(ts,  "XML Output", com.hp.hpl.jena.xmloutput.TestPackage.suite());
addTest(ts,  "ARP", com.hp.hpl.jena.rdf.arp.TestPackage.suite());
addTest(ts,  "Ontology", com.hp.hpl.jena.ontology.impl.TestPackage.suite() );

Results :

Failed tests:
   N3JenaWriterTests$Test.runTest:118 Models don't match: n3-writer-test-30.ttl
   MoreTests.testARPMacRoman:147->checkExpected:560 Expected error: 
WARN_NON_IANA_ENCODING but it did not occur.
   MoreTests.testARPMacArabic:160->checkExpected:560 Expected error: 
WARN_NON_IANA_ENCODING but it did not occur.
   TestWriterInterface.testInterface:70 N-TRIPLE writer should be NTripleWriter.
   ExceptionTests.testDefaultError:79 Error threw exception
   ExceptionTests.testDefaultDemotedFatal:113 Demoted.error error threw an 
exception
   ExceptionTests.testDefaultPromotedWarning:150 Promoted warning did not throw 
exception
   ExceptionTests.testNonExceptionFatal:168 Fatal error threw an exception with 
non-exception handler
   ExceptionTests.testExceptionWarning:194 Warning did not throw exception with 
non-standard handler
   MoreTests.testIcu:194->checkExpected:560 Expected error: 
WARN_STRING_COMPOSING_CHAR but it did not occur.
   MoreTests.testIcu2:209->checkExpected:560 Expected error: 
WARN_STRING_NOT_NORMAL_FORM_C but it did not occur.
   MoreTests.testEmptyBaseParamError:348 Empty base URI should produce relative URI.[<ModelCom   
{file:///Volumes/DATA/MBA/JavaDevelopment/jena650/jena-core/#foo @rdf:value "abc"} |  
[file:///Volumes/DATA/MBA/JavaDevelopment/jena650/jena-core/#foo, 
http://www.w3.org/1999/02/22-rdf-syntax-ns#value, "abc"]>]
   MoreTests.testARPMacRoman:147->checkExpected:560 Expected error: 
WARN_NON_IANA_ENCODING but it did not occur.
   MoreTests.testIRIRules_2:503->checkExpected:560 Expected error: 
WARN_MALFORMED_URI but it did not occur.
   MoreTests.testIRIRules_3:524->checkExpected:560 Expected error: 
WARN_MALFORMED_URI but it did not occur.
   MoreTests.testIRIRules_4:536->checkExpected:560 Expected error: 
WARN_MALFORMED_URI but it did not occur.
   MoreTests.testARPMacArabic:160->checkExpected:560 Expected error: 
WARN_NON_IANA_ENCODING but it did not occur.
   MoreTests.testRelativeBaseParamOK:418->checkExpected:560 Expected error: 
WARN_RELATIVE_URI but it did not occur.
   MoreTests.testLatin1:133->checkExpected:560 Expected error: 
WARN_NONCANONICAL_IANA_NAME but it did not occur.
   MoreTests.testRelativeBaseParamError:398 Relative base URI should produce relative URIs in model (when 
error suppressed).[<ModelCom   {file:///Volumes/DATA/MBA/JavaDevelopment/jena650/jena-core/foo/#foo 
@rdf:value "abc"} |  [file:///Volumes/DATA/MBA/JavaDevelopment/jena650/jena-core/foo/#foo, 
http://www.w3.org/1999/02/22-rdf-syntax-ns#value, "abc"]>]
   TestOntModel.testAddImports1:999 null

Tests in error:
   WGTestSuite$PositiveTest2.runTest:847->WGTestSuite$Test2.read:744 » 
RiotParse ...
   MoreTests.testBaseTruncation:428 » Riot 
<file:///Volumes/DATA/MBA/JavaDevelopm...
   MoreTests.testEncodingMismatch3:260->subTestEncodingMismatch2:278 » Riot 
[line...
   MoreTests.testBadBaseParamError:362 » Riot <http://jjc^3.org/demo.mp3> Code: 
4...
   MoreTests.testBadBaseParamOK:378 » Riot <http://jjc^3.org/demo.mp3> Code: 
4/UN...
   MoreTests.testNullBaseParamError:316 » Riot [line: 19, col: 31] {E211} Base 
UR...
   SAX2RDFTest.runTest:1238 » Riot [line: 10, col: 33] {E201} Multiple children 
o...
   DOM2RDFTest>SAX2RDFTest.runTest:1238 » Riot [line: 10, col: 33] {E201} 
Multipl...
   SAX2RDFTest.runTest:1238 » Riot [line: 29, col: 12] {E204} rdf:li is not 
allow...
   DOM2RDFTest>SAX2RDFTest.runTest:1238 » Riot [line: 29, col: 12] {E204} 
rdf:li ...
   SAX2RDFTest.runTest:1238 » Riot [line: 35, col: 71] {E206} 
rdf:aboutEachPrefix...
   DOM2RDFTest>SAX2RDFTest.runTest:1238 » Riot [line: 35, col: 71] {E206} 
rdf:abo...
   SAX2RDFTest.runTest:1238 » Riot [line: 25, col: 53] {E206} rdf:bagID has 
been ...
   DOM2RDFTest>SAX2RDFTest.runTest:1238 » Riot [line: 25, col: 53] {E206} 
rdf:bag...
   SAX2RDFTest.runTest:1238 » Riot [line: 22, col: 18] {E205} rdf:resource is 
not...
   DOM2RDFTest>SAX2RDFTest.runTest:1238 » Riot [line: 22, col: 18] {E205} 
rdf:res...
   
TestProperty$27>OntTestBase$OntTestCase.runTest:111->OntTestBase$OntTestCase.runTest:130->ontTest:603
 NullPointer




On 18 Aug 2014, at 21:00, Andy Seaborne <[email protected]> wrote:

On 15/08/14 12:01, Miguel Bento Alves wrote:
Hi Andy,

I updated all my code to the new version of Jena. My repo is 
https://github.com/mbentoalves/jena. I have a problem in building that I 
couldn’t fix, give an error when I add the jena-arq to the dependencies of 
jena-core in test com.hp.hpl.jena.test.TestPackage. If I remove this test, 
everything works fine.

What's the error?

        Andy



The documentation is in jena-core/docs/SparqlCommandsInRules.md

Let me know if I need to do anything else to the finish of the project.

Miguel




Reply via email to