Package org.gbif.dwc.terms
Class TermFactoryTest
java.lang.Object
org.gbif.dwc.terms.TermFactoryTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidbadTerm()voidvoidvoidvoidGBIF code assumes a term coming from any of the Term enumerations mostly have unique simple names.voidNot a real test, just a way of running many concurrent TermFactory.instance() calls to verify thread safety.
-
Constructor Details
-
TermFactoryTest
public TermFactoryTest()
-
-
Method Details
-
testKnownTermUniqueness
GBIF code assumes a term coming from any of the Term enumerations mostly have unique simple names. This tests verifies that! AcefTerm is known to overlap, so its excluded, see skipSimple in AcefTermTest. -
testCompleteness
- Throws:
Exception
-
testFindTerm
-
addUnknownTerm
-
badTerm
-
removedGbifTerms
-
addSimpleTerm
-
addUnknownSimpleTerm
-
testMultithreadStart
Not a real test, just a way of running many concurrent TermFactory.instance() calls to verify thread safety.- Throws:
InterruptedException
-