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
Generic tests for all Term implementing classes.
-
Constructor Summary
ConstructorsConstructorDescriptionTermBaseTest(Class<T> clazz) TermBaseTest(Class<T> clazz, String[] forbiddenChars, boolean skipSimple) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidTest 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
-
Constructor Details
-
TermBaseTest
-
TermBaseTest
-
-
Method Details
-
testNames
-
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
-
testFindQualifiedTerm
-