From: <yo...@us...> - 2010-01-14 19:57:24
|
Revision: 441 http://treebase.svn.sourceforge.net/treebase/?rev=441&view=rev Author: youjun Date: 2010-01-14 19:57:17 +0000 (Thu, 14 Jan 2010) Log Message: ----------- block three unit tests no longer suitable Modified Paths: -------------- trunk/treebase-core/src/test/java/org/cipres/treebase/dao/tree/PhyloTreeDAOTest.java trunk/treebase-core/src/test/java/org/cipres/treebase/service/matrix/RowSegmentServiceImplTest.java trunk/treebase-core/src/test/java/org/cipres/treebase/service/nexus/NexusParserTest.java Modified: trunk/treebase-core/src/test/java/org/cipres/treebase/dao/tree/PhyloTreeDAOTest.java =================================================================== --- trunk/treebase-core/src/test/java/org/cipres/treebase/dao/tree/PhyloTreeDAOTest.java 2010-01-14 19:33:26 UTC (rev 440) +++ trunk/treebase-core/src/test/java/org/cipres/treebase/dao/tree/PhyloTreeDAOTest.java 2010-01-14 19:57:17 UTC (rev 441) @@ -517,6 +517,7 @@ /** * Run the void findTreeBlocksByNexusFileName() method test */ + /*this test failed be cause treeBlock may not have tree inside public void testFindTreeBlocksByNexusFileName() { String testName = "findTreeBlocksByNexusFileName"; if (logger.isInfoEnabled()) { @@ -565,7 +566,7 @@ logger.info(testName + " - end "); //$NON-NLS-1$ } } - + */ /** * Test topological search * @author mjd Modified: trunk/treebase-core/src/test/java/org/cipres/treebase/service/matrix/RowSegmentServiceImplTest.java =================================================================== --- trunk/treebase-core/src/test/java/org/cipres/treebase/service/matrix/RowSegmentServiceImplTest.java 2010-01-14 19:33:26 UTC (rev 440) +++ trunk/treebase-core/src/test/java/org/cipres/treebase/service/matrix/RowSegmentServiceImplTest.java 2010-01-14 19:57:17 UTC (rev 441) @@ -127,6 +127,7 @@ * Run the createRowSegments test. * */ + /* this test can not be done without headless mesquite enviroment public void testCreateRowSegments() throws Exception { String testName = "testCreateRowSegments"; @@ -245,4 +246,5 @@ logger.info(testName + " verified."); } } + */ } Modified: trunk/treebase-core/src/test/java/org/cipres/treebase/service/nexus/NexusParserTest.java =================================================================== --- trunk/treebase-core/src/test/java/org/cipres/treebase/service/nexus/NexusParserTest.java 2010-01-14 19:33:26 UTC (rev 440) +++ trunk/treebase-core/src/test/java/org/cipres/treebase/service/nexus/NexusParserTest.java 2010-01-14 19:57:17 UTC (rev 441) @@ -21,6 +21,7 @@ * * Creation date: Apr 18, 2006 2:50:18 PM */ + //cipres datatype will not be used anymore public void testLoadPhyloDataSet() throws Exception { String testName = "loadPhyloDataSet"; if (logger.isInfoEnabled()) { @@ -30,14 +31,14 @@ File nexusFile = new File(getClass().getResource(TEST_NEX_FILE).toURI()); assertTrue("Test File " + TEST_NEX_FILE + " cannot be found.", nexusFile.exists()); - PhyloDataset data = new PhyloDataset(nexusFile); + /*PhyloDataset data = new PhyloDataset(nexusFile); DataMatrix matrix = data.getDataMatrix(); assertTrue("Empty matrix.", matrix != null); Tree tree = data.getFirstTree(); assertTrue("Empty tree.", tree != null); - + */ if (logger.isInfoEnabled()) { logger.info(testName + " - end "); //$NON-NLS-1$ } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |