From: youjun g. <you...@gm...> - 2010-01-08 19:16:22
|
Dear TreeBASEer, Here is the current situation about TreeBASE test, there are still 7 fails left: 1. testCreateRowSegments(org.cipres.treebase.service.matrix.RowSegmentServiceImplTest) 2. testAddDelete(org.cipres.treebase.service.matrix.MatrixServiceImplTest) 3. testCreateDelete(org.cipres.treebase.dao.tree.PhyloTreeDAOTest) 4. testFindTreeBlocksByNexusFileName(org.cipres.treebase.dao.tree.PhyloTreeDAOTest) 5. testLoadPhyloDataSet(org.cipres.treebase.service.nexus.NexusParserTest) 6. testAddDelete(org.cipres.treebase.service.study.StudyServiceImplTest) 7. testMesqutieFolderDir(org.cipres.treebase.domain.nexus.NexusMesquiteDataSetTest) Right now, I am working on the No.1 No. 2,3 and 6 related to the hibernate_sequence issue, I expect they will disappear after we solve the problem; No, 4 related to the broken foreign key that Bill mentioned in his email, and should be solved by clean the table; Rutger, please Check at the No, 5 and 7, they both related to mesqiute . No. 5 the NexusPaserTest call into org.cipres.datatypes.PhyloDataset.initializeFromStringOrFile and it throw back a null pointer exception, this class is out of the scope of treebase. No. 7 Spring complained: "There are 3 beans of type [org.cipres.treebase.domain.nexus.NexusService] available for autowiring by type: [nexusService, nexmlService, rdfaService]." Spring don't know which one to use. Do we need all of them in the config file? Youjun |
From: Rutger V. <rut...@gm...> - 2010-01-11 10:02:16
|
> No. 7 Spring complained: "There are 3 beans of type > [org.cipres.treebase.domain.nexus.NexusService] available for autowiring by > type: [nexusService, nexmlService, rdfaService]." Spring don't know which > one to use. Do we need all of them in the config file? Only the nexusService uses mesquite. -- Dr. Rutger A. Vos School of Biological Sciences Philip Lyle Building, Level 4 University of Reading Reading RG6 6BX United Kingdom Tel: +44 (0) 118 378 7535 http://www.nexml.org http://rutgervos.blogspot.com |
From: youjun g. <you...@gm...> - 2010-01-11 14:35:23
|
Thanks Rutger, While digging into the No. 1, It most likely due to the MeseuiteConverter failed on create a matrix upon our test nexus file. Please also look at this one. Talking about the No. 7, It looks to me that this test never got passed since bean nexmlService and rdfaService were added to the config file. As you sald the test class need a nexusService bean for mesquite test, and the base class try to autowire a NexusService interface type for it. but there are two other beans also implement the same interface. Youjun On Mon, Jan 11, 2010 at 5:02 AM, Rutger Vos <rut...@gm...> wrote: > > No. 7 Spring complained: "There are 3 beans of type > > [org.cipres.treebase.domain.nexus.NexusService] available for autowiring > by > > type: [nexusService, nexmlService, rdfaService]." Spring don't know which > > one to use. Do we need all of them in the config file? > > Only the nexusService uses mesquite. > > -- > Dr. Rutger A. Vos > School of Biological Sciences > Philip Lyle Building, Level 4 > University of Reading > Reading > RG6 6BX > United Kingdom > Tel: +44 (0) 118 378 7535 > http://www.nexml.org > http://rutgervos.blogspot.com > |
From: youjun g. <you...@gm...> - 2010-01-11 15:51:58
|
No. 7 was solved. YOujun On Mon, Jan 11, 2010 at 9:35 AM, youjun guo <you...@gm...> wrote: > Thanks Rutger, > > While digging into the No. 1, It most likely due to the MeseuiteConverter > failed on create a matrix upon our test nexus file. Please also look at this > one. > > Talking about the No. 7, It looks to me that this test never got passed > since bean nexmlService and rdfaService were added to the config file. As > you sald the test class need a nexusService bean for mesquite test, and the > base class try to autowire a NexusService interface type for it. but there > are two other beans also implement the same interface. > > Youjun > > > > > On Mon, Jan 11, 2010 at 5:02 AM, Rutger Vos <rut...@gm...> wrote: > >> > No. 7 Spring complained: "There are 3 beans of type >> > [org.cipres.treebase.domain.nexus.NexusService] available for autowiring >> by >> > type: [nexusService, nexmlService, rdfaService]." Spring don't know >> which >> > one to use. Do we need all of them in the config file? >> >> Only the nexusService uses mesquite. >> >> -- >> Dr. Rutger A. Vos >> School of Biological Sciences >> Philip Lyle Building, Level 4 >> University of Reading >> Reading >> RG6 6BX >> United Kingdom >> Tel: +44 (0) 118 378 7535 >> http://www.nexml.org >> http://rutgervos.blogspot.com >> > > |
From: youjun g. <you...@ya...> - 2010-01-14 20:41:44
|
Dear TreeBASEer, Here is the current situation about TreeBASE unit test, there are only 3 fails left, all of them related to sequence problem. 2. testAddDelete(org.cipres.treebase.service.matrix.MatrixServiceImplTest) 3. testCreateDelete(org.cipres.treebase.dao.tree.PhyloTreeDAOTest) 6. testAddDelete(org.cipres.treebase.service.study.StudyServiceImplTest) Youjun |