Re: [Carbon-dev] Test failures in carbon core - org.wso2.carbon.core module

2011-03-27 Thread Pradeep Fernando
hi,
looking in to this.

--Pradeep
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Test failures in carbon core - org.wso2.carbon.core module

2011-03-25 Thread Charitha Kankanamge
Hi,

There are test failures in org.wso2.carbon.core module.

---
 T E S T S
---
Running org.wso2.carbon.core.test.persistence.PersistenceManagerTest
log4j:WARN No appenders could be found for logger
(org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
log4j:WARN Please initialize the log4j system properly.
Tests run: 13, Failures: 3, Errors: 2, Skipped: 0, Time elapsed: 4.236 sec
<<< FAILURE!
Running org.wso2.carbon.core.test.persistence.PersistenceUtilsTest
log4j:WARN No appenders could be found for logger
(org.wso2.carbon.utils.multitenancy.CarbonContextHolder).
log4j:WARN Please initialize the log4j system properly.
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.538 sec
Running org.wso2.carbon.core.test.config.CarbonAxisConfiguratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running org.wso2.carbon.core.test.persistence.ParameterUtilTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.193 sec

Results :

Failed tests:

Tests in error:

Tests run: 21, Failures: 3, Errors: 2, Skipped: 0

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] There are test failures.



Tests run: 13, Failures: 3, Errors: 2, Skipped: 0, Time elapsed: 4.015 sec
<<< FAILURE!
testSetServiceGroupProperty(org.wso2.carbon.core.test.persistence.PersistenceManagerTest)
Time elapsed: 0.042 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected: but was:
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at
org.wso2.carbon.core.test.persistence.PersistenceManagerTest.testSetServiceGroupProperty(PersistenceManagerTest.java:116)

testNewServiceAddition(org.wso2.carbon.core.test.persistence.PersistenceManagerTest)
Time elapsed: 0.099 sec  <<< ERROR!
java.lang.NullPointerException
at
org.wso2.carbon.core.test.persistence.PersistenceManagerTest.testNewServiceAddition(PersistenceManagerTest.java:147)

testServiceProperty(org.wso2.carbon.core.test.persistence.PersistenceManagerTest)
Time elapsed: 0.058 sec  <<< ERROR!
java.lang.NullPointerException
at
org.wso2.carbon.core.test.persistence.PersistenceManagerTest.testServiceProperty(PersistenceManagerTest.java:160)

testRemoveServiceParam(org.wso2.carbon.core.test.persistence.PersistenceManagerTest)
Time elapsed: 0.066 sec  <<< FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertFalse(Assert.java:34)
at junit.framework.Assert.assertFalse(Assert.java:41)
at
org.wso2.carbon.core.test.persistence.PersistenceManagerTest.testRemoveServiceParam(PersistenceManagerTest.java:292)

testRemoveModule(org.wso2.carbon.core.test.persistence.PersistenceManagerTest)
Time elapsed: 0.038 sec  <<< FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertFalse(Assert.java:34)
at junit.framework.Assert.assertFalse(Assert.java:41)
at
org.wso2.carbon.core.test.persistence.PersistenceManagerTest.testRemoveModule(PersistenceManagerTest.java:316)
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev