From a8b596a021ca5ad9f91c43a164631749fa2c4fed Mon Sep 17 00:00:00 2001 From: CONGRANLI <907112284@qq.com> Date: Fri, 6 Sep 2019 12:34:44 +1000 Subject: [PATCH] add some boundary --- .../swen90006/passbook/PartitioningTests.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Partitioning/swen90006/passbook/PartitioningTests.java b/tests/Partitioning/swen90006/passbook/PartitioningTests.java index 4bb51dd..fb05bc3 100755 --- a/tests/Partitioning/swen90006/passbook/PartitioningTests.java +++ b/tests/Partitioning/swen90006/passbook/PartitioningTests.java @@ -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); -- GitLab