-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMyoutput.txt
78 lines (66 loc) · 1.97 KB
/
Myoutput.txt
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
===Movie Library System===
===addUser() method test===
User 1 has been added
User 2 has been added
User 3 has been added
===addMovie() method test===
Movie 1 has been added
Movie 2 has been added
Movie 5 has been added
Movie 3 has been added
Movie 4 has been added
Movie 44 has been added
Movie 44 already exists
Movie 44 already exists
===showAllMovie() method test===
Movie id - Movie name - Year - Status
1 Diner 1982 STATUS
44 Bowery at Midnight 1942 STATUS
4 Make Mine Mink 1960 STATUS
3 Love Kills 1991 STATUS
5 At Close Range 1986 STATUS
2 Dead-Bang 1989 STATUS
===checkoutMovie() method test===
Movie 1 has been added
Movie 1 has been checked out by User 1
Movie 5 has been added
Movie 5 has been checked out by User 1
Movie 4 has been added
Movie 4 has been checked out by User 3
===showAllMovie() method test===
Movie id - Movie name - Year - Status
1 Diner 1982 STATUS
44 Bowery at Midnight 1942 STATUS
4 Make Mine Mink 1960 STATUS
3 Love Kills 1991 STATUS
5 At Close Range 1986 STATUS
2 Dead-Bang 1989 STATUS
===showMovie() method test===
4 Make Mine Mink 1960 Checked out by User -usernumber-
There s no movie with that id: 222
2 Dead-Bang 1989 Checked out by User -usernumber-
===showUser() method test===
User id: 1 User name: Jamie Lannister
User 1 checked out the following Movies:
Movie id - Movie name - Year
1 Diner 1982
5 At Close Range 1986
===deleteMovie() method test===
2Movie with this id: 44 has been deleted
2Movie with this id: 4 has been deleted
===showAllMovie() method test===
Movie id - Movie name - Year - Status
1 Diner 1982 STATUS
3 Love Kills 1991 STATUS
5 At Close Range 1986 STATUS
2 Dead-Bang 1989 STATUS
===returnMovie() method test===
===showAllMovie() method test===
Movie id - Movie name - Year - Status
1 Diner 1982 STATUS
3 Love Kills 1991 STATUS
5 At Close Range 1986 STATUS
2 Dead-Bang 1989 STATUS
===deleteUser() method test===
User 1 has been deleted
User 2 has been deleted