Project

General

Profile

« Previous | Next » 

Revision 960711fc

Added by Andreas Müller over 3 years ago

cleanup

View differences:

cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/facade/DerivedUnitFacadeCacheStrategyTest.java
46 46
    @SuppressWarnings("unused")
47 47
	private static final Logger logger = Logger.getLogger(DerivedUnitFacadeCacheStrategyTest.class);
48 48

  
49
	DerivedUnit specimen;
50
	DerivationEvent derivationEvent;
51
	FieldUnit fieldUnit;
52
	GatheringEvent gatheringEvent;
53
	Integer absoluteElevation = 40;
54
	Integer absoluteElevationError = 2;
55
	Team collector = Team.NewInstance();
56
	String collectingMethod = "Collection Method";
57
	Double distanceToGround = 22.0;
58
	Double distanceToSurface = 50.0;
59
	ReferenceSystem referenceSystem = ReferenceSystem.WGS84();
60
	Point exactLocation = Point.NewInstance(12.3, 10.567, referenceSystem, 22);
61
	String gatheringEventDescription = "A nice gathering description";
62
	TimePeriod gatheringPeriod = TimePeriodParser.parseString("03.05.2005");
63
	String ecology = "sand dunes";
64
	String plantDescription = "flowers blue";
65

  
66
	String fieldNumber = "5678";
67
	String fieldNotes = "such a beautiful specimen";
68
	Person primaryCollector;
69

  
70
	String individualCount = "1";
71
	DefinedTerm lifeStage = DefinedTerm.NewStageInstance("A wonderful stage", "stage", "st");
72
	DefinedTerm sex = DefinedTerm.NewSexInstance("FemaleMale", "FM", "FM");
73
	LanguageString locality = LanguageString.NewInstance("Berlin-Dahlem, E side of Englerallee", Language.DEFAULT());
74
	NamedArea country = Country.GERMANY();
75

  
76
	String exsiccatum = "Greuter, Pl. Dahlem. 456";
77
	String accessionNumber = "8909756";
78
	String catalogNumber = "UU879873590";
79
	String barcode = "B12345678";
80
	TaxonName taxonName = TaxonNameFactory.NewBotanicalInstance(Rank.GENUS(), "Abies", null, null, null, null, null, null, null);
81
	String collectorsNumber = "234589913A34";
82
	Collection collection = Collection.NewInstance();
83

  
84
	PreservationMethod preservationMethod = PreservationMethod.NewInstance(null, "my prservation");
85

  
86
	DerivedUnitFacade specimenFacade;
87

  
88
	DerivedUnit collectionSpecimen;
89
	GatheringEvent existingGatheringEvent;
90
	DerivationEvent firstDerivationEvent;
91
	FieldUnit firstFieldObject;
92
	Media media1 = Media.NewInstance();
49
	private DerivedUnit specimen;
50
	private DerivationEvent derivationEvent;
51
	private FieldUnit fieldUnit;
52
	private GatheringEvent gatheringEvent;
53
	private Integer absoluteElevation = 40;
54
	private Integer absoluteElevationError = 2;
55
	private Team collector = Team.NewInstance();
56
	private String collectingMethod = "Collection Method";
57
	private Double distanceToGround = 22.0;
58
	private Double distanceToSurface = 50.0;
59
	private ReferenceSystem referenceSystem = ReferenceSystem.WGS84();
60
	private Point exactLocation = Point.NewInstance(12.3, 10.567, referenceSystem, 22);
61
	private String gatheringEventDescription = "A nice gathering description";
62
	private TimePeriod gatheringPeriod = TimePeriodParser.parseString("03.05.2005");
63
	private String ecology = "sand dunes";
64
	private String plantDescription = "flowers blue";
65

  
66
	private String fieldNumber = "5678";
67
	private String fieldNotes = "such a beautiful specimen";
68
	private Person primaryCollector;
69

  
70
	private String individualCount = "1";
71
	private DefinedTerm lifeStage = DefinedTerm.NewStageInstance("A wonderful stage", "stage", "st");
72
	private DefinedTerm sex = DefinedTerm.NewSexInstance("FemaleMale", "FM", "FM");
73
	private LanguageString locality = LanguageString.NewInstance("Berlin-Dahlem, E side of Englerallee", Language.DEFAULT());
74
	private NamedArea country = Country.GERMANY();
75

  
76
	private String exsiccatum = "Greuter, Pl. Dahlem. 456";
77
	private String accessionNumber = "8909756";
78
	private String catalogNumber = "UU879873590";
79
	private String barcode = "B12345678";
80
	private TaxonName taxonName = TaxonNameFactory.NewBotanicalInstance(Rank.GENUS(), "Abies", null, null, null, null, null, null, null);
81
	private String collectorsNumber = "234589913A34";
82
	private Collection collection = Collection.NewInstance();
83

  
84
	private PreservationMethod preservationMethod = PreservationMethod.NewInstance(null, "my prservation");
85

  
86
	private DerivedUnitFacade specimenFacade;
87

  
88
	private DerivedUnit collectionSpecimen;
89
	private GatheringEvent existingGatheringEvent;
90
	private DerivationEvent firstDerivationEvent;
91
	private FieldUnit firstFieldObject;
92
	private Media media1 = Media.NewInstance();
93 93

  
94 94
//****************************** SET UP *****************************************/
95 95

  

Also available in: Unified diff