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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Li Congran
SWEN90006-A1-2019
Commits
8448ca41
Commit
8448ca41
authored
5 years ago
by
CONGRANLI
Browse files
Options
Downloads
Patches
Plain Diff
300
parent
a8b596a0
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#6214
passed
5 years ago
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
+5
-1
5 additions, 1 deletion
tests/Partitioning/swen90006/passbook/PartitioningTests.java
with
5 additions
and
1 deletion
tests/Partitioning/swen90006/passbook/PartitioningTests.java
+
5
−
1
View file @
8448ca41
...
@@ -273,10 +273,14 @@ public class PartitioningTests
...
@@ -273,10 +273,14 @@ public class PartitioningTests
boolean
NoSuchUserException
=
false
;
boolean
NoSuchUserException
=
false
;
boolean
WeakPassphraseException
=
false
;
boolean
WeakPassphraseException
=
false
;
String
passbookUsername
=
"AlexTina"
;
String
passbookUsername
=
"AlexTina"
;
String
passbookphrase
=
"azABCZ09"
;
String
passbookphrase
=
"AAAaaa000"
;
String
passbookUsername2
=
"ALexTina"
;
String
passbookphrase2
=
"ZZZzzz999"
;
try
{
try
{
pb
.
addUser
(
passbookUsername
,
passbookphrase
);
pb
.
addUser
(
passbookUsername
,
passbookphrase
);
pb
.
loginUser
(
passbookUsername
,
passbookphrase
);
pb
.
loginUser
(
passbookUsername
,
passbookphrase
);
pb
.
addUser
(
passbookUsername2
,
passbookphrase2
);
pb
.
loginUser
(
passbookUsername2
,
passbookphrase2
);
}
}
catch
(
WeakPassphraseException
e
)
{
catch
(
WeakPassphraseException
e
)
{
WeakPassphraseException
=
true
;
WeakPassphraseException
=
true
;
...
...
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