Skip to content

Commit 5b64337

Browse files
committed
✅ Mise à jour tests : EmploiDuTempsProxyTest
1 parent b9b1498 commit 5b64337

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

src/test/java/edt/umontp/fr/EmploiDuTempsProxyTest.java

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,17 @@ private long rapiditeGetPlanningOfDate() {
4444
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(7));
4545
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(8));
4646
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(9));
47-
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(10));
47+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(10)); emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(1));
48+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(11)); emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(1));
49+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(12));
50+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(13));
51+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(14));
52+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(15));
53+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(16));
54+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(17));
55+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(18));
56+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(19));
57+
4858
return System.currentTimeMillis() - startTime;
4959
}
5060

@@ -60,6 +70,10 @@ void test_getPlanningOf_Groupe_plusRapide() {
6070

6171
private long rapiditeGetPlanningOfGroupe() {
6272
long startTime = System.currentTimeMillis();
73+
emploiDuTempsProxy.getPlanningOf(Groupe.S1);
74+
emploiDuTempsProxy.getPlanningOf(Groupe.S2);
75+
emploiDuTempsProxy.getPlanningOf(Groupe.S3);
76+
emploiDuTempsProxy.getPlanningOf(Groupe.S4);
6377
emploiDuTempsProxy.getPlanningOf(Groupe.A1);
6478
emploiDuTempsProxy.getPlanningOf(Groupe.Q1);
6579
emploiDuTempsProxy.getPlanningOf(Groupe.Q2);
@@ -95,6 +109,15 @@ private long rapiditeGetPlanningOfDateGroupe() {
95109
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(8), Groupe.G3);
96110
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(9), Groupe.G4);
97111
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(10), Groupe.A2);
112+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(11), Groupe.A1);
113+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(12), Groupe.Q1);
114+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(13), Groupe.Q2);
115+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(14), Groupe.Q3);
116+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(15), Groupe.Q4);
117+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(16), Groupe.G1);
118+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(17), Groupe.G2);
119+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(18), Groupe.G3);
120+
emploiDuTempsProxy.getPlanningOf(LocalDate.now().plusDays(19), Groupe.G4);
98121
return System.currentTimeMillis() - startTime;
99122
}
100123

0 commit comments

Comments
 (0)