Subversion Repositories eFlore/Applications.del

Rev

Rev 838 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 838 Rev 882
Line 24... Line 24...
24
		voteDetermination.setDate(new Date());
24
		voteDetermination.setDate(new Date());
25
		voteDetermination.setContributeur("benjamin");
25
		voteDetermination.setContributeur("benjamin");
Line 26... Line 26...
26
 
26
 
27
		PropositionDetermination propositionDetermination = new PropositionDetermination(new Observation());
27
		PropositionDetermination propositionDetermination = new PropositionDetermination(new Observation());
28
		propositionDetermination.setEspece("Iris lutescens subsp. lutescens");
28
		propositionDetermination.setEspece("Iris lutescens subsp. lutescens");
29
		propositionDetermination.setContributeur(new Contributeur("contrib", "test", "contrib@test.com"));
29
		propositionDetermination.setContributeur(new Contributeur("1", "contrib", "test", "contrib@test.com"));
30
		propositionDetermination.setId("1");
30
		propositionDetermination.setId("1");
Line 31... Line 31...
31
		propositionDetermination.ajouterVoteDetermination(voteDetermination);
31
		propositionDetermination.ajouterVoteDetermination(voteDetermination);
32
 
32
 
Line 65... Line 65...
65
		voteDetermination4.setDate(new Date());
65
		voteDetermination4.setDate(new Date());
66
		voteDetermination4.setContributeur("benjamin");
66
		voteDetermination4.setContributeur("benjamin");
Line 67... Line 67...
67
 
67
 
68
		PropositionDetermination propositionDetermination = new PropositionDetermination(new Observation());
68
		PropositionDetermination propositionDetermination = new PropositionDetermination(new Observation());
69
		propositionDetermination.setEspece("Iris lutescens subsp. lutescens");
69
		propositionDetermination.setEspece("Iris lutescens subsp. lutescens");
70
		propositionDetermination.setContributeur(new Contributeur("contrib", "test", "contrib@test.com"));
70
		propositionDetermination.setContributeur(new Contributeur("1", "contrib", "test", "contrib@test.com"));
71
		propositionDetermination.setId("1");
71
		propositionDetermination.setId("1");
72
		propositionDetermination.ajouterVoteDetermination(voteDetermination1);
72
		propositionDetermination.ajouterVoteDetermination(voteDetermination1);
73
		propositionDetermination.ajouterVoteDetermination(voteDetermination2);
73
		propositionDetermination.ajouterVoteDetermination(voteDetermination2);
74
		propositionDetermination.ajouterVoteDetermination(voteDetermination3);
74
		propositionDetermination.ajouterVoteDetermination(voteDetermination3);
Line 75... Line 75...
75
		propositionDetermination.ajouterVoteDetermination(voteDetermination4);
75
		propositionDetermination.ajouterVoteDetermination(voteDetermination4);
76
		
76
		
77
		PropositionDetermination propositionDetermination2 = new PropositionDetermination(new Observation());
77
		PropositionDetermination propositionDetermination2 = new PropositionDetermination(new Observation());
78
		propositionDetermination2.setEspece("Iris urticans");
78
		propositionDetermination2.setEspece("Iris urticans");
79
		propositionDetermination2.setContributeur(new Contributeur("contrib", "test", "contrib@test.com"));
79
		propositionDetermination2.setContributeur(new Contributeur("1", "contrib", "test", "contrib@test.com"));
80
		propositionDetermination2.setId("2");
80
		propositionDetermination2.setId("2");
81
		propositionDetermination2.ajouterVoteDetermination(voteDetermination1);
81
		propositionDetermination2.ajouterVoteDetermination(voteDetermination1);
82
		propositionDetermination2.ajouterVoteDetermination(voteDetermination2);
82
		propositionDetermination2.ajouterVoteDetermination(voteDetermination2);