Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SWEN90006-A1-2019
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Li Congran
SWEN90006-A1-2019
Commits
a8b596a0
There was an error fetching the commit references. Please try again later.
Commit
a8b596a0
authored
Sep 6, 2019
by
CONGRANLI
Browse files
Options
Downloads
Patches
Plain Diff
add some boundary
parent
6c8eb9ec
No related branches found
No related tags found
No related merge requests found
Pipeline
#6173
passed
Sep 6, 2019
Stage: check_elig
Stage: validate_tests
Stage: validate_progs
Stage: submit
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/Partitioning/swen90006/passbook/PartitioningTests.java
+4
-4
4 additions, 4 deletions
tests/Partitioning/swen90006/passbook/PartitioningTests.java
with
4 additions
and
4 deletions
tests/Partitioning/swen90006/passbook/PartitioningTests.java
+
4
−
4
View file @
a8b596a0
...
...
@@ -231,7 +231,7 @@ public class PartitioningTests
@Test
public
void
NocontainLowerCase
()
throws
DuplicateUserException
{
boolean
WeakPassphraseException
=
false
;
String
passbookUsername
=
"AlexTina"
;
String
passbookphrase
=
"ABC
D1
23
4
"
;
String
passbookphrase
=
"ABC
Z0
23
9
"
;
try
{
pb
.
addUser
(
passbookUsername
,
passbookphrase
);
}
...
...
@@ -245,7 +245,7 @@ public class PartitioningTests
@Test
public
void
NocontainUpperCase
()
throws
DuplicateUserException
{
boolean
WeakPassphraseException
=
false
;
String
passbookUsername
=
"AlexTina"
;
String
passbookphrase
=
"abc
d1
23
4
"
;
String
passbookphrase
=
"abc
z0
23
9
"
;
try
{
pb
.
addUser
(
passbookUsername
,
passbookphrase
);
}
...
...
@@ -259,7 +259,7 @@ public class PartitioningTests
@Test
public
void
NocontainNumCase
()
throws
DuplicateUserException
{
boolean
WeakPassphraseException
=
false
;
String
passbookUsername
=
"AlexTina"
;
String
passbookphrase
=
"abc
d
ABC
D
"
;
String
passbookphrase
=
"abc
z
ABC
Z
"
;
try
{
pb
.
addUser
(
passbookUsername
,
passbookphrase
);
}
...
...
@@ -273,7 +273,7 @@ public class PartitioningTests
boolean
NoSuchUserException
=
false
;
boolean
WeakPassphraseException
=
false
;
String
passbookUsername
=
"AlexTina"
;
String
passbookphrase
=
"a
b
ABC
D12
"
;
String
passbookphrase
=
"a
z
ABC
Z09
"
;
try
{
pb
.
addUser
(
passbookUsername
,
passbookphrase
);
pb
.
loginUser
(
passbookUsername
,
passbookphrase
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment