Search in sources :

Example 81 with StudyImpl

use of org.eol.globi.domain.StudyImpl in project eol-globi-data by jhpoelen.

the class LinkerDOITest method shouldResolveStudyHttps.

@Test
public void shouldResolveStudyHttps() {
    StudyImpl study = new StudyImpl("some title", "some source", "", "http://example.com");
    assertFalse(LinkerDOI.shouldResolve(study));
}
Also used : StudyImpl(org.eol.globi.domain.StudyImpl) Test(org.junit.Test)

Example 82 with StudyImpl

use of org.eol.globi.domain.StudyImpl in project eol-globi-data by jhpoelen.

the class LinkerDOITest method shouldResolveStudyEmptyCitation.

@Test
public void shouldResolveStudyEmptyCitation() {
    StudyImpl study = new StudyImpl("some title", "some source", "", "");
    assertFalse(LinkerDOI.shouldResolve(study));
}
Also used : StudyImpl(org.eol.globi.domain.StudyImpl) Test(org.junit.Test)

Aggregations

StudyImpl (org.eol.globi.domain.StudyImpl)82 Study (org.eol.globi.domain.Study)60 Test (org.junit.Test)40 Specimen (org.eol.globi.domain.Specimen)33 TaxonImpl (org.eol.globi.domain.TaxonImpl)33 IOException (java.io.IOException)20 LabeledCSVParser (com.Ostermiller.util.LabeledCSVParser)17 Location (org.eol.globi.domain.Location)15 StringWriter (java.io.StringWriter)12 LocationImpl (org.eol.globi.domain.LocationImpl)12 Date (java.util.Date)9 HashMap (java.util.HashMap)9 Taxon (org.eol.globi.domain.Taxon)9 StudyNode (org.eol.globi.domain.StudyNode)7 Node (org.neo4j.graphdb.Node)7 File (java.io.File)6 TermImpl (org.eol.globi.domain.TermImpl)6 DatasetImpl (org.eol.globi.service.DatasetImpl)6 InteractType (org.eol.globi.domain.InteractType)5 NonResolvingTaxonIndex (org.eol.globi.taxon.NonResolvingTaxonIndex)5