Revision 2720ea2c
Added by Andreas Müller over 3 years ago
cdmlib-model/src/test/java/eu/etaxonomy/cdm/strategy/merge/DefaultMergeStrategyTest.java | ||
---|---|---|
16 | 16 |
|
17 | 17 |
import org.apache.log4j.Logger; |
18 | 18 |
import org.joda.time.DateTime; |
19 |
import org.junit.After; |
|
20 | 19 |
import org.junit.AfterClass; |
21 | 20 |
import org.junit.Assert; |
22 | 21 |
import org.junit.Before; |
... | ... | |
84 | 83 |
private int hasProblem2 = 1; |
85 | 84 |
private LSID lsid2; |
86 | 85 |
|
87 |
|
|
88 |
private Reference book3; |
|
89 |
|
|
90 |
/** |
|
91 |
* @throws java.lang.Exception |
|
92 |
*/ |
|
93 | 86 |
@BeforeClass |
94 | 87 |
public static void setUpBeforeClass() throws Exception { |
95 | 88 |
DefaultTermInitializer termInitializer = new DefaultTermInitializer(); |
96 | 89 |
termInitializer.initialize(); |
97 | 90 |
} |
98 | 91 |
|
99 |
/** |
|
100 |
* @throws java.lang.Exception |
|
101 |
*/ |
|
102 | 92 |
@AfterClass |
103 | 93 |
public static void tearDownAfterClass() throws Exception { |
104 | 94 |
} |
105 | 95 |
|
106 |
/** |
|
107 |
* @throws java.lang.Exception |
|
108 |
*/ |
|
109 | 96 |
@Before |
110 | 97 |
public void setUp() throws Exception { |
111 | 98 |
bookMergeStrategy = DefaultMergeStrategy.NewInstance(Reference.class); |
... | ... | |
145 | 132 |
lsid2 = new LSID("authority2", "namespace2", "object2", "revision2"); |
146 | 133 |
book2.setLsid(lsid2); |
147 | 134 |
book2.setNomenclaturallyRelevant(true); |
148 |
|
|
149 |
} |
|
150 |
|
|
151 |
/** |
|
152 |
* @throws java.lang.Exception |
|
153 |
*/ |
|
154 |
@After |
|
155 |
public void tearDown() throws Exception { |
|
156 | 135 |
} |
157 | 136 |
|
158 | 137 |
//********************* TEST *********************************************/ |
Also available in: Unified diff
cleanup