Revision 4ad81945
Added by Andreas Müller over 3 years ago
cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/hibernate/taxon/TaxonDaoHibernateImplTest.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; |
... | ... | |
133 | 132 |
"HOMOTYPICALGROUP", "HOMOTYPICALGROUP_AUD", "REFERENCE", "REFERENCE_AUD", "TAXONBASE", "TAXONBASE_AUD" |
134 | 133 |
, "TAXONNAME", "TAXONNAME_AUD", "TAXONRELATIONSHIP", "TAXONRELATIONSHIP_AUD" }; |
135 | 134 |
|
136 |
|
|
137 | 135 |
@Before |
138 | 136 |
public void setUp() { |
139 | 137 |
|
... | ... | |
157 | 155 |
AuditEventContextHolder.clearContext(); |
158 | 156 |
} |
159 | 157 |
|
160 |
/** |
|
161 |
* Test method for {@link eu.etaxonomy.cdm.persistence.dao.hibernate.taxon.TaxonDaoHibernateImpl#TaxonDaoHibernateImpl()}. |
|
162 |
*/ |
|
163 | 158 |
@Test |
164 | 159 |
@DataSet |
165 | 160 |
public void testInit() { |
... | ... | |
226 | 221 |
assertEquals("Results list should contain one entity",1,results.size()); |
227 | 222 |
} |
228 | 223 |
|
229 |
|
|
230 | 224 |
@Test |
231 | 225 |
@DataSet (loadStrategy=CleanSweepInsertLoadStrategy.class, value="TaxonDaoHibernateImplTest.testGetTaxaByNameAndArea.xml") |
232 | 226 |
public void testGetTaxaByNameWithMisappliedNames(){ |
Also available in: Unified diff
cleanup