Index

A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages

A

AcefTermTest - Class in org.gbif.dwc.terms
 
AcefTermTest() - Constructor for class org.gbif.dwc.terms.AcefTermTest
 
AcTermTest - Class in org.gbif.dwc.terms
 
AcTermTest() - Constructor for class org.gbif.dwc.terms.AcTermTest
 
addSimpleTerm() - Method in class org.gbif.dwc.terms.TermFactoryTest
 
addUnknownSimpleTerm() - Method in class org.gbif.dwc.terms.TermFactoryTest
 
addUnknownTerm() - Method in class org.gbif.dwc.terms.TermFactoryTest
 
AnnotationUtilsTest - Class in org.gbif.utils
Unit test related tp AnnotationUtils
AnnotationUtilsTest() - Constructor for class org.gbif.utils.AnnotationUtilsTest
 
ArchiveFactoryTest - Class in org.gbif.dwca.io
 
ArchiveFactoryTest() - Constructor for class org.gbif.dwca.io.ArchiveFactoryTest
 
ArchiveFileTest - Class in org.gbif.dwc
Unit test related to ArchiveFile.
ArchiveFileTest() - Constructor for class org.gbif.dwc.ArchiveFileTest
 
ArchivePlaziTest - Class in org.gbif.dwc
 
ArchivePlaziTest() - Constructor for class org.gbif.dwc.ArchivePlaziTest
 
ArchiveTest - Class in org.gbif.dwc
 
ArchiveTest() - Constructor for class org.gbif.dwc.ArchiveTest
 
assertUnixSortOrder(File) - Static method in class org.gbif.utils.file.FileUtilsTest
 
assertUnixSortOrder(Iterator<String>) - Static method in class org.gbif.utils.file.FileUtilsTest
 

B

badTerm() - Method in class org.gbif.dwc.terms.TermFactoryTest
 
BigDecimalUtilsTest - Class in org.gbif.utils.number
Tests for BigDecimal utility class
BigDecimalUtilsTest() - Constructor for class org.gbif.utils.number.BigDecimalUtilsTest
 
BomSafeInputStreamWrapperTest - Class in org.gbif.utils.file
 
BomSafeInputStreamWrapperTest() - Constructor for class org.gbif.utils.file.BomSafeInputStreamWrapperTest
 

C

CharsetDetectionTest - Class in org.gbif.utils.file
 
CharsetDetectionTest() - Constructor for class org.gbif.utils.file.CharsetDetectionTest
 
ChronoTermTest - Class in org.gbif.dwc.terms
 
ChronoTermTest() - Constructor for class org.gbif.dwc.terms.ChronoTermTest
 
classpathFile(String) - Method in class org.gbif.utils.file.CompressionUtilTest
 
classTerms() - Method in class org.gbif.dwc.terms.AcTermTest
 
CleanUtilsTest - Class in org.gbif.dwc.record
 
CleanUtilsTest() - Constructor for class org.gbif.dwc.record.CleanUtilsTest
 
ComparatorPerformance - Class in org.gbif.utils.text
 
ComparatorPerformance() - Constructor for class org.gbif.utils.text.ComparatorPerformance
 
CompressionUtilTest - Class in org.gbif.utils.file
 
CompressionUtilTest() - Constructor for class org.gbif.utils.file.CompressionUtilTest
 
createTempDirectory() - Static method in class org.gbif.utils.file.CompressionUtilTest
 
CSVReaderFactoryTest - Class in org.gbif.utils.file.csv
 
CSVReaderFactoryTest() - Constructor for class org.gbif.utils.file.csv.CSVReaderFactoryTest
 
CSVReaderTest - Class in org.gbif.utils.file.csv
 
CSVReaderTest() - Constructor for class org.gbif.utils.file.csv.CSVReaderTest
 

D

DcElementTest - Class in org.gbif.dwc.terms
 
DcElementTest() - Constructor for class org.gbif.dwc.terms.DcElementTest
 
DcTermTest - Class in org.gbif.dwc.terms
 
DcTermTest() - Constructor for class org.gbif.dwc.terms.DcTermTest
 
demonstrateBigDecimalStripTrailingZerosEquality() - Method in class org.gbif.utils.number.BigDecimalUtilsTest
This test is simply to show why we are not using BigDecimal stripTrailingZeros function.
detectCsvAlwaysQuoted() - Method in class org.gbif.utils.file.csv.CSVReaderFactoryTest
 
detectCsvAlwaysQuoted() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
detectCsvOptionallyQuoted() - Method in class org.gbif.utils.file.csv.CSVReaderFactoryTest
As CSV files with rare optional quotes are hard to detect but cause problems we prefer to default to the " quotation in case comma seperated files are used.
detectCsvUnquoted() - Method in class org.gbif.utils.file.csv.CSVReaderFactoryTest
We dont want unquoted CSVs, See detectCsvOptionallyQuoted()
detectEncoding() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
detectPipe() - Method in class org.gbif.utils.file.csv.CSVReaderFactoryTest
 
detectPipe() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
detectSemicolon() - Method in class org.gbif.utils.file.csv.CSVReaderFactoryTest
 
detectSemicolon() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
detectTab() - Method in class org.gbif.utils.file.csv.CSVReaderFactoryTest
 
detectTab() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
detectTabQuoted() - Method in class org.gbif.utils.file.csv.CSVReaderFactoryTest
 
detectTabQuoted() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
DoubleVsBigDecimal - Class in org.gbif.utils.number
Set of tests to illustrate the issue with double and how some problems can be solved with BigDecimal.
DoubleVsBigDecimal() - Constructor for class org.gbif.utils.number.DoubleVsBigDecimal
 
DwcaStreamWriterTest - Class in org.gbif.dwc
 
DwcaStreamWriterTest() - Constructor for class org.gbif.dwc.DwcaStreamWriterTest
 
DwcaTermTest - Class in org.gbif.dwc.terms
 
DwcaTermTest() - Constructor for class org.gbif.dwc.terms.DwcaTermTest
 
DwcaWriterTest - Class in org.gbif.dwc
 
DwcaWriterTest() - Constructor for class org.gbif.dwc.DwcaWriterTest
 
DwcFilesTest - Class in org.gbif.dwc
Tests related to DwcFiles.
DwcFilesTest() - Constructor for class org.gbif.dwc.DwcFilesTest
 
DwcMetaFilesTest - Class in org.gbif.dwc.meta
Tests related to DwcMetaFiles.
DwcMetaFilesTest() - Constructor for class org.gbif.dwc.meta.DwcMetaFilesTest
 
DwcTermTest - Class in org.gbif.dwc.terms
 
DwcTermTest() - Constructor for class org.gbif.dwc.terms.DwcTermTest
 

E

EmailUtilsTest - Class in org.gbif.utils.text
 
EmailUtilsTest() - Constructor for class org.gbif.utils.text.EmailUtilsTest
 
ExecutorUtilsTest - Class in org.gbif.utils.concurrent
 
ExecutorUtilsTest() - Constructor for class org.gbif.utils.concurrent.ExecutorUtilsTest
 
ExifTermTest - Class in org.gbif.dwc.terms
 
ExifTermTest() - Constructor for class org.gbif.dwc.terms.ExifTermTest
 
ExtensionFactoryTest - Class in org.gbif.dwc.extensions
 
ExtensionFactoryTest() - Constructor for class org.gbif.dwc.extensions.ExtensionFactoryTest
 
ExtensionTest - Class in org.gbif.dwc.extensions
Unit tests related to Extension
ExtensionTest() - Constructor for class org.gbif.dwc.extensions.ExtensionTest
 

F

FileUtilsTest - Class in org.gbif.utils.file
 
FileUtilsTest() - Constructor for class org.gbif.utils.file.FileUtilsTest
 
folder - Variable in class org.gbif.dwc.InternalDwcFileFactoryTest
 

G

GadmTermTest - Class in org.gbif.dwc.terms
 
GadmTermTest() - Constructor for class org.gbif.dwc.terms.GadmTermTest
 
GbifDnaTermTest - Class in org.gbif.dwc.terms
 
GbifDnaTermTest() - Constructor for class org.gbif.dwc.terms.GbifDnaTermTest
 
GbifMiqeTermTest - Class in org.gbif.dwc.terms
 
GbifMiqeTermTest() - Constructor for class org.gbif.dwc.terms.GbifMiqeTermTest
 
GbifTermTest - Class in org.gbif.dwc.terms
 
GbifTermTest() - Constructor for class org.gbif.dwc.terms.GbifTermTest
 
GermplasmTermTest - Class in org.gbif.dwc.terms
 
GermplasmTermTest() - Constructor for class org.gbif.dwc.terms.GermplasmTermTest
 
GgbnTermTest - Class in org.gbif.dwc.terms
 
GgbnTermTest() - Constructor for class org.gbif.dwc.terms.GgbnTermTest
 

H

HashSetPerformance - Class in org.gbif.utils.collection
 
HashSetPerformance() - Constructor for class org.gbif.utils.collection.HashSetPerformance
 
humanReadableByteCountTest() - Method in class org.gbif.utils.file.FileUtilsTest
 

I

InternalDwcFileFactoryTest - Class in org.gbif.dwc
Tests related to InternalDwcFileFactory.
InternalDwcFileFactoryTest() - Constructor for class org.gbif.dwc.InternalDwcFileFactoryTest
 
IptcTermTest - Class in org.gbif.dwc.terms
 
IptcTermTest() - Constructor for class org.gbif.dwc.terms.IptcTermTest
 
IucnTermTest - Class in org.gbif.dwc.terms
 
IucnTermTest() - Constructor for class org.gbif.dwc.terms.IucnTermTest
 

L

LineComparatorTest - Class in org.gbif.utils.text
 
LineComparatorTest() - Constructor for class org.gbif.utils.text.LineComparatorTest
 

M

main(String...) - Static method in class org.gbif.dwc.ParallelOpeningTest
 
main(String[]) - Static method in class org.gbif.utils.collection.HashSetPerformance
 
MapUtilsTest - Class in org.gbif.utils.collection
 
MapUtilsTest() - Constructor for class org.gbif.utils.collection.MapUtilsTest
 
MetaDescriptorTest - Class in org.gbif.dwc
Integration tests related to the MetaDescriptor operations.
MetaDescriptorTest() - Constructor for class org.gbif.dwc.MetaDescriptorTest
 
MetaDescriptorTest.SAXExtractTerms - Class in org.gbif.dwc
 
MixsTermTest - Class in org.gbif.dwc.terms
 
MixsTermTest() - Constructor for class org.gbif.dwc.terms.MixsTermTest
 

N

newArrayList(Integer...) - Method in class org.gbif.utils.ObjectUtilsTest
 

O

ObisTermTest - Class in org.gbif.dwc.terms
 
ObisTermTest() - Constructor for class org.gbif.dwc.terms.ObisTermTest
 
ObjectUtilsTest - Class in org.gbif.utils
 
ObjectUtilsTest() - Constructor for class org.gbif.utils.ObjectUtilsTest
 
org.gbif.dwc - package org.gbif.dwc
 
org.gbif.dwc.extensions - package org.gbif.dwc.extensions
 
org.gbif.dwc.io - package org.gbif.dwc.io
 
org.gbif.dwc.meta - package org.gbif.dwc.meta
 
org.gbif.dwc.record - package org.gbif.dwc.record
 
org.gbif.dwc.terms - package org.gbif.dwc.terms
 
org.gbif.dwc.terms.jackson - package org.gbif.dwc.terms.jackson
 
org.gbif.dwca.io - package org.gbif.dwca.io
 
org.gbif.utils - package org.gbif.utils
 
org.gbif.utils.collection - package org.gbif.utils.collection
 
org.gbif.utils.concurrent - package org.gbif.utils.concurrent
 
org.gbif.utils.file - package org.gbif.utils.file
 
org.gbif.utils.file.csv - package org.gbif.utils.file.csv
 
org.gbif.utils.file.tabular - package org.gbif.utils.file.tabular
 
org.gbif.utils.number - package org.gbif.utils.number
 
org.gbif.utils.rs - package org.gbif.utils.rs
 
org.gbif.utils.text - package org.gbif.utils.text
 

P

ParallelOpeningTest - Class in org.gbif.dwc
This test checks we don't get a race condition between two processes opening the same DWC-A at the same time.
ParallelOpeningTest() - Constructor for class org.gbif.dwc.ParallelOpeningTest
 
PhotoshopTermTest - Class in org.gbif.dwc.terms
 
PhotoshopTermTest() - Constructor for class org.gbif.dwc.terms.PhotoshopTermTest
 
PlaziTermTest - Class in org.gbif.dwc.terms
 
PlaziTermTest() - Constructor for class org.gbif.dwc.terms.PlaziTermTest
 
PropertiesUtilTest - Class in org.gbif.utils.file
 
PropertiesUtilTest() - Constructor for class org.gbif.utils.file.PropertiesUtilTest
 

R

RecordImplTest - Class in org.gbif.dwc.record
 
RecordImplTest() - Constructor for class org.gbif.dwc.record.RecordImplTest
 
removedGbifTerms() - Method in class org.gbif.dwc.terms.TermFactoryTest
 
ResourcesUtilTest - Class in org.gbif.utils.file
 
ResourcesUtilTest() - Constructor for class org.gbif.utils.file.ResourcesUtilTest
 
RsGbifOrgTest - Class in org.gbif.utils.rs
 
RsGbifOrgTest() - Constructor for class org.gbif.utils.rs.RsGbifOrgTest
 

S

SAXExtractTerms(List<String>) - Constructor for class org.gbif.dwc.MetaDescriptorTest.SAXExtractTerms
 
StarIteratorTest - Class in org.gbif.dwc
 
StarIteratorTest() - Constructor for class org.gbif.dwc.StarIteratorTest
 
startElement(String, String, String, Attributes) - Method in class org.gbif.dwc.MetaDescriptorTest.SAXExtractTerms
 
stopEmptyExec() - Method in class org.gbif.utils.concurrent.ExecutorUtilsTest
 
stopExecWithJobs() - Method in class org.gbif.utils.concurrent.ExecutorUtilsTest
 
StringUtilsTest - Class in org.gbif.utils.text
 
StringUtilsTest() - Constructor for class org.gbif.utils.text.StringUtilsTest
 
StrTokenizerPerformance - Class in org.gbif.dwc.io
 
StrTokenizerPerformance() - Constructor for class org.gbif.dwc.io.StrTokenizerPerformance
 
StrTokenizerTest - Class in org.gbif.dwc.io
 
StrTokenizerTest() - Constructor for class org.gbif.dwc.io.StrTokenizerTest
 

T

TabularDataFileReaderTest - Class in org.gbif.utils.file.tabular
Unit tests for TabularDataFileReader.
TabularDataFileReaderTest() - Constructor for class org.gbif.utils.file.tabular.TabularDataFileReaderTest
 
TabularFileMetadataExtractorTest - Class in org.gbif.utils.file.tabular
Unit tests related to TabularFileMetadataExtractor
TabularFileMetadataExtractorTest() - Constructor for class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
TabularFileNormalizerTest - Class in org.gbif.utils.file.tabular
Unit test related to TabularFileNormalizer
TabularFileNormalizerTest() - Constructor for class org.gbif.utils.file.tabular.TabularFileNormalizerTest
 
TERM_FACTORY - Static variable in class org.gbif.dwc.MetaDescriptorTest
 
TermBaseTest<T extends org.gbif.dwc.terms.Term> - Class in org.gbif.dwc.terms
Generic tests for all Term implementing classes.
TermBaseTest(Class<T>) - Constructor for class org.gbif.dwc.terms.TermBaseTest
 
TermBaseTest(Class<T>, String[], boolean) - Constructor for class org.gbif.dwc.terms.TermBaseTest
 
TermComparatorTest - Class in org.gbif.dwc.terms
 
TermComparatorTest() - Constructor for class org.gbif.dwc.terms.TermComparatorTest
 
TermDeserializerTest - Class in org.gbif.dwc.terms.jackson
 
TermDeserializerTest() - Constructor for class org.gbif.dwc.terms.jackson.TermDeserializerTest
 
TermFactoryTest - Class in org.gbif.dwc.terms
 
TermFactoryTest() - Constructor for class org.gbif.dwc.terms.TermFactoryTest
 
TermsTest - Class in org.gbif.dwc.terms
Unit tests for Terms
TermsTest() - Constructor for class org.gbif.dwc.terms.TermsTest
 
test(boolean, Set) - Static method in class org.gbif.utils.collection.HashSetPerformance
 
testAddingCoreIdTermTwice() - Method in class org.gbif.dwc.DwcaWriterTest
 
testAdditionAssociativity() - Method in class org.gbif.utils.number.DoubleVsBigDecimal
Example from https://en.wikipedia.org/wiki/Floating_point#Accuracy_problems Simply demonstrates that (a + b) + c is not necessarily equal to a + (b + c) using double.
testAuthorityUrl() - Method in class org.gbif.utils.rs.RsGbifOrgTest
 
testBigDecimalConstructor() - Method in class org.gbif.utils.number.BigDecimalUtilsTest
This test is simply to illustrate why we use the BigDecimal(String) constructor.
testBigDecimalConstructorNull() - Method in class org.gbif.utils.number.BigDecimalUtilsTest
 
testBomSafeInputStreamWrapper() - Method in class org.gbif.utils.file.BomSafeInputStreamWrapperTest
 
testBooleanProperties() - Method in class org.gbif.utils.file.PropertiesUtilTest
 
testBuild() - Method in class org.gbif.dwc.terms.UnknownTermTest
 
testBuildError() - Method in class org.gbif.dwc.terms.UnknownTermTest
 
testBuildError2() - Method in class org.gbif.dwc.terms.UnknownTermTest
 
testBuildReaderFile() - Method in class org.gbif.dwc.ArchivePlaziTest
 
testCharVsStringPerformance() - Method in class org.gbif.dwc.io.StrTokenizerPerformance
 
testClassTerm() - Method in class org.gbif.dwc.terms.DwcTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.AcefTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.ChronoTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.DwcaTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.ExifTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.GadmTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.GbifDnaTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.GbifMiqeTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.GermplasmTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.GgbnTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.IptcTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.IucnTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.ObisTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.PhotoshopTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.PlaziTermTest
 
testClassTerms() - Method in class org.gbif.dwc.terms.Wgs84GeoPositioningTermTest
 
testClean() - Method in class org.gbif.dwc.record.CleanUtilsTest
 
testCleanFalse() - Method in class org.gbif.dwc.record.CleanUtilsTest
 
testCoalesce() - Method in class org.gbif.utils.ObjectUtilsTest
 
testCoalesce1() - Method in class org.gbif.utils.ObjectUtilsTest
 
testCompare() - Method in class org.gbif.dwc.terms.TermComparatorTest
 
testCompareTo() - Method in class org.gbif.dwc.extensions.ExtensionTest
 
testCompareTo() - Method in class org.gbif.dwc.extensions.VocabularyConceptTest
 
testCompleteness() - Method in class org.gbif.dwc.terms.TermFactoryTest
 
testComputeDelimiterDistinctFrequency() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
testComputeDelimiterFrequencySums() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
testComputeDelimiterHighestFrequencyPerLine() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
testConstituents() - Method in class org.gbif.dwc.ArchiveTest
 
testCopyResources() - Method in class org.gbif.utils.file.ResourcesUtilTest
 
testCopyResourcesThrowing() - Method in class org.gbif.utils.file.ResourcesUtilTest
 
testCoreRecords() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
 
testCP1252Encoding() - Method in class org.gbif.utils.file.CharsetDetectionTest
 
testCsv() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Test dwca-reader bug 83
testCsvAlwaysQuotes() - Method in class org.gbif.utils.file.csv.CSVReaderTest
 
testCsvAlwaysQuotes() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
Test a CSV with all cells quoted.
testCsvJsonEscapedQuotes() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Test extracting a CSV file containing embedded JSON, which itself contains escaped quotes.
testCsvJsonEscapedQuotes() - Method in class org.gbif.utils.file.csv.CSVReaderTest
Test extracting a CSV file containing embedded JSON, which itself contains escaped quotes.
testCsvJsonEscapedQuotes() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
Test extracting a CSV file containing embedded JSON, which itself contains escaped quotes.
testCsvMultiline() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
Test a CSV file that includes a newline character (\n) inside a properly quoted cell.
testCsvOptionalQuotes() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Testing CSV with optional quotes
testCsvOptionalQuotes() - Method in class org.gbif.utils.file.csv.CSVReaderTest
csv file with optional quotes generated by excel.
testCsvOptionalQuotes() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
 
testCsvQuoted() - Method in class org.gbif.dwc.io.StrTokenizerTest
 
testCsvQuotedDelimiter() - Method in class org.gbif.utils.file.csv.CSVReaderTest
 
testCsvUnquoted() - Method in class org.gbif.dwc.io.StrTokenizerTest
 
testCsvWithComment() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
 
testDecodeUtf8Garbage() - Method in class org.gbif.utils.text.StringUtilsTest
 
testDecompress() - Method in class org.gbif.utils.file.CompressionUtilTest
 
testDecompressZippedFolderWithNoSubdirectories() - Method in class org.gbif.utils.file.CompressionUtilTest
 
testDecompressZippedFolderWithNoSubdirectoriesx() - Method in class org.gbif.utils.file.CompressionUtilTest
Check we can unpack ZIP64 archives.
testDefaultValue() - Method in class org.gbif.dwc.record.RecordImplTest
 
testDefaultValues() - Method in class org.gbif.dwc.ArchiveFileTest
 
testDeleteRecursive() - Method in class org.gbif.utils.file.FileUtilsTest
tests deleting directory recursively.
testDeleteWhitespace() - Method in class org.gbif.utils.text.StringUtilsTest
 
testDeprecated() - Method in class org.gbif.dwc.terms.GbifTermTest
 
testDetermineRecordIdentifier() - Method in class org.gbif.dwc.InternalDwcFileFactoryTest
 
testDetermineRowType() - Method in class org.gbif.dwc.InternalDwcFileFactoryTest
 
testDictionaryUrl() - Method in class org.gbif.utils.rs.RsGbifOrgTest
 
testDiscoverMetadataFile() - Method in class org.gbif.dwc.meta.DwcMetaFilesTest
 
testDoubleApproximation() - Method in class org.gbif.utils.number.DoubleVsBigDecimal
Demonstrates the effect of Double approximations on equality.
testDwcRecordIterator() - Method in class org.gbif.dwc.DwcFilesTest
 
testEmailPatterns() - Method in class org.gbif.utils.text.EmailUtilsTest
 
testEmptyArchiveFile() - Method in class org.gbif.dwc.ArchiveFileTest
 
testEmptyProperties() - Method in class org.gbif.utils.file.PropertiesUtilTest
 
testEncodingDetection() - Method in class org.gbif.utils.file.CharsetDetectionTest
 
testEncodingDetectionKyles() - Method in class org.gbif.utils.file.CharsetDetectionTest
 
testEquals() - Method in class org.gbif.dwc.terms.UnknownTermTest
 
testEqualsCompareToContract() - Method in class org.gbif.utils.text.LineComparatorTest
Test for respecting equals and compareTo to ensure comparator respects java contracts.
testEscapedQuotes() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
Ensure if we can escape a quote character with a backslash
testExceptionNoPrefix() - Method in class org.gbif.utils.file.PropertiesUtilTest
 
testExceptionNoProperties() - Method in class org.gbif.utils.file.PropertiesUtilTest
 
testExtensionFactory() - Method in class org.gbif.dwc.extensions.ExtensionFactoryTest
 
testExtensionNPE() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
The pensoft archive http://pensoft.net/dwc/bdj/checklist_980.zip contains empty extension files which caused NPE in the dwca reader.
testExtractTabularMetadata() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
testFallbackToDefaultsArchives() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Basic validation of archives, where we rely on falling back to defaults from the DWC-A metadata schema.
testFilesClosedCorrectly() - Method in class org.gbif.utils.file.CompressionUtilTest
Check that files are closed after use.
testFileSorting() - Method in class org.gbif.utils.text.ComparatorPerformance
Comparing performance for various file soring methods.
TestFileUtils - Class in org.gbif.utils.file
Testing the data layout
TestFileUtils() - Constructor for class org.gbif.utils.file.TestFileUtils
 
testFilterProperties() - Method in class org.gbif.utils.file.PropertiesUtilTest
 
testFindPrefixedTerms() - Method in class org.gbif.dwc.terms.TermBaseTest
 
testFindQualifiedTerm() - Method in class org.gbif.dwc.terms.TermBaseTest
 
testFindSimpleTerm() - Method in class org.gbif.dwc.terms.TermBaseTest
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.
testFindTerm() - Method in class org.gbif.dwc.terms.TermFactoryTest
 
testFindTermWithDcPrefix() - Method in class org.gbif.dwc.terms.DcElementTest
There are 15 terms in DcElement that share the same name with DcTerm elements.
testFindTermWithDctermsPrefix() - Method in class org.gbif.dwc.terms.DcTermTest
There are 15 terms in DcElement that share the same name with DcTerm elements.
testFindTermWithDctPrefix() - Method in class org.gbif.dwc.terms.DcTermTest
There are 15 terms in DcElement that share the same name with DcTerm elements.
testFindTermWithNoNamespaceAndNoPrefix() - Method in class org.gbif.dwc.terms.DcTermTest
There are 15 terms in DcElement that share the same name with DcTerm elements.
testFindTermWithValidNamespace() - Method in class org.gbif.dwc.terms.DcElementTest
A lookup for "http://purl.org/dc/elements/1.1/rights" shouldn't return "http://purl.org/dc/terms/rights"
testFindTermWithValidNamespace() - Method in class org.gbif.dwc.terms.DcTermTest
A lookup for "http://purl.org/dc/terms/rights" shouldn't return "http://purl.org/dc/elements/1.1/rights".
testFoldToAscii() - Method in class org.gbif.utils.text.StringUtilsTest
 
testFromCompressedTarGzip() - Method in class org.gbif.dwc.InternalDwcFileFactoryTest
 
testFromCompressedZip() - Method in class org.gbif.dwc.InternalDwcFileFactoryTest
 
testFromDouble() - Method in class org.gbif.utils.number.BigDecimalUtilsTest
 
testGetDelimiterWithHighestCount() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
testGetFullScientificName() - Method in class org.gbif.dwc.record.RecordImplTest
 
testGetHeader() - Method in class org.gbif.dwc.ArchiveFileTest
 
testGetQuoteCharWithHighestCount() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
testGetValueOfFirst() - Method in class org.gbif.dwc.terms.TermsTest
 
testGnubTab() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Test GNUB style dwca with a single tab delimited file that has a .tab suffix.
testGnubTabZip() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Test GNUB style dwca with a single tab delimited file that has a .tab suffix.
testGroupCoverage() - Method in class org.gbif.dwc.terms.DwcTermTest
 
testGroupCoverage() - Method in class org.gbif.dwc.terms.GbifTermTest
 
testGunzipNoTar() - Method in class org.gbif.utils.file.CompressionUtilTest
 
testGunzipWithTar() - Method in class org.gbif.utils.file.CompressionUtilTest
 
testHeaderRows() - Method in class org.gbif.utils.file.csv.CSVReaderTest
tests the csv reader with different number of header rows on the same file and compares the 4th line in the text file for each of them
testHeaderRows2() - Method in class org.gbif.utils.file.csv.CSVReaderTest
Test if skip header rows is working with larger settings.
testHeaders1() - Method in class org.gbif.dwc.DwcaWriterTest
 
testHeaders2() - Method in class org.gbif.dwc.DwcaWriterTest
 
testHeaders3() - Method in class org.gbif.dwc.DwcaWriterTest
 
testHeaderWriting() - Method in class org.gbif.dwc.DwcaWriterTest
 
testIdWithTermAssociated() - Method in class org.gbif.dwc.ArchiveFileTest
 
testIgnoreEmptyLines() - Method in class org.gbif.utils.file.csv.CSVReaderTest
 
testIgnoreEmptyLines() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
 
testIncrease() - Method in class org.gbif.utils.text.StringUtilsTest
 
testInvalidArchives() - Method in class org.gbif.dwc.DwcFilesTest
Basic validation of archives, that the declared files exist and have basic, valid structure.
testInvalidArchives() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Basic validation of archives, that the declared files exist and have basic, valid structure.
testIsClass() - Method in class org.gbif.dwc.terms.DwcTermTest
 
testIsClass() - Method in class org.gbif.dwc.terms.GbifTermTest
 
testIsClass() - Method in class org.gbif.dwc.terms.MixsTermTest
 
testIsFieldDeprecated() - Method in class org.gbif.utils.AnnotationUtilsTest
 
testIssue2158() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Test IPT bug 2158
testIssue78() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Identifier not set properly when reading single csv file the csv file attached is a utf16 little endian encoded file.
testIsTermValueBlank() - Method in class org.gbif.dwc.terms.TermsTest
 
testIterator() - Method in class org.gbif.dwc.ArchiveFileTest
 
testIterator() - Method in class org.gbif.dwc.StarIteratorTest
 
testIteratorDwc() - Method in class org.gbif.dwc.ArchiveTest
Check we can handle the simplest of archives.
testKnownTermUniqueness() - Method in class org.gbif.dwc.terms.TermFactoryTest
GBIF code assumes a term coming from any of the Term enumerations mostly have unique simple names.
testLineComparatorCSV() - Method in class org.gbif.utils.text.LineComparatorTest
 
testLineComparatorPipe() - Method in class org.gbif.utils.text.LineComparatorTest
 
testLineComparatorTab() - Method in class org.gbif.utils.text.LineComparatorTest
 
testList() - Method in class org.gbif.utils.file.ResourcesUtilTest
 
testListByGroup() - Method in class org.gbif.dwc.terms.DwcTermTest
Test each group contains the expected number of terms, and contains no duplicates.
testListByGroup() - Method in class org.gbif.dwc.terms.GbifTermTest
Test each group contains the expected number of terms, and contains no duplicates.
testMap() - Method in class org.gbif.utils.collection.MapUtilsTest
 
testMap2() - Method in class org.gbif.utils.collection.MapUtilsTest
 
testMergeEmptyFiles() - Method in class org.gbif.utils.file.FileUtilsTest
 
testMergeSortedFiles() - Method in class org.gbif.utils.file.FileUtilsTest
 
testMergeSortedFilesSpeed() - Method in class org.gbif.utils.file.FileUtilsTest
 
testMetaDescriptorReading() - Method in class org.gbif.dwc.MetaDescriptorTest
Test the reading of a static meta.xml file.
testMetaHandlerUtf16le() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
 
testMixsTerm() - Method in class org.gbif.dwc.terms.MixsTermTest
 
testMultifile() - Method in class org.gbif.dwc.ArchiveTest
Check we can handle an archive file with multiple |SV files in the core and extension.
testMultifileMultilineHeader() - Method in class org.gbif.dwc.ArchiveTest
Check we can handle an archive file with multiple files each with multiple header lines
testMultiFileSort() - Method in class org.gbif.utils.file.FileUtilsTest
Test sorting multiple fils into a single file.
testMultiFileSort2ndColumn() - Method in class org.gbif.utils.file.FileUtilsTest
Test sorting multiple files into a single file.
testMultilineHeader() - Method in class org.gbif.dwc.ArchiveTest
Check we can handle an archive file with multiple header lines
testMultithreadStart() - Method in class org.gbif.dwc.terms.TermFactoryTest
Not a real test, just a way of running many concurrent TermFactory.instance() calls to verify thread safety.
testNames() - Method in class org.gbif.dwc.terms.DcElementTest
 
testNames() - Method in class org.gbif.dwc.terms.DcTermTest
 
testNames() - Method in class org.gbif.dwc.terms.TermBaseTest
 
testNamespace() - Method in class org.gbif.dwc.terms.UnknownTermTest
 
testNonExistingFileFromCompressed() - Method in class org.gbif.dwc.InternalDwcFileFactoryTest
 
testNonExistingFileFromLocation() - Method in class org.gbif.dwc.InternalDwcFileFactoryTest
 
testNormalizeAndSort() - Method in class org.gbif.dwc.DwcFilesTest
 
testNormalizeIfRequired() - Method in class org.gbif.dwc.DwcFilesTest
 
testNullCoreID() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Ensure that extensions are just skipped for archives that do not have the core id in the mapped extension.
testNumberOfGroups() - Method in class org.gbif.dwc.terms.DwcTermTest
 
testNumberOfGroups() - Method in class org.gbif.dwc.terms.GbifTermTest
 
testOcc() - Method in class org.gbif.dwc.terms.jackson.TermDeserializerTest
 
testOneTenthAdditions() - Method in class org.gbif.utils.number.DoubleVsBigDecimal
Demonstrates that the sum of 1/10 (10 times) is not exactly equals to 1d using double.
testOpenArchive() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
 
testOpenArchiveForEventCore() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Test opening a single data file with both eventID column, meaning it has dwc:Event rowType.
testOpenArchiveForGenericCore() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Test opening a single data file with a generic ID column and an eventID column meaning the Archive's ID-term gets set to (DwcTerm.eventID and its rowType gets set to DwcTerm.Event.
testOpenSmallArchiveWithEmptyLines() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
 
testParallelOpening() - Method in class org.gbif.dwc.ParallelOpeningTest
Check we don't get a race condition when opening an archive which needs sorting.
testPipes() - Method in class org.gbif.dwc.io.StrTokenizerTest
 
testPrefixedName() - Method in class org.gbif.dwc.terms.UnknownTermTest
 
testQualifiedName() - Method in class org.gbif.dwc.terms.UnknownTermTest
 
testQuotedHeaders() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Test bug 77.
testRandomString() - Method in class org.gbif.utils.text.StringUtilsTest
 
testRemoveProperties() - Method in class org.gbif.utils.file.PropertiesUtilTest
 
testReplaceNull() - Method in class org.gbif.dwc.record.RecordImplTest
Test record implementations value method and make sure literal nulls are replaced if requested.
testRoundingUsingFormat() - Method in class org.gbif.utils.number.DoubleVsBigDecimal
Demonstrates the possible issue with the default rounding mode of NumberFormat (RoundingMode.HALF_EVEN).
testRoundtrip() - Method in class org.gbif.dwc.DwcaWriterTest
 
testRoundtrip() - Method in class org.gbif.dwc.MetaDescriptorTest
 
testRoundtripQuotes() - Method in class org.gbif.dwc.MetaDescriptorTest
 
testRowTypeEquivalence() - Method in class org.gbif.dwc.ArchiveFileTest
 
testSaxParser() - Method in class org.gbif.utils.file.BomSafeInputStreamWrapperTest
The Java SAX Parser is known to have problems with UTF8 file that contain a proper BOM markup: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4508058 https://de.wikipedia.org/wiki/Byte_Order_Mark Make sure the SAX Parser can handle any valid UTF files by using a BomSafeInputStreamWrapper stream.
testSet() - Method in class org.gbif.dwc.terms.UnknownTermTest
 
testSimpleDWCA() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Test reading a single-file Simple Darwin Core Archive.
testSimpleName() - Method in class org.gbif.dwc.terms.UnknownTermTest
 
testSingleLineWithSeparatorAsValue() - Method in class org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
 
testSort() - Method in class org.gbif.utils.file.FileUtilsTest
Test using GNU sort (if available on this platform).
testSortingHeaderlessFile() - Method in class org.gbif.utils.file.FileUtilsTest
 
testSortingMac() - Method in class org.gbif.utils.file.FileUtilsTest
tests sorting mac line endings \r which don't work with unix sort
testSortingUnevenLengths() - Method in class org.gbif.utils.file.FileUtilsTest
Tests sorting by a column with uneven length strings as the sort column.
testSortingUnicodeFile() - Method in class org.gbif.utils.file.FileUtilsTest
Sorting strings containing characters which are surrogate pairs, meaning Unicode characters beyond U+FFFF, will give different results between GNU Sort and a Java String comparator.
testSortingUnix() - Method in class org.gbif.utils.file.FileUtilsTest
tests sorting unix line endings \n which work with unix sort
testSortingWindows() - Method in class org.gbif.utils.file.FileUtilsTest
tests sorting windows line endings \r\n which work with unix sort
testSortingWithHeaders() - Method in class org.gbif.utils.file.FileUtilsTest
 
testSortingWithNonFirstIdColumn() - Method in class org.gbif.utils.file.FileUtilsTest
 
testSortingWithQuotedDelimiters() - Method in class org.gbif.utils.file.FileUtilsTest
If only columns containing delimiters are quoted in CSV, we can't use GNU sort.
testSortInJava() - Method in class org.gbif.utils.file.FileUtilsTest
Test that ensures the chunk file is deleted at the end of sortInJava method.
testSourceRepo() - Method in class org.gbif.utils.file.TestFileUtils
 
testStarIteratorExtRecords() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
Test extension sorting verifying that all core records do have the right number of extension records attached when using the star record iterator.
testStarRecordIterator() - Method in class org.gbif.dwc.DwcFilesTest
 
testSubsetProperties() - Method in class org.gbif.utils.file.PropertiesUtilTest
 
testSynonymUrl() - Method in class org.gbif.utils.rs.RsGbifOrgTest
 
testTab() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
 
testTab() - Method in class org.gbif.utils.file.csv.CSVReaderTest
Testing classic non quoted tab files with escaped \t tabs.
testTab() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
Testing classic non quoted tab files with escaped \t tabs.
testTabEol() - Method in class org.gbif.dwca.io.ArchiveFactoryTest
 
testTabQuoted() - Method in class org.gbif.dwc.io.StrTokenizerTest
 
testTabularFileNormalizer() - Method in class org.gbif.utils.file.tabular.TabularFileNormalizerTest
 
testTabUnquoted() - Method in class org.gbif.dwc.io.StrTokenizerTest
 
testTerm() - Method in class org.gbif.dwc.terms.GbifTermTest
 
testTermEquality() - Method in class org.gbif.dwc.terms.DcElementTest
Test that iterates over all DcElement values and uses the qualified name alone as input to the factory and then verifies the Term returned is the same as the original one.
testTermEquality() - Method in class org.gbif.dwc.terms.DcTermTest
Test that iterates over all DcTerm 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.
testTermMap() - Method in class org.gbif.dwc.terms.jackson.TermDeserializerTest
 
testTermSerde() - Method in class org.gbif.dwc.terms.jackson.TermDeserializerTest
 
testThenJoin() - Method in class org.gbif.utils.text.StringUtilsTest
 
testTrim() - Method in class org.gbif.utils.text.StringUtilsTest
 
testTsvBackslashes() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
TSV cannot encode tabs or newlines, so there is no escape character.
testUnableToDecompress() - Method in class org.gbif.utils.file.CompressionUtilTest
 
testUnzipFolderDoNotKeepSubdirectoriesOrHiddenFiles() - Method in class org.gbif.utils.file.CompressionUtilTest
Test unzipping a folder, while NOT preserving subdirectories.
testUnzipFolderKeepSubdirectoriesButNoHiddenDirectories() - Method in class org.gbif.utils.file.CompressionUtilTest
Test unzipping a folder, while preserving subdirectories, but making sure the .svn directories and their subfiles and subdirectories are not extracted.
testUnzipFolderKeepSubdirectoriesButNoHiddenFile() - Method in class org.gbif.utils.file.CompressionUtilTest
Test unzipping a folder, while preserving subdirectories.
testUrl() - Method in class org.gbif.utils.rs.RsGbifOrgTest
 
testUsageExample() - Method in class org.gbif.dwc.UsageExampleTest
 
testUTF16Stream() - Method in class org.gbif.utils.file.BomSafeInputStreamWrapperTest
 
testVariousComparators() - Method in class org.gbif.utils.text.ComparatorPerformance
 
testWriteMetadata() - Method in class org.gbif.dwc.DwcaWriterTest
 
testWriterUsingCoreIdTerm() - Method in class org.gbif.dwc.DwcaWriterTest
 
testWriterUsingDefaultValues() - Method in class org.gbif.dwc.DwcaWriterTest
Test the writing of an archive that includes some default values in the core and in one extension.
testWrongEscapedQuotes1() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
 
testWrongEscapedQuotes2() - Method in class org.gbif.utils.file.tabular.TabularDataFileReaderTest
 
testXml() - Method in class org.gbif.dwc.MetaDescriptorTest
 
testZipFolder() - Method in class org.gbif.utils.file.CompressionUtilTest
 

U

UnknownTermTest - Class in org.gbif.dwc.terms
 
UnknownTermTest() - Constructor for class org.gbif.dwc.terms.UnknownTermTest
 
UsageExampleTest - Class in org.gbif.dwc
 
UsageExampleTest() - Constructor for class org.gbif.dwc.UsageExampleTest
 

V

VocabularyConceptTest - Class in org.gbif.dwc.extensions
Unit tests related to VocabularyConcept
VocabularyConceptTest() - Constructor for class org.gbif.dwc.extensions.VocabularyConceptTest
 

W

Wgs84GeoPositioningTermTest - Class in org.gbif.dwc.terms
 
Wgs84GeoPositioningTermTest() - Constructor for class org.gbif.dwc.terms.Wgs84GeoPositioningTermTest
 
write() - Method in class org.gbif.dwc.DwcaStreamWriterTest
 
writeEmpty() - Method in class org.gbif.dwc.DwcaStreamWriterTest
 

X

XmpRightsTermTest - Class in org.gbif.dwc.terms
 
XmpRightsTermTest() - Constructor for class org.gbif.dwc.terms.XmpRightsTermTest
 
XmpTermTest - Class in org.gbif.dwc.terms
 
XmpTermTest() - Constructor for class org.gbif.dwc.terms.XmpTermTest
 
A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages