Package org.gbif.dwc.terms
Class TermBaseTest<T extends Term>
- java.lang.Object
-
- org.gbif.dwc.terms.TermBaseTest<T>
-
- Direct Known Subclasses:
AcefTermTest
,AcTermTest
,ChronoTermTest
,DcTermTest
,DwcaTermTest
,DwcTermTest
,ExifTermTest
,GadmTermTest
,GbifDnaTermTest
,GbifMiqeTermTest
,GbifTermTest
,GermplasmTermTest
,GgbnTermTest
,IptcTermTest
,IucnTermTest
,MixsTermTest
,ObisTermTest
,PhotoshopTermTest
,PlaziTermTest
,Wgs84GeoPositioningTermTest
,XmpRightsTermTest
,XmpTermTest
public abstract class TermBaseTest<T extends Term> extends Object
Generic tests for all Term implementing classes.
-
-
Constructor Summary
Constructors Constructor Description TermBaseTest(Class<T> clazz)
TermBaseTest(Class<T> clazz, String[] forbiddenChars, boolean skipSimple)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testFindPrefixedTerms()
void
testFindQualifiedTerm()
void
testFindSimpleTerm()
Test that iterates over all term values and uses the simple name alone as input to the factory and then verifies the Term returned is the same as the original one.void
testNames()
-
-
-
Constructor Detail
-
TermBaseTest
public TermBaseTest(Class<T> clazz)
-
TermBaseTest
public TermBaseTest(Class<T> clazz, String[] forbiddenChars, boolean skipSimple)
-
-
Method Detail
-
testNames
@Test public void testNames()
-
testFindSimpleTerm
@Test public void testFindSimpleTerm()
Test that iterates over all term values and uses the simple name alone as input to the factory and then verifies the Term returned is the same as the original one.
-
testFindPrefixedTerms
@Test public void testFindPrefixedTerms()
-
testFindQualifiedTerm
@Test public void testFindQualifiedTerm()
-
-