stanbol-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suman Saurabh <ss.sumansaurab...@gmail.com>
Subject Test Failures on project org.apache.stanbol.commons.owl
Date Sun, 27 Jul 2014 18:40:17 GMT
Hi all,

Stanbol builds only when test cases are turned off. When launcher is
executed shows following warning - ' WARNING: The following warnings have
been detected: HINT: A HTTP GET method, public void
org.apache.clerezza.platform.security.permissioncheck.PermissionCheck.checkPermission(java.lang.String),
returns a void type. It can be intentional and perfectly fine, but it is a
little uncommon that GET method returns always "204 No Content" '.

http://localhost:8080/system/console/configMgr - gives HTTP Error 500.

On building with the test cases gives : Test Failures on project
org.apache.stanbol.commons.owl

Here is the surefire-report:
-------------------------------------------------------------------------------
Test set: org.apache.stanbol.commons.owl.util.TestOWLUtils
-------------------------------------------------------------------------------
Tests run: 8, Failures: 6, Errors: 2, Skipped: 0, Time elapsed: 0.021 sec
<<< FAILURE! - in org.apache.stanbol.commons.owl.util.TestOWLUtils
lookaheadVersionedDistance100(org.apache.stanbol.commons.owl.util.TestOWLUtils)
Time elapsed: 0.006 sec  <<< FAILURE!
java.lang.AssertionError: expected:<<
http://stanbol.apache.org/ontologies/test>> but was:<Anonymous-16>
    at org.junit.Assert.fail(Assert.java:88)
    at org.junit.Assert.failNotEquals(Assert.java:743)
    at org.junit.Assert.assertEquals(Assert.java:118)
    at org.junit.Assert.assertEquals(Assert.java:144)
    at
org.apache.stanbol.commons.owl.util.TestOWLUtils.lookaheadVersionedDistance100(TestOWLUtils.java:162)

lookaheadVersioned(org.apache.stanbol.commons.owl.util.TestOWLUtils)  Time
elapsed: 0 sec  <<< FAILURE!
java.lang.AssertionError: null
    at org.junit.Assert.fail(Assert.java:86)
    at org.junit.Assert.assertTrue(Assert.java:41)
    at org.junit.Assert.assertFalse(Assert.java:64)
    at org.junit.Assert.assertFalse(Assert.java:74)
    at
org.apache.stanbol.commons.owl.util.TestOWLUtils.lookaheadVersioned(TestOWLUtils.java:127)

lookaheadNamed(org.apache.stanbol.commons.owl.util.TestOWLUtils)  Time
elapsed: 0 sec  <<< FAILURE!
java.lang.AssertionError: null
    at org.junit.Assert.fail(Assert.java:86)
    at org.junit.Assert.assertTrue(Assert.java:41)
    at org.junit.Assert.assertFalse(Assert.java:64)
    at org.junit.Assert.assertFalse(Assert.java:74)
    at
org.apache.stanbol.commons.owl.util.TestOWLUtils.lookaheadNamed(TestOWLUtils.java:86)

namedUriRef(org.apache.stanbol.commons.owl.util.TestOWLUtils)  Time
elapsed: 0.004 sec  <<< ERROR!
org.apache.clerezza.rdf.core.serializedform.UnsupportedParsingFormatException:
No parser available for application/rdf+xml
    at
org.apache.clerezza.rdf.core.serializedform.Parser.parse(Parser.java:238)
    at
org.apache.stanbol.commons.owl.util.TestOWLUtils.namedUriRef(TestOWLUtils.java:221)

namelessUriRef(org.apache.stanbol.commons.owl.util.TestOWLUtils)  Time
elapsed: 0.001 sec  <<< ERROR!
org.apache.clerezza.rdf.core.serializedform.UnsupportedParsingFormatException:
No parser available for application/rdf+xml
    at
org.apache.clerezza.rdf.core.serializedform.Parser.parse(Parser.java:238)
    at
org.apache.stanbol.commons.owl.util.TestOWLUtils.namelessUriRef(TestOWLUtils.java:232)

lookaheadVersionedDistance100Reversed(org.apache.stanbol.commons.owl.util.TestOWLUtils)
Time elapsed: 0 sec  <<< FAILURE!
java.lang.AssertionError: null
    at org.junit.Assert.fail(Assert.java:86)
    at org.junit.Assert.assertTrue(Assert.java:41)
    at org.junit.Assert.assertFalse(Assert.java:64)
    at org.junit.Assert.assertFalse(Assert.java:74)
    at
org.apache.stanbol.commons.owl.util.TestOWLUtils.lookaheadVersionedDistance100Reversed(TestOWLUtils.java:192)

lookaheadVersionedImmediate(org.apache.stanbol.commons.owl.util.TestOWLUtils)
Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.AssertionError: expected:<<
http://stanbol.apache.org/ontologies/test><
http://svn.apache.org/repos/asf/incubator/stanbol/trunk/commons/owl/src/test/resources/owl/versioned_immediate.owl>>
but was:<Anonymous-23>
    at org.junit.Assert.fail(Assert.java:88)
    at org.junit.Assert.failNotEquals(Assert.java:743)
    at org.junit.Assert.assertEquals(Assert.java:118)
    at org.junit.Assert.assertEquals(Assert.java:144)
    at
org.apache.stanbol.commons.owl.util.TestOWLUtils.lookaheadVersionedImmediate(TestOWLUtils.java:211)

lookaheadNamedImmediate(org.apache.stanbol.commons.owl.util.TestOWLUtils)
Time elapsed: 0 sec  <<< FAILURE!
java.lang.AssertionError: expected:<<
http://stanbol.apache.org/ontologies/test>> but was:<Anonymous-24>
    at org.junit.Assert.fail(Assert.java:88)
    at org.junit.Assert.failNotEquals(Assert.java:743)
    at org.junit.Assert.assertEquals(Assert.java:118)
    at org.junit.Assert.assertEquals(Assert.java:144)
    at
org.apache.stanbol.commons.owl.util.TestOWLUtils.lookaheadNamedImmediate(TestOWLUtils.java:102)

Regards,
Suman Saurabh

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message