ytrstu / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

PageDaoTest failures in r747 #316

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
testGetByUrl and testGetByParentApproved both fail on my machine. Sometimes 
both and sometimes only one of them. I guess it has something to do with the 
test setup/teardown process. 

---------------------------------------------------------------------
Test set: org.vosao.dao.PageDaoTest
-------------------------------------------------------------------------------
Tests run: 16, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.312 sec <<< 
FAILURE!
testGetByUrl(org.vosao.dao.PageDaoTest)  Time elapsed: 0.015 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.assertNotNull(Assert.java:220)
    at junit.framework.Assert.assertNotNull(Assert.java:213)
    at org.vosao.dao.PageDaoTest.testGetByUrl(PageDaoTest.java:111)

testGetByParentApproved(org.vosao.dao.PageDaoTest)  Time elapsed: 0.016 sec  
<<< FAILURE!
junit.framework.AssertionFailedError: expected:<2> but was:<1>
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.failNotEquals(Assert.java:282)
    at junit.framework.Assert.assertEquals(Assert.java:64)
    at junit.framework.Assert.assertEquals(Assert.java:201)
    at junit.framework.Assert.assertEquals(Assert.java:207)
    at org.vosao.dao.PageDaoTest.testGetByParentApproved(PageDaoTest.java:146)

Original issue reported on code.google.com by vidarsv...@gmail.com on 17 Aug 2010 at 7:31

Attachments:

GoogleCodeExporter commented 8 years ago
Why do you need to use r747 ?

Original comment by kinyelo@gmail.com on 17 Aug 2010 at 7:57

GoogleCodeExporter commented 8 years ago
Sorry my bad. I am using trunk.

Original comment by vidarsv...@gmail.com on 17 Aug 2010 at 8:31

GoogleCodeExporter commented 8 years ago
Fixed in 0.7 and trunk r879, r890

Original comment by kinyelo@gmail.com on 19 Aug 2010 at 8:45