Skip to content
Snippets Groups Projects
Commit a8b596a0 authored by CONGRANLI's avatar CONGRANLI
Browse files

add some boundary

parent 6c8eb9ec
No related branches found
No related tags found
No related merge requests found
Pipeline #6173 passed
......@@ -231,7 +231,7 @@ public class PartitioningTests
@Test public void NocontainLowerCase() throws DuplicateUserException {
boolean WeakPassphraseException = false;
String passbookUsername = "AlexTina";
String passbookphrase = "ABCD1234";
String passbookphrase = "ABCZ0239";
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 = "abcd1234";
String passbookphrase = "abcz0239";
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 = "abcdABCD";
String passbookphrase = "abczABCZ";
try {
pb.addUser(passbookUsername, passbookphrase);
}
......@@ -273,7 +273,7 @@ public class PartitioningTests
boolean NoSuchUserException = false;
boolean WeakPassphraseException = false;
String passbookUsername = "AlexTina";
String passbookphrase = "abABCD12";
String passbookphrase = "azABCZ09";
try {
pb.addUser(passbookUsername, passbookphrase);
pb.loginUser(passbookUsername, passbookphrase);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment