Revision 4ad81945
Added by Andreas Müller over 3 years ago
cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/hibernate/replace/ReferringObjectMetadataFactoryTest.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.hibernate.replace; |
11 | 10 |
|
12 |
|
|
13 | 11 |
import java.io.FileNotFoundException; |
14 | 12 |
import java.util.UUID; |
15 | 13 |
|
... | ... | |
34 | 32 |
* @since 22.12.2009 |
35 | 33 |
*/ |
36 | 34 |
public class ReferringObjectMetadataFactoryTest extends CdmTransactionalIntegrationTest { |
37 |
@SuppressWarnings("unused") |
|
35 |
|
|
36 |
@SuppressWarnings("unused") |
|
38 | 37 |
private static Logger logger = Logger.getLogger(ReferringObjectMetadataFactoryTest.class); |
39 | 38 |
|
40 | 39 |
@SpringBeanByType |
... | ... | |
62 | 61 |
person3 = UUID.fromString("c62cd389-d787-47f4-99c3-b80eb12a1ef2"); |
63 | 62 |
} |
64 | 63 |
|
65 |
/** |
|
66 |
* Test method for {@link eu.etaxonomy.cdm.persistence.dao.hibernate.common.CdmEntityDaoBase#CdmEntityDaoBase(java.lang.Class)}. |
|
67 |
* @throws Exception |
|
68 |
*/ |
|
69 | 64 |
@Test |
70 | 65 |
public void testReferringObjectMetadataFactory() throws Exception { |
71 | 66 |
referringObjectMetadataFactory.get(Person.class); |
... | ... | |
100 | 95 |
agentDao.replace(x,y); |
101 | 96 |
this.setComplete(); |
102 | 97 |
this.endTransaction(); |
103 |
|
|
104 | 98 |
} |
105 | 99 |
|
106 | 100 |
@Test |
... | ... | |
123 | 117 |
|
124 | 118 |
@Override |
125 | 119 |
public void createTestDataSet() throws FileNotFoundException {} |
126 |
} |
|
127 |
|
|
128 |
|
|
120 |
} |
Also available in: Unified diff
cleanup