1 |
0d34aeec
|
Andreas Müller
|
|
2 |
|
|
package eu.etaxonomy.cdm.model.description;
|
3 |
|
|
|
4 |
|
|
import static org.junit.Assert.*;
|
5 |
|
|
|
6 |
|
|
import org.apache.log4j.Logger;
|
7 |
|
|
import org.junit.Test;
|
8 |
|
|
|
9 |
|
|
public class PresenceAbsenceTermBaseTest {
|
10 |
|
|
private static final Logger logger = Logger.getLogger(PresenceAbsenceTermBaseTest.class);
|
11 |
|
|
|
12 |
|
|
@Test
|
13 |
|
|
public void testPresenceAbsenceTermBase() {
|
14 |
|
|
logger.warn("Not yet implemented");
|
15 |
|
|
}
|
16 |
|
|
|
17 |
|
|
@Test
|
18 |
|
|
public void testPresenceAbsenceTermBaseStringStringString() {
|
19 |
|
|
logger.warn("Not yet implemented");
|
20 |
|
|
}
|
21 |
|
|
|
22 |
|
|
@Test
|
23 |
|
|
public void testReadCsvLineList() {
|
24 |
|
|
logger.warn("Not yet implemented");
|
25 |
|
|
}
|
26 |
|
|
|
27 |
|
|
@Test
|
28 |
|
|
public void testGetPresenceTermByAbbreviation() {
|
29 |
|
|
String abbrev = "p";
|
30 |
|
|
PresenceAbsenceTermBase paTerm = PresenceTerm.getPresenceAbsenceTermByAbbreviation(abbrev);
|
31 |
|
|
assertEquals(PresenceTerm.PRESENT(), paTerm);
|
32 |
|
|
PresenceAbsenceTermBase paTermNotExist = PresenceTerm.getPresenceAbsenceTermByAbbreviation("slkjlsl?");
|
33 |
|
|
assertNull(paTermNotExist);
|
34 |
|
|
}
|
35 |
|
|
}
|