Project

General

Profile

« Previous | Next » 

Revision 398413cc

Added by Andreas Kohlbecker over 3 years ago

ref #9253 removing initstrategy from DTO service method - cleaning up

View differences:

cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/OccurrenceServiceTest.java
16 16
import static org.junit.Assert.assertTrue;
17 17

  
18 18
import java.io.FileNotFoundException;
19
import java.util.Arrays;
20 19
import java.util.Collection;
21 20
import java.util.Collections;
22 21
import java.util.List;
......
1160 1159
        assertTrue(ignoreAssignmentStatusSpecimens.contains(derivedUnit1));
1161 1160
        assertTrue(ignoreAssignmentStatusSpecimens.contains(tissue));
1162 1161

  
1163
        List<String> propertyPath = Arrays.asList(new String []{
1164
                "derivedFrom.derivatives",
1165
                "derivedFrom.originals",
1166
                "specimenTypeDesignations.*",
1167
                "specimenTypeDesignations.citation.*",
1168
                "specimenTypeDesignations.homotypicalGroup.*",
1169
                "specimenTypeDesignations.typifiedNames",
1170
                "collection.$"
1171
        });
1172 1162
        FieldUnitDTO findByAccessionNumber = occurrenceService.findByAccessionNumber("ACC_DNA",  null);
1173 1163

  
1174 1164
        assertNotNull(findByAccessionNumber);
......
1177 1167
       // assertTrue(findByAccessionNumber.get(0).get.equals(dnaSampleWithSequence));
1178 1168
    }
1179 1169

  
1170

  
1180 1171
    @Test
1181 1172
    @DataSet(loadStrategy = CleanSweepInsertLoadStrategy.class, value = "OccurrenceServiceTest-testAllKindsOfSpecimenAssociations.xml")
1182 1173
    public void testListUuidAndTitleCacheByAssociatedTaxon() {

Also available in: Unified diff