Revision 7d8c9613
Added by Andreas Müller over 7 years ago
cdmlib-model/src/test/java/eu/etaxonomy/cdm/model/name/TaxonNameBaseTest.java | ||
---|---|---|
17 | 17 |
import static org.junit.Assert.assertSame; |
18 | 18 |
import static org.junit.Assert.assertTrue; |
19 | 19 |
|
20 |
import java.util.Map; |
|
21 |
|
|
22 | 20 |
import org.apache.log4j.Logger; |
23 | 21 |
import org.junit.Before; |
24 | 22 |
import org.junit.BeforeClass; |
... | ... | |
40 | 38 |
/** |
41 | 39 |
* @author a.mueller |
42 | 40 |
* @created 28.06.2008 |
43 |
* @version 1.0 |
|
44 | 41 |
*/ |
45 | 42 |
public class TaxonNameBaseTest { |
46 | 43 |
private static final Logger logger = Logger.getLogger(TaxonNameBaseTest.class); |
... | ... | |
65 | 62 |
|
66 | 63 |
|
67 | 64 |
private class TaxonNameBaseTestClass extends TaxonNameBase<TaxonNameBaseTestClass, INameCacheStrategy<TaxonNameBaseTestClass>>{ |
68 |
public TaxonNameBaseTestClass(){super();};
|
|
69 |
public TaxonNameBaseTestClass(Rank rank){super(rank);};
|
|
70 |
public TaxonNameBaseTestClass(HomotypicalGroup hg){super(hg);};
|
|
71 |
public TaxonNameBaseTestClass(Rank rank, HomotypicalGroup hg){super(rank, hg);};
|
|
65 |
public TaxonNameBaseTestClass(){super();} |
|
66 |
public TaxonNameBaseTestClass(Rank rank){super(rank);} |
|
67 |
public TaxonNameBaseTestClass(HomotypicalGroup hg){super(hg);} |
|
68 |
public TaxonNameBaseTestClass(Rank rank, HomotypicalGroup hg){super(rank, hg);} |
|
72 | 69 |
@Override |
73 |
public boolean isCodeCompliant(){return false;};
|
|
70 |
public boolean isCodeCompliant(){return false;} |
|
74 | 71 |
@Override |
75 |
public void setCacheStrategy(INameCacheStrategy strategy){};
|
|
72 |
public void setCacheStrategy(INameCacheStrategy strategy){} |
|
76 | 73 |
@Override |
77 |
public INameCacheStrategy getCacheStrategy(){return null;};
|
|
74 |
public INameCacheStrategy getCacheStrategy(){return null;} |
|
78 | 75 |
@Override |
79 |
public NomenclaturalCode getNomenclaturalCode(){return null;};
|
|
76 |
public NomenclaturalCode getNomenclaturalCode(){return null;} |
|
80 | 77 |
@Override |
81 | 78 |
public String generateFullTitle(){return null;} |
82 | 79 |
@Override |
83 | 80 |
public String generateTitle() { |
84 | 81 |
return null; |
85 | 82 |
} |
86 |
@Override |
|
87 |
protected Map<String, java.lang.reflect.Field> getAllFields() { |
|
88 |
return null; |
|
89 |
} |
|
90 | 83 |
|
91 | 84 |
} |
92 | 85 |
|
Also available in: Unified diff
fix #6360 moved all NonViralName functionality to TaxonNameBase