Project

General

Profile

« Previous | Next » 

Revision 4ad81945

Added by Andreas Müller over 3 years ago

cleanup

View differences:

cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/TaxonNodeDaoHibernateImplTest.java
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
9

  
10 9
package eu.etaxonomy.cdm.persistence.dao.hibernate.taxon;
11 10

  
12 11
import static org.junit.Assert.assertEquals;
......
98 97
        AuditEventContextHolder.clearContext();
99 98
    }
100 99

  
101

  
102 100
    @Test
103 101
    @DataSet
104 102
    public void testInit() {
......
128 126

  
129 127
        TaxonNode taxNode3 = taxonNodeDao.load(uuid3, TAXONNODE_INIT_STRATEGY);
130 128

  
131

  
132 129
        @SuppressWarnings("rawtypes")
133 130
        List<TaxonBase> taxa = taxonDao.list(10, 0);
134 131
        assertEquals("there should be 7 taxa", 7, taxa.size());
......
154 151
       // classificationDao.flush();
155 152
        classification = classificationDao.findByUuid(ClassificationUuid);
156 153
        assertEquals("The tree should be null", null, classification);
157

  
158 154
    }
159 155

  
160 156
    @Test
......
361 357
        assertNotNull(result);
362 358
        assertEquals(1, result.size());
363 359
        assertEquals("4f73adcc-a535-4fbe-a97a-c05ee8b12191", result.get(0).getUuid().toString()); // titleCache:Acherontia kohlbeckeri rank: Unknown Rank
364

  
365 360
    }
366 361

  
367 362
    @Test
......
377 372
        assertEquals("4f73adcc-a535-4fbe-a97a-c05ee8b12191", result.get(3).getUuid().toString()); // titleCache:Acherontia kohlbeckeri rank: Unknown Rank
378 373
    }
379 374

  
380

  
381 375
    @Override
382 376
    public void createTestDataSet() throws FileNotFoundException {}
383 377

  

Also available in: Unified diff