-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.txt
76 lines (65 loc) · 2.13 KB
/
output.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
===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
44 Bowery at Midnight 1942 Not checked out
4 Make Mine Mink 1960 Not checked out
3 Love Kills 1991 Not checked out
5 At Close Range 1986 Not checked out
2 Dead-Bang 1989 Not checked out
1 Diner 1982 Not checked out
===checkoutMovie() method test===
Movie 1 has been checked out by User 1
Movie 5 has been checked out by User 1
Movie 4 has been checked out by User 3
===showAllMovie() method test===
Movie id - Movie name - Year - Status
44 Bowery at Midnight 1942 Not checked out
3 Love Kills 1991 Not checked out
2 Dead-Bang 1989 Not checked out
4 Make Mine Mink 1960 Checked out by User 3
5 At Close Range 1986 Checked out by User 1
1 Diner 1982 Checked out by User 1
===showMovie() method test===
4 Make Mine Mink 1960 Checked out by User 3
Movie with the id 222 does not exist
2 Dead-Bang 1989 Not checked out
===showUser() method test===
User id: 1 User name: Jamie Lannister
User 1 checked out the following Movies:
Movie id - Movie name - Year
5 At Close Range 1986
1 Diner 1982
===deleteMovie() method test===
Movie 44 has not been checked out
Movie 44 has been deleted
Movie 4 has been checked out
Movie 4 has been deleted
===showAllMovie() method test===
Movie id - Movie name - Year - Status
3 Love Kills 1991 Not checked out
2 Dead-Bang 1989 Not checked out
5 At Close Range 1986 Checked out by User 1
1 Diner 1982 Checked out by User 1
===returnMovie() method test===
Movie 1 has been returned
Movie 100 not exist in the library
Movie 2 has not been checked out
===showAllMovie() method test===
Movie id - Movie name - Year - Status
1 Diner 1982 Not checked out
3 Love Kills 1991 Not checked out
2 Dead-Bang 1989 Not checked out
5 At Close Range 1986 Checked out by User 1