Project

General

Profile

« Previous | Next » 

Revision bd4c6676

Added by Andreas Müller almost 3 years ago

ref #9678 implement cache strategies for field unit and derived unti within cdmlib model

View differences:

cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/facade/DerivedUnitFacadeFieldUnitCacheStrategyTest.java
40 40
/**
41 41
 * @author a.mueller
42 42
 * @since 03.06.2010
43
 *
44
 * @deprecated with #9678 a similar cache strategy (FieldUnitCacheStrategy)
45
 *      was implemented in cdmlib-model. This class may be removed in future.
43 46
 */
47
@Deprecated
44 48
public class DerivedUnitFacadeFieldUnitCacheStrategyTest extends TermTestBase {
45 49

  
46 50
    @SuppressWarnings("unused")
......
144 148
		DerivedUnit middleSpecimen = DerivedUnit.NewPreservedSpecimenInstance();
145 149
		firstFieldObject = FieldUnit.NewInstance();
146 150

  
147
		//TODO maybe we should define concrete event types here
148 151
		DerivationEvent lastDerivationEvent = DerivationEvent.NewInstance(null);
149
		DerivationEvent middleDerivationEvent = DerivationEvent.NewInstance(null);
150 152
		firstDerivationEvent = DerivationEvent.NewInstance(null);
151 153

  
152 154
		collectionSpecimen.setDerivedFrom(lastDerivationEvent);

Also available in: Unified diff