0% found this document useful (0 votes)
27 views

SWT Lab4

for testing learning
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

SWT Lab4

for testing learning
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 72

Guideline to make and understand Unit Test Case

1. Overview
- In the template, Unit test cases are based on functions. Each sheet presents test cases for one function.
- Cover: General information of the project and Unit Test cases
- FunctionList: The list of Classes and Functions in the document.
+ To control that the number of Unit TC meets customer's requirement or the norm, user should fill value for
'Normal number of Test cases/KLOC'.

+ Click on Function link to open the related Test cases of the function.
Note: You should create new Function sheet before creating the link

- Test Report: provive the overview results of Functions Unit test: Test coverage, Test successful coverage
(Summary, for normal/abnormal/boundary cases)
Note: Should check the formula of "Sub Total" if you add more functions

2. Content
- To verify thatin Test of
number function sheet
Unit TC meets customer's requirement or not. User has to fill number LOC of tested function and fil
2.1 Combination
number of testitem
test cases/KLOC' cases.
in FunctionList sheet, which is required by customer or normal value. The number of lacked TC
test cases' item.
- If the number of Unit TC does not meet the requirement, creator should explain the reasons.
- If the number of 'Normal number test cases/KLOC' item in FunctionList sheet is not recorded, the number in 'Lack of test ca

2.2 Condition and confirmation of Test cases.


Each test case is the combination of condition and confirmation.
a. Condition:
Condition is combination
- Precondition: it is setting of precondition
condition and values
that must of inputs.
exist before execution of the test case.
Example: file A is precondition for the test case that needs to access file A.
- Values of inputs: it includes 3 types of values: normal, boundary and abnormal.
. Normal values are values of inputs used mainly and usually to ensure the function works.
. Boundary values are limited values that contain upper and lower values.
. Abnormal values are non-expected values. And normally it processes exception cases.
- For examples:
Input value belongs to 5<= input <=10.
. 6,7,8,9 are normal values.
. 5, 10 are boundary values.
. -1, 11,... are abnormal values.
b. Confirmation:
- It is combination of expected result to check output of each function.
If the results are the same with confirmation, the test case is passed, other case it is failed.
- Confirmation can include:
+ Output result of the function.
+ Output log messages in log file.
+ Output screen message...
c. Type
- Test test
of case cases
result:and result:output results comparing with the Confirmation.
the actual
- TypePoffor
test case: and
Passed It includes normal,
F for Failed boundary and abnormal test cases. User selects the type based on the type of inp
cases.
It can 'OK' or 'NG' (it depends on habit of the teams or customers)

2.3. Other items:


- Function Code: it is ID of the function and updated automatically according to FunctionList sheet.
- Function Name: it is name of the function and updated automatically according to FunctionList sheet.
- Created By: Name of creator.
- Executed By: Name of person who executes the unit test
- Lines of code: Number of Code line of the function.
- Test requirement: Brief description about requirements which are tested in this function, it is not mandatory.
UNIT TEST CASE

Project Name FPT Cinema Creator


Project Code SWT_LAB4 Reviewer/Approver
Issue Date
Document Code SWT_LAB4_Cover_v1.0
Version

Record of change
Effective Date Version Change Item *A,D,M Change description
Add all functions of FPT Cinema that need to
24/02/2024 1.0 Function list A
unit test

25/02/2024 1.1 Functions from 1 to 15 A Add results of unit test of functions from 1 to 1

27/02/2024 1.0 getAccountById M Add test case null

28/02/2024 1.0 Functions from 16 to 24 A Add results of unit test of functions from 16 to
Functions from 25 to
29/02/2024 1.0 A Add results of unit test of functions from 25 to
29
01/03/2024 1.0 loadTicket D Delete function load ticket from FunctionList

02/03/2024 1.0 Function30, Function31 A Add results of unit test of functions 30 and 31

03/03/2024 1.0 Test Report A Add results of unit test of all functions

Change testcase of those functions and new


04/03/2024 1.0 Functions from 26 to 28 M
results of unit test

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 4/


CASE

ToanHM
ToanHM
26/02/2024

Reference
FunctionList

Functions from 1 to 15

Function 10

Functions from 16 to 24

Function25, Function26, Function27, Function28, Function29

FunctionList

Function30, Function31

Functions from 1 to 31

Function26, Function27, Function28

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 5/


UNIT TEST REPORT

Project Name FPT Cinema Creator ToanHM


Project Code SWT_LAB4 Reviewer/Approver ToanHM
Document Code SWT_LAB4_Test Report_v1.0 Issue Date 26/2/2024
Notes

No Function code Passed Failed Untested N A B Total Test Cases


1 Function1 4 0 0 2 1 1 4
2 Function2 10 8 0 3 13 2 18
3 Function3 4 1 0 1 4 0 5
4 Function4 12 8 0 3 14 3 20
5 Function5 6 0 0 1 4 1 6
6 Function6 8 6 0 1 13 0 14
7 Function7 8 6 0 2 11 1 14
8 Function8 6 0 0 2 3 1 6
9 Function9 4 2 0 2 3 1 6
10 Function10 7 1 0 2 5 1 8
11 Function11 8 0 0 1 6 1 8
12 Function12 5 0 0 2 3 0 5
13 Function13 6 0 0 2 3 1 6
14 Function14 11 0 0 1 7 3 11
15 Function15 12 0 0 3 8 1 12
16 Function16 5 1 0 2 3 3 6
17 Function17 7 5 0 5 4 3 12
18 Function18 7 2 0 5 3 1 9
19 Function19 7 0 0 3 2 2 7
20 Function20 7 0 0 4 2 1 7
21 Function21 4 1 0 2 1 2 5
Sub total 148 41 0 49 113 29 189

Test coverage 100.00 %


Test successful coverage 78.31 %
Normal case 25.93 %

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 6/


Abnormal case 59.79 %
Boundary case 15.34 %

Passed Percent Test Type

15%
22% 26% N
Passed A
Failed B

Untested

78%
59%

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 7/


UNIT TEST CASE LIST
Project Name FPT Cinema
Project Code SWT_LAB4
Normal number of Test cases/KLOC 528
1. Server: Apache Tomcat or TomEE
Test Environment Setup Description 2. Database: SQL Sever
3. Web Browser: Chrome

Requirement Function
No Class Name Function Name Sheet Name
Name Code(Optional)
1 FilmDAO getFilmsById Function1 Function1
2 FilmDAO insertFilm Function2 Function2
3 FilmDAO getFilmByTitle Function3 Function3
4 FilmDAO updateFilm Function4 Function4
5 AccountDAO getAccByUsername Function5 Function5
6 AccountDAO insertAccount Function6 Function6
7 AccountDAO updateAccount Function7 Function7
8 AccountDAO getAccountById Function8 Function8
9 AccountDAO deleteAccountById Function9 Function9
10 AccountDAO updatePasswordByUsernameAndPhoneNumber Function10 Function10
11 AccountDAO checkLogin Function11 Function11
12 AccountDAO checkExisted Function12 Function12
13 RoomDAO getRoomById Function13 Function13
14 RoomDAO insertRoom Function14 Function14
15 RoomDAO updateRoom Function15 Function15
16 RoomDAO deleteRoomById Function16 Function16
17 RoomDAO listRoomAvailableByStartHour Function17 Function17
18 TicketDAO insertTicket Function18 Function18
19 TicketDAO removeTicket Function19 Function19
20 TicketDAO isRecordExist Function20 Function20
21 TicketDAO getListHistoriesByAccountId Function21 Function21

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 8/


ASE LIST

TomEE

Description Pre-Condition

Get film by ID Can connect with server


Insert film into the system Can connect with server
Get film by title Can connect with server
Update film Can connect with server
Get account by username Can connect with server
Insert account into the system Can connect with server
Update account for normal user Can connect with server
Get account by Id Can connect with server
Delete account by Id Can connect with server
Allow users to update password Can connect with server
Check login account Can connect with server
Check if a username is exist or not Can connect with server
Get room by ID Can connect with server
Insert new room Can connect with server
Update room details Can connect with server
Delete room by ID. Can connect with server
Get list rooms available by start hour Can connect with server
Insert new ticket identified by account id, seat id, ticket film id and status Can connect with server
Remove a ticket by account id, seat id and ticket film id Can connect with server
Check a ticket by accout id, seat id and ticket film id whether is recorded or Can connect with server
Get all tickets of an account bought Can connect with server

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 9/


Function Code Function1 Function Name getFilmsB
Created By ToanHM Executed By ToanHM
Lines of code 36 Lack of test cases 15.008
Test requirement
Passed Failed Untested N/A/B
4 0 0 2

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
Can connect with server

ID
10 O
-2,147,483,648 O
3,000,000,000 O
[Film{id=10, title=CHIẾM ĐOẠT, category=Tâm lý, tình "1" O
Confirm cảm,
Returnlength=100, description=Kể về người vợ của một gia
đình thượng lưu thuê cô bảo mẫu “trong mơ” để chăm sóc
con trai mình. Nhưng cô không ngờ rằng, phía sau sự trong
sáng, tinh khiết kia, cô bảo mẫu luôn che giấu âm mưu
nhằm phá hoại hạnh phúc gia đình và khiến cuộc sống của O
cô thay đổi mãi mãi., ageLimit=15, director=Thắng Vũ,
actors=Miu Lê, Lãnh Thanh, Karik, Phương Anh Đào,...,
warningText=Khuyến cáo: ., publishTime=2023-11-24,
origin=Việt Nam, imageUrl=10.jpg, [] O
Exception
image_backgroundUrl=null, status=1}]
java.lang.RuntimeException: Uncompilable code - integer
O
number too large

java.lang.RuntimeException: Uncompilable code -


incompatible types: java.lang.String cannot be converted to O
int
Log message
"Get successful!" O
"Cannot find!" O
Result Type(N : Normal, A : Abnormal, B : Boundary) N N B A
Passed/Failed P P P P
0 0 0 0
2 2 2 2
Executed Date / / / /
2 2 2 2
5 5 5 5
Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 10/


getFilmsById
ToanHM
15.008

N/A/B Total Test Cases


1 1 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 11/


1 2 3 4 5 6 7

Function Code Function2 Function Name insertFilm


Created By ToanHM Executed By ToanHM
Lines of code 25 Lack of test cases
Test requirement
Passed Failed Untested N/A/B
10 8 0 3

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06

UTCID07
Condition Precondition
Can connect with server

title
"" O
"Hella" O O O O O
"ashd@#$%ff*" O
category
"" O
"Sci-fi" O O O O O
"&Sci-fi@%" O
length
126 O O O O O
-10 O
300 O
description
"A thief who steals corporate secrets through the use of
dream-sharing technology is given the inverse task of planting O O O O O
an idea into the mind of a CEO."
"" O
"@#$szfa" O
age_limit
18 O O O O O
-10 O
19 O
director
"Christopher Nolan" O O O O O O
ooooooooooooooooooooooooooooooooooooooooooooooooooo" O
""
actor
"Leonardo DiCaprio, Joseph Gordon-Levitt" O O O O O O
ooooooooooooooooooooooooooooooooooooooooooooooooooo" O
""
warning_text
"Contains scenes of sci-fi violence and action." O O O O O O
"@#$@#%" O
""
publish_time
"2023-11-20" O O O O O O O
"202"
"AD@"
origin

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 12/


"USA" O O O O O O O
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
""
img
"img.jpg" O O O O O O O
"#$%"
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr"
img_background
"imgbackground.jpg" O O O O O O O
"$%^#"
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr"
status
0 O O O O O O O
-5
2

Confirm Return
TRUE O O O O O
FALSE O O
Exception

Log message
Error at insertFilm Conversion failed when converting date
and/or time from character string.
Error at insertFilm String or binary data would be truncated in
table 'PRJ301_SE1762_FA23.dbo.film_he176151', column O
'director'.
Error at insertFilm String or binary data would be truncated in
table 'PRJ301_SE1762_FA23.dbo.film_he176151', column O
'actor'.
Error at insertFilm String or binary data would be truncated in
table 'PRJ301_SE1762_FA23.dbo.film_he176151', column
'origin'.
Error at insertFilm String or binary data would be truncated in
table 'PRJ301_SE1762_FA23.dbo.film_he176151', column
'img'.
Error at insertFilm String or binary data would be truncated in
table 'PRJ301_SE1762_FA23.dbo.film_he176151', column
'img_background'.
Result Type(N : Normal, A : Abnormal, B : Boundary) N A A A A A B
Passed/Failed P F F P P F F
0 0 0 0 0 0 0
2 2 2 2 2 2 2
Executed Date / / / / / / /
2 2 2 2 2 2 2
6 6 6 6 6 6 6

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 13/


D D D D
F F F F
I I I I
Defect ID D D D D
0 0 0 0
0 0 0 0
1 2 3 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 14/


8 9 10 11 12 13 14 15 16 17 18

insertFilm
ToanHM
-4.8

N/A/B Total Test Cases


13 2 18
UTCID08

UTCID09

UTCID10

UTCID11

UTCID12

UTCID13

UTCID14

UTCID15

UTCID16

UTCID17

UTCID18
O O O O O O O O O O O

O O O O O O O O O O O

O O O O O O O O O O O

O O O O O O O O O O O

O O O O O O O O O O O

O O O O O O O O O O

O O O O O O O O O O

O O O O O O O O O O

O O O O O O O O O
O
O

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 15/


O O O O O O O O O
O
O

O O O O O O O O O
O
O

O O O O O O O O O
O
O

O O O O O O O O O
O
O

O O O O O O
O O O O O

O O

A N A A N A A A A A B
F P P P P P F P P F F
0 0 0 0 0 0 0 0 0 0 0
2 2 2 2 2 2 2 2 2 2 2
/ / / / / / / / / / /
2 2 2 2 2 2 2 2 2 2 2
6 6 6 6 6 6 6 6 6 6 6

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 16/


D D D D
F F F F
I I I I
D D D D
0 0 0 0
0 0 0 0
5 6 7 8

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 17/


Function Code Function3 Function Name getFilmByTitle
Created By ToanHM Executed By
Lines of code 30 Lack of test cases 10.84
Test requirement
Passed Failed Untested N/A/B Total Test
4 1 0 1 4 0 5

UTCID01

UTCID02

UTCID02

UTCID02

UTCID02
Condition Precondition
Can connect with server

title
"CHIẾM ĐOẠT" O
"@#$@#$" O
"" O
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk" O
[Film{id=10, title=CHIẾM ĐOẠT, category=Tâm lý,
123 O
tình cảm, length=100, description=Kể về người vợ của
một gia đình thượng lưu thuê cô bảo mẫu “trong mơ”
Confirm Return
để chăm sóc con trai mình. Nhưng cô không ngờ rằng,
phía sau sự trong sáng, tinh khiết kia, cô bảo mẫu
luôn che giấu âm mưu nhằm phá hoại hạnh phúc gia
[Film{id=1, title=ĐẤT RỪNG PHƯƠNG NAM O
đình và khiến cuộc sống của cô thay đổi mãi mãi.,
, category=Tâm lý, tình cảm
ageLimit=15, director=Thắng Vũ, actors=Miu Lê, Lãnh
o dõi thêm hành trình bé An đi tìm cha khắp nam kỳ lục tỉnh cùng các người bạn
Thanh, Karik, Phương Anh Đào,...,
, ageLimit=13, director=Nguyễn Quang Dũng
warningText=Khuyến cáo: ., publishTime=2023-11-24, O
Huỳnh Hạo Khang, Mai Tài Phến, Công Ninh, Hứa Vĩ Văn, Tuyền Mập, Tuấn Trần.
origin=Việt Nam, imageUrl=10.jpg,
ƯỢC PHỔ BIẾN ĐẾN NGƯỜI XEM DƯỚI 13 TUỔI VÀ CÓ NGƯỜI BẢO HỘ ĐI KÈM
image_backgroundUrl=null, status=1}]
, publishTime=2023-10-20, origin=Việt Nam, imageUrl=1.jpg
, image_backgroundUrl=datrungphuongnam2.jpg [] O O
Exception , status=0}]
Exception in thread "main"
java.lang.RuntimeException: Uncompilable code -
O
incompatible types: int cannot be converted to
java.lang.String

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N A A A A


Passed/Failed P P F P P
0 0 0 0 0
2 2 2 2 2
Executed Date / / / / /
2 2 2 2 2
6 6 7 6 6

D
F
Defect ID 0
0
9

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 18/


getFilmByTitle
ToanHM
10.84

Total Test Cases


5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 19/


Function Code Function4 Function Name updateFilm
Created By ToanHM Executed By ToanHM
Lines of code 25 Lack of test cases
Test requirement
Passed Failed Untested N/A/B
12 8 0 3

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06

UTCID07
Condition Precondition
Can connect with server

id
25 O O O O O O O
1
-10
title
"" O
"Hella" O O O O O
"ashd@#$%ff*" O
category
"" O
"Sci-fi" O O O O O
"&Sci-fi@%" O
length
56 O O O O O
-10 O
2,147,483,647 O
description
en the inverse task of planting an idea into the mind of a CEO." O O O O O
"" O
"@#$szfa" O
age_limit
18 O O O O O
-10 O
2,147,483,647 O
director
"Christopher Nolan" O O O O O O
"Leooooooooooooooooooooooooooooooooooooooooooooooooo
ooooooooooooooooooooooooooooooooooooooooooooooooooo" O
ooooooooooooooooooooooooooooooooooooooooooooooooooo ""
ooooooooooooooooooooooooooooooooooooooooooooooooooo
actor
ooooooooooooooooooooooooooooooooooooooooooooooooooo
"Leonardo DiCaprio, Joseph Gordon-Levitt"
ooooooooooooooooooooooooooooooooooooooooooooooooooo O O O O O O
ooooooooooooooooooooooooooooooooooooooooooooooooooo O
ooooooooooooooooooooooooooooooooooooooooooooooooooo ""
ooooooooooooooooooooooooooooooooooooooooooooooooooo
warning_text
ooooooooooooooooooooooooooooooooooooooooooooooooooo
"Contains scenes of sci-fi violence and action."
ooooooooooooooooooooooooooooooooooooooooooooooooooo O O O O O O
"!!!!!"
ooooooooooooooooooooo" O
""
publish_time
"2023-11-20" O O O O O O O
"2023"

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 20/


""
origin
"USA" O O O O O O O
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
""
img
"img.jpg" O O O O O O O
"#$%"
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr"
img_background
"imgbackground.jpg" O O O O O O O
"$%^#"
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr"
status
0 O O O O O O O
-5
2,147,483,647
Confirm Return
TRUE O O O O O
FALSE O O
Exception

Log message
Error at updateFilm Conversion failed when converting date
and/or time from character string.
Error at updateFilm String or binary data would be truncated in
table 'PRJ301_SE1762_FA23.dbo.film_he176151', column O
'director'.
Error at updateFilm String or binary data would be truncated in
table 'PRJ301_SE1762_FA23.dbo.film_he176151', column O
'actor'.
Error at updateFilm String or binary data would be truncated in
table 'PRJ301_SE1762_FA23.dbo.film_he176151', column
'origin'.
Error at updateFilm String or binary data would be truncated in
table 'PRJ301_SE1762_FA23.dbo.film_he176151', column 'img'.

Error at updateFilm String or binary data would be truncated in


table 'PRJ301_SE1762_FA23.dbo.film_he176151', column
'img_background'.
Result Type(N : Normal, A : Abnormal, B : Boundary) N A A A A A B
Passed/Failed P F F P P F F
0 0 0 0 0 0 0
2 2 2 2 2 2 2
Executed Date / / / / / / /
2 2 2 2 2 2 2
8 8 8 8 8 8 8

D D D D
F F F F
0 0 0 0
Defect ID
0 0 0 0
1 1 1 1
0 1 2 3

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 21/


updateFilm
ToanHM
-6.8

N/A/B Total Test Cases


14 3 20
UTCID08

UTCID09

UTCID10

UTCID11

UTCID12

UTCID13

UTCID14

UTCID15

UTCID16

UTCID17

UTCID18

UTCID19

UTCID20
O O O O O O O O O O O
O
O

O O O O O O O O O O O O O

O O O O O O O O O O O O O

O O O O O O O O O O O O O

O O O O O O O O O O O O O

O O O O O O O O O O O O O

O O O O O O O O O O O O

O O O O O O O O O O O O

O O O O O O O O O O O O

O O O O O O O O O O O
O

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 22/


O

O O O O O O O O O O O
O
O

O O O O O O O O O O O
O
O

O O O O O O O O O O O
O
O

O O O O O O O O O O O
O
O

O O O O O O O
O O O O O O

O O

A N A A N A A A A A B B A
F P P P P P F P P F F P P
0 0 0 0 0 0 0 0 0 0 0 0 0
2 2 2 2 2 2 2 2 2 2 2 2 2
/ / / / / / / / / / / / /
2 2 2 2 2 2 2 2 2 2 2 2 2
8 8 8 8 8 8 8 8 8 8 8 8 8

D D D D
F F F F
0 0 0 0
0 0 0 0
1 1 1 1
4 5 6 7

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 23/


Function Code Function5 Function Name
Created By ToanHM Executed By
Lines of code 25 Lack of test cases
Test requirement
Passed Failed Untested
6 0 0

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05
Condition Precondition
Can connect with server

username
"admin" O
"" O
"hello@@@" O
ynewyehappynewyehappynewye" O
"happynewyehappynewyehappynewyehappynewyehappynewye1" O
1234

Confirm Return
Account{account_id=1, username=admin, password=123,
first_name=Pham, last_name=Phong, email=phong@123,
phone_number=0123456789, role_id=0} O
null O O O O

Exception
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: int cannot be converted
to java.lang.String

Log message
Get account successful! O
Cannot get account! O O O O
Result Type(N : Normal, A : Abnormal, B : Boundary) N A A B A

Passed/Failed P P P P P
Executed Date 0 0 0 0 0
2 2 2 2 2
/ / / / /
2 2 2 2 2
4 4 4 4 4

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 24/


getAccByUsername
ToanHM
7.2

ted N/A/B Total Test Cases


1 4 1 6
UTCID05

P
0
2
/
2
4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 25/


Function Code Function6 Function Name insertAccount
Created By ToanHM Executed By ToanHM
Lines of code 24 Lack of test cases -1.
Test requirement
Passed Failed Untested N/A/B
8 6 0 1 13

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06

UTCID07

UTCID08
Condition Precondition
Can connect with server

username
"pp137" O O O O O
"@@!$@!%#%" O
"happynewyehappynewyehappynewyehappynewyehappynewye1" O
123 O
password
"123" O O O O O
"@@!$@!%#%" O
"hellohellohellohellohellohellohellohellohellohellohellohello1" O
1234 O
firstname
"Phạm" O O O O O
"@@!$@!%#%" O
"hellohellohellohellohellohellohellohellohellohellohellohello1" O
1234 O
fastname
"Phong" O O O O O O O
"@@!$@!%#%"
"hellohellohellohellohellohellohellohellohellohellohellohello1"
1234 O
email
"[email protected]" O O O O O O O
"@@!$@!%#%"
"hellohellohellohellohellohellohellohellohellohellohellohello1"
1234 O
phonenumber
"0987563385" O O O O O O O O
"!@$!$@!@$"
"hellohellohellohellohellohellohellohello1"

Confirm Return
TRUE O O O O
FALSE O O O
Exception
Exception in thread "main"
java.lang.RuntimeException: Uncompilable code -
incompatible types: int cannot be converted to
O
java.lang.String

Log message
Insert account successful! O O O O
Cannot insert account! O O O
Result Type(N : Normal, A : Abnormal, B : Boundary) N A A A A A A A
Passed/Failed P F P P F P F P
Executed Date 0 0 0 0 0 0 0 0
2 2 2 2 2 2 2 2
/ / / / / / / /
2 2 2 2 2 2 2 2
6 6 6 6 6 6 6 6

Defect ID D D D
F F F
0 0 0
0 0 0
1 1 2
8 9 0
nsertAccount
ToanHM
-1.328

N/A/B Total Test Cases


0 14
UTCID09

UTCID10

UTCID11

UTCID12

UTCID13

UTCID14

O O O O O O

O O O O O O

O O O O O O

O O O O
O
O

O O O O
O
O

O O O O
O
O
O O O
O O O
A A A A A A
F P F P F P
0 0 0 0 0 0
2 2 2 2 2 2
/ / / / / /
2 2 2 2 2 2
6 6 6 6 6 6

D D D
F F F
0 0 0
0 0 0
2 2 2
1 2 3
Function Code Function7 Function Name updateA
Created By ToanHM Executed By ToanHM
Lines of code 24 Lack of test cases -1.3
Test requirement
Passed Failed Untested N/A/B
8 6 0 2 11

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06

UTCID07

UTCID08
Condition Precondition
Can connect with server

id 2 O O O O O
-10 O
-2147483648 O
-3000000000 O
password
"123%#" O O O O O O
"hellohellohellohellohellohellohellohellohellohellohellohello1" O
1234 O
firstname
"Phạmm" O O O O
"@@!$@!%#%" O
"hellohellohellohellohellohellohellohellohellohellohellohello1" O
1234 O
lastname
"Phongg" O O O O O O O
"@@!$@!%#%"
"hellohellohellohellohellohellohellohellohellohellohellohello1"
1234 O
email
"[email protected]" O O O O O O O
"@@!$@!%#%"
"hellohellohellohellohellohellohellohellohellohellohellohello1"
1234 O
phonenumber
"0987563389" O O O O O O O O
"!@$!$@!@$"
"hellohellohellohellohellohellohellohello1"

Confirm Return
TRUE O O O O
FALSE O O
Exception
Exception
Exception in
in thread
thread "main"
"main" java.lang.RuntimeException:
java.lang.RuntimeException:
Uncompilable code - integer number
Uncompilable code - incompatible toocannot
types: int large be O
converted to java.lang.String O
Log message
Update account successful! O O O O
Cannot update account! O O
Result Type(N : Normal, A : Abnormal, B : Boundary) N N B A A A A A
Passed/Failed P F F P P P F P
Executed Date 0 0 0 0 0 0 0 0
Defect ID 2 2 2 2 2 2 2 2
/ / / / / / / /
D D D
2 2 2 2 2 2 2 2
F F F
6 6 6 6 6 6 6 6
0 0 0
0 0 0
2 2 2
6 7 8
updateAccount
oanHM
-1.328

N/A/B Total Test Cases


1 14
UTCID09

UTCID10

UTCID11

UTCID12

UTCID13

UTCID14

O O O O O O

O O O O O O

O O O O O O

O O O O
O
O

O O O O
O
O

O O O O
O
O

O O O
O O O

O O O
O O O
A A A A A A
F P F P F P
0 0 0 0 0 0
2 2 2 2 2 2
/ / / / / /
D D D
2 2 2 2 2 2
F F F
6 6 6 6 6 6
0 0 0
0 0 0
2 3 3
9 0 1
Function Code Function11 Function Name
Created By ToanHM Executed By
Lines of code 9 Lack of test cases
Test requirement
Passed Failed Untested
8 0 0

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05
Condition Precondition
Can connect with server

username
"admin" O
"" O
"hello@@@" O
minadminadminadminadmin" O
123 O

password
"123" O O O O O
""
"hello@@@@1231413####@!
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
123
aaaaaaaaaxxxx"

Confirm Return
TRUE O
FALSE O O O
java.lang.RuntimeException: Uncompilable code -
Exception
incompatible types: int cannot be converted to
java.lang.String O
Log message
Get account successful! O
Cannot get account! O O O
Result Type(N : Normal, A : Abnormal, B : Boundary) N A A B A

Passed/Failed P P P P P
Executed Date 0 0 0 0 0
2 2 2 2 2
/ / / / /
2 2 2 2 2
7 7 7 7 7

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 34/


checkLogin
ToanHM
-3.248

d N/A/B Total Test Cases


1 6 1 8
UTCID06

UTCID07

UTCID08

O O O

O
O
O

O O
A A A

P P P
0 0 0
2 2 2
/ / /
2 2 2
7 7 7

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 35/


Function Code Function9 Function Name deleteAccountById
Created By ToanHM Executed By ToanHM
Lines of code 100 Lack of test cases 46.8
Test requirement
Passed Failed Untested N/A/B Total Test Cas
4 2 0 2 3 1 6

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06
Condition Precondition
Can connect with server

id
49 O
-10 O
2,147,483,647 O
3,000,000,000 O
"hello@@3" O
null O

Confirm Return
T O O O
F

Exception

Exception in thread "main"


java.lang.RuntimeException: Uncompilable code -
integer number too large
O
Exception in thread "main"
java.lang.RuntimeException: Uncompilable code -
incompatible types: java.lang.String cannot be
converted to int O
Exception in thread "main"
java.lang.RuntimeException: Uncompilable code -
incompatible types: <nulltype> cannot be converted
to int O
Log message
Delete account successful! O O O
Cannot delete account!
Result Type(N : Normal, A : Abnormal, B : Boundary) N N B A A A
Passed/Failed P F F P P P
Executed Date 0 0 0 0 0 0
2 2 2 2 2 2
/ / / / / /
2 2 2 2 2 2
6 6 6 6 6 6

Defect ID
D D
F F
0 0
0 0
3 3
5 6
deleteAccountById

46.8

Total Test Cases


6
Function Code Function8 Function Name getAccountBy
Created By ToanHM Executed By ToanHM
Lines of code 31 Lack of test cases 10.368
Test requirement
Passed Failed Untested N/A/B
6 0 0 2 3 1

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06
Condition Precondition
Can connect with server

id
10 O
-10 O
2,147,483,647 O
3,000,000,000 O
"testtt" O
null O

Confirm Return
hong, email=phong@123, phone_number=0987563385, role_id=1} O
null O O

Exception
Exception in thread "main"
java.lang.RuntimeException: Uncompilable code -
integer number too large O
Exception in thread "main"
java.lang.RuntimeException: Uncompilable code -
incompatible types: java.lang.String cannot be
O
converted
Exception to int
in thread "main"
java.lang.RuntimeException: Uncompilable code -
incompatible types: <nulltype> cannot be converted to
O
int
Log message
Get account successful! O
Cannot get account! O O
Result Passed/Failed N N B A A A
P P P P P P
Executed Date 0 0 0 0 0 0
2 2 2 2 2 2
/ / / / / /
2 2 2 2 2 2
6 6 6 6 6 6
Defect ID
getAccountById

10.368

Total Test Cases


6
Function Code Function10 Function Name updatePasswordByUsernameAndPho
Created By ToanHM Executed By ToanHM
Lines of code 21 Lack of test cases 3.088
Test requirement
Passed Failed Untested N/A/B
7 1 0 2 5 1

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06

UTCID07

UTCID08
Condition Precondition
Can connect with server

username
"minhsan" O O O O O
"happynewyehappynewyehappynewyehappynewye
happynewyre" O
"" O
"happynewyehappynewyehappynewyehappynewye
happynewye" O
phonenumber
"11111222225" O O O O O O
"!!$@!@!@#@#!" O
"" O

newpassword
"minh123" O O O O O O
"" O
123 O

Confirm Return
T O
F O O O O O O

Exception
Exception in thread "main"
java.lang.RuntimeException: Uncompilable code -
incompatible types: java.lang.String cannot be
converted to int O

Log message
Update account successful! O
No account found or update failed. O O O O O O
Result Type(N : Normal, A : Abnormal, B : Boundary) A A N B N A A A
Passed/Failed P P P P P P F P
Executed Date 0 0 0 0 0 0 0 0
2 2 2 2 2 2 2 2
/ / / / / / / /
2 2 2 2 2 2 2 2
6 6 6 6 6 6 6 6

Defect ID
atePasswordByUsernameAndPhoneNumber

3.088

Total Test Cases


8
Function Code Function12 Function Name checkExisted
Created By ToanHM Executed By ToanHM
Lines of code 25 Lack of test cases 8.2
Test requirement
Passed Failed Untested N/A/B
5 0 0 2 3 0

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05
Condition Precondition
Can connect with server
Have to load account before test
username
"admin" O
"" O

"Duck" O

"!@#!#!@#" O
123 O
Confirm Return
FALSE O O O
TRUE O
Exception
Exception in thread "main"
java.lang.RuntimeException: Uncompilable code -
O
incompatible types: int cannot be converted to
java.lang.String
Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N A N A A


Passed/Failed P P P P P
0 0 0 0 0
3 3 3 3 3
Executed Date / / / / /
0 0 0 0 0
3 3 3 3 3

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 45/


kExisted

8.2

Total Test Cases


5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 46/


Function Code Function13 Function Name
Created By ToanHM Executed By
Lines of code 20 Lack of test cases
Test requirement
Passed Failed Untested
6 0 0

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05
Condition Precondition
Can connect with server

ID
1 O
2147483647 O
-3000000000 O
null O
"aaa" O
-100
Confirm Return
Room{id=1, name=Room A, capacity=30} O
null O
Exception
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - integer number too large O
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: java.lang.String cannot be converted to int O
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: <nulltype> cannot be converted to int O
Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N B A A A


Passed/Failed P P P P P
Executed Date 0 0 0 0 0
3 3 3 3 3
/ / / / /
0 0 0 0 0
1 1 1 1 1

Defect ID
getRoomById
ToanHM
s 4.56

sted N/A/B Total Test Cases


0 2 3 1 6
UTCID06

N
P
0
3
/
0
1
Function Code Function14 Function Name
Created By ToanHM Executed By
Lines of code 13 Lack of test cases
Test requirement
Passed Failed Untested
11 0 0

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05
Condition Precondition
Can connect with server
Name
"RoomA" O O O O O
1
null

Capacity
null O
1 O
"agsga" O
2147483647 O
-3000000000 O

Confirm Return
TRUE O O
FALSE
Exception
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: java.lang.String cannot be converted to int O
"Exception in thread ""main"" java.lang.RuntimeException:
Uncompilable code - integer number too large" O
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: int cannot be converted to java.lang.String
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: <nulltype> cannot be converted to int O
Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) A B A B A


Passed/Failed P P P P P
Executed Date 0 0 0 0 0
3 3 3 3 3
/ / / / /
0 0 0 0 0
1 1 1 1 1
Defect ID
insertRoom
ToanHM
s -4.136

sted N/A/B Total Test Cases


0 1 7 3 11
UTCID06

UTCID07

UTCID08

UTCID09

UTCID10

UTCID11

O
O O O O O

O O
O
O
O
O

O O

A A N A B A
P P P P P P
0 0 0 0 0 0
3 3 3 3 3 3
/ / / / / /
0 0 0 0 0 0
1 1 1 1 1 1
Function Code Function15 Function Name
Created By ToanHM Executed By
Lines of code 14 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested
12 0 0

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05
Condition Precondition
Can connect with server

ID null O
1 O O O O
"room"
2147483647
-100
Name
"RoomA" O O O O
1
null O

Capacity
null O
1 O O O
"agsga" O
2147483647
-100
-3000000000
Confirm Return
TRUE O O
FALSE
Exception

Exception in thread "main" java.lang.RuntimeException:


Uncompilable code - incompatible types: java.lang.String cannot be converted to int O

Exception in thread "main" java.lang.RuntimeException:


Uncompilable code - incompatible types: int cannot be converted to java.lang.String

Exception in thread "main" java.lang.RuntimeException:


Uncompilable code - incompatible types: <nulltype> cannot be converted to int O O

"Exception in thread ""main"" java.lang.RuntimeException:


Uncompilable code - integer number too large"
Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) A A A N A


Passed/Failed P P P P P
Executed Date 0 0 0 0 0
3 3 3 3 3
/ / / / /
0 0 0 0 0
1 1 1 1 1
Defect ID
updateRoom
ToanHM
s -4.608

sted N/A/B Total Test Cases


0 3 8 1 12
UTCID06

UTCID07

UTCID08

UTCID09

UTCID10

UTCID11

UTCID12

O O O
O
O O
O

O O O O O O
O

O O O O

O
O
O

O O
O O

N A N A B A A
P P P P P P P
0 0 0 0 0 0 0
3 3 3 3 3 3 3
/ / / / / / /
0 0 0 0 0 0 0
1 1 1 1 1 1 1
Function Code Function17 Function Name listRoomAvailableBy
Created By ToanHM Executed By ToanHM
Lines of code 23 Lack of test cases
Test requirement Allow users to insert film into database
Passed Failed Untested N/A/B
7 5 0 5

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06

UTCID07
Condition Precondition
Can connect with server

startHour
null O
"09:00:00" O O O O O O
"00:00:00"
"abc"
"-01:00:00"
120

length
120 O O
2147483647 O
-3000000000 O
null O
"aaa" O
-100 O
Confirm Return

[] O O O
Exception
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - integer number too large
O
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: <nulltype> cannot be
converted to int
O O
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: java.lang.String cannot be
converted to int O
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: int cannot be converted to
java.lang.String
Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) A N N A A B N


Passed/Failed P F F P P P F

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 57/


Executed Date 0 0 0 0 0 0 0
3 D3 D3 3 3 3 D3
/ F/ F/ / / / F/
0 00 00 0 0 0 00
1 01 01 1 1 1 01
3 3 4
Defect ID 8 9 0

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 58/


listRoomAvailableByStartHour
ToanHM
0.144

N/A/B Total Test Cases


4 3 12
UTCID08

UTCID09

UTCID10

UTCID11

UTCID12

O O
O
O
O

O O O
O O

O O

B N N A B
F F P P P

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 59/


0 0 0 0 0
D3 D3 3 3 3
F/ F/ / / /
00 00 0 0 0
01 01 1 1 1
4 4
1 2

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 60/


Function Code Function16 Function Name
Created By ToanHM Executed By
Lines of code 12 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested
5 1 0

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06
Condition Precondition
Can connect with server O O O O O O

ID
1 O
2147483647 O
-3000000000 O
null O
"aaa" O
-100 O

Confirm Return
TRUE
FALSE O O O
Exception
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - integer number too large O
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: <nulltype> cannot be converted to int O
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - incompatible types: java.lang.String cannot be converted to int O
Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N B A A A N


Passed/Failed F P P P P P
Executed Date 0 0 0 0 0 0
D3 3 3 3 3 3
F/ / / / / /
00 0 0 0 0 0
01 1 1 1 1 1
3
Defect ID 7
deleteRoomById
ToanHM
0.336

N/A/B Total Test Cases


2 3 1 6
Function Code Function18 Function Name
Created By ToanHM Executed By
Lines of code 16 Lack of test cases
Test requirement Allow users to insert film into database
Passed Failed Untested
7 2 0

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06
Condition Precondition
Can connect with server

accountId
1 O O O O
2,147,483,647 O
3,000,000,000 O
seatId
"1" O O O O
"abc" O
"1,2,3,4" O
ticketFilmId
"1" O O O O O
"abc" O
""
status
1 O O O O O O
2,147,483,647
3,000,000,000
Confirm Return
1 O
0 O O
4 O
Exception
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - integer number too large O
Exception in thread "main"
java.lang.RuntimeException: Uncompilable code -
incompatible types: int cannot be converted to
java.lang.String
Log message
Error at insertTicket: The INSERT statement conflicted
with the FOREIGN KEY constraint O
Error at insertTicket: Conversion failed when
converting the nvarchar value 'abc' to data type int. O O
Result Type(N : Normal, A : Abnormal, B : Boundary) N B A N N N
Passed/Failed P F P P P P
0 0 0 0 0 0
3 3 3 3 3 3
Executed Date / / / / / /
0 0 0 0 0 0
1 1 1 1 1 1

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 63/


D
F
0
Defect ID
0
4
3

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 64/


insertTicket
ToanHM
-0.552

N/A/B Total Test Cases


5 3 1 9
UTCID07

UTCID08

UTCID09

O O O

O O O

O O

O
O
O

O
O

N A A
P F P
0 0 0
3 3 3
/ / /
0 0 0
1 1 1

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 65/


D
F
0
0
4
4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 66/


Function Code Function19 Function Name removeTicket
Created By ToanHM Executed By ToanHM
Lines of code 15 Lack of test cases
Test requirement Allow users to insert film into database
Passed Failed Untested N/A/B
7 0 0 3 2

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06

UTCID07
Condition Precondition
Can connect with server

accountId
2 O O O O O
-2,147,483,648 O
3,000,000,000 O
seatId
"1" O O O O O
"abc" O
1 O
ticketFilmId
"1" O O O O O
"abc" O
"" O

Confirm Return
2 O
0 O O O O
Exception

Exception in thread "main" java.lang.RuntimeException:


Uncompilable code - integer number too large O

Exception in thread "main"


java.lang.RuntimeException: Uncompilable code -
incompatible types: int cannot be converted to O
java.lang.String
Log message

Conversion failed when converting the nvarchar


value 'abc' to data type int. O O
Result Type(N : Normal, A : Abnormal, B : Boundary) N B A N A B N
Passed/Failed P P P P P P P
Executed Date 0 0 0 0 0 0 0
3 3 3 3 3 3 3
/ / / / / / /
0 0 0 0 0 0 0
1 1 1 1 1 1 1
Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 67/


emoveTicket
ToanHM
0.92

N/A/B Total Test Cases


2 7

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 68/


Function Code Function20 Function Name isRecordExist
Created By ToanHM Executed By ToanHM
Lines of code 14 Lack of test cases
Test requirement Allow users to insert film into database
Passed Failed Untested N/A/B
7 0 0 4 2

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05

UTCID06

UTCID07
Condition Precondition
Can connect with server

accountId
2 O O O O O
-2,147,483,648 O
3,000,000,000 O
seatId
"1" O O O O
"2" O
"abc" O
1 O
ticketFilmId
"1" O O O O O O
"" O

Confirm Return
TRUE O
FALSE O O O O
Exception
Exception in thread "main" java.lang.RuntimeException:
Uncompilable code - integer number too large O
Uncompilable code - incompatible types: int cannot
be converted to java.lang.String O
Log message
Conversion failed when converting the nvarchar
value 'abc' to data type int. O
Result Type(N : Normal, A : Abnormal, B : Boundary) N N B A N A N
Passed/Failed P P P P P P P
Executed Date
0 0 0 0 0 0 0
3 3 3 3 3 3 3
/ / / / / / /
0 0 0 0 0 0 0
1 1 1 1 1 1 1

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 69/


sRecordExist
ToanHM
0.392

N/A/B Total Test Cases


1 7

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 70/


Function Code Function21 Function Name
Created By ToanHM Executed By
Lines of code 26 Lack of test cases
Test requirement Allow users to insert film into database
Passed Failed Untested
4 1 0

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
Can connect with server

accountId
19 O
1 O
-2,147,483,648 O
2,147,483,647 O
3,000,000,000

Confirm Return

[TicketHistory{ticketFilmId=1, seat_number=D1, price=100000, [] O O O


title=ĐẤT RỪNG PHƯƠNG NAM, name=Room A,
startHour=09:00:00, date=2023-11-20, bookingTime=2023-11-03
14:23:12.0}, TicketHistory{ticketFilmId=1, seat_number=E1,
price=100000, title=ĐẤT RỪNG PHƯƠNG NAM, name=Room A, O
startHour=09:00:00, date=2023-11-20, bookingTime=2023-11-03
14:23:12.0}]

Exception

Exception in thread "main" java.lang.RuntimeException:


Uncompilable code - integer number too large

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N B B


Passed/Failed F P P P
Executed Date 0 0 0 0
D3 3 3 3
F/ / / /
00 0 0 0
01 1 1 1
4
Defect ID 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 71/


getListHistoriesByAccountId
ToanHM
8.728

Untested N/A/B Total Test Cases


0 2 1 2 5
UTCID05

A
P
0
3
/
0
1

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 72/

You might also like