-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
121 lines (90 loc) · 3.63 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
// TODOs AND FIXMEs
// FIXME: it can't be possible to create or attend an event with a past date
// FIXME: it can't be possible to be refunded if the event has already happened
// FIXME: it can't be possible to be refunded if the user is the creator of the event
// TODO: put some .sleep() in some methods to simulate the time passing
// TODO: remove some println (i.e. change the payment method from paypal to credit card)
// TODO: check all the strings/attributes -> decide (if it is the case) if they must be null or empty strings
// TODO: make the pay() and refund() methods more articulated and different from each other
// TODO: decide if it's opportune to test the DAO classes' methods
// TODO: implement the tests
// TODO: general check of the code and general refactor
// TODO: write the README.md description section
// TODO: update the RendezVous_EliaInnocenti.pdf file
------------------------------------------------------------------------------------------------------------------------
Tests list:
BUSINESS LOGIC
LoginControllerTest:
- TST#0X: loginTest() // <---------------------> # 01
- TST#0X: registerTest() // <------------------> # 02
- TST#0X: adminLoginTest() // <----------------> # 03
UserEventPageControllerTest:
- TST#0X: viewEventsTest()
- TST#0X: searchAnEventTest()
- TST#0X: attendAnEventTest() // <-------------> # 04
- TST#0X: viewAttendedEventsTest()
- TST#0X: removeParticipationTest() // <-------> # 05
UserEventManagementControllerTest:
- TST#0X: createEventTest() // <---------------> # 06
- TST#0X: viewCreatedEventsTest()
- TST#0X: viewCreatedEventsAttendeesTest()
- TST#0X: updateAnEventDescriptionTest()
- TST#0X: requestToChangeAnEventAttributesTest()
- TST#0X: requestToCancelAnEventTest() // <----> # 07
UserProfileControllerTest:
- TST#0X: viewProfileTest()
- TST#0X: updateNameTest()
- TST#0X: updateSurnameTest()
- TST#0X: updateAgeTest()
- TST#0X: updateUsernameTest()
- TST#0X: updateEmailTest()
- TST#0X: updatePasswordTest()
- TST#0X: setPaymentMethodTest() // <----------> # 08
- TST#0X: updateCreditCardTest()
- TST#0X: updatePaypalTest()
- TST#0X: removePaymentMethodTest() // <-------> # 09
AdminUserControllerTest:
- TST#0X: viewUsersTest()
- TST#0X: searchUserTest()
- TST#0X: addUserTest()
- TST#0X: removeUserTest() // <----------------> # 10
AdminEventControllerTest:
- TST#0X: seeRequestsTest()
- TST#0X: removeRequestTest()
- TST#0X: removeAllRequestsTest()
- TST#0X: viewEventsTest()
- TST#0X: addEventTest()
- TST#0X: editEventTest()
- TST#0X: removeEventTest() // <---------------> # 11
- TST#0X: viewParticipationsTest()
AdminExtraControllerTest:
- TST#0X: resetPasswordTest()
- TST#0X: resetDatabaseTest() // <-------------> # 12
- TST#0X: generateDefaultDatabaseTest()
DOMAIN MODEL
CreditCardTest:
- TST#0X: payTest() // <-----------------------> # 13 (1)
- TST#0X: refundTest() // <--------------------> # 14 (1)
- TST#0X: getPaymentMethodTest()
- TST#0X: getPaymentDataTest()
PayPalTest:
- TST#0X: payTest() // <-----------------------> # 13 (2)
- TST#0X: refundTest() // <--------------------> # 14 (2)
- TST#0X: getPaymentMethodTest()
- TST#0X: getPaymentDataTest()
ORM
ConnectionManagerTest:
-
UserDAOTest:
-
EventDAOTest:
-
ParticipationDAOTest:
-
CreditCardDAOTest:
-
PayPalDAOTest:
-
RequestDAOTest:
-
------------------------------------------------------------------------------------------------------------------------