Browse Source

added setPWLength Option

feature-vault
fdai6352 3 years ago
parent
commit
6572370472
  1. 11
      src/main/java/Vault.java
  2. 6
      src/test/java/VaultTest.java

11
src/main/java/Vault.java

@ -30,8 +30,19 @@ public class Vault implements VaultInterface {
println(sbcm.toString());
String input = scan.nextLine();
if (input.equals("e")) {
config = false;
}
}
public void setPWLength(){
}
public void addCredential(){
}

6
src/test/java/VaultTest.java

@ -38,6 +38,9 @@ public class VaultTest {
@Test
void loadFromJson() {vlt.loadFromJson();}
@Test
void setPWLength() {vlt.setPWLength();}
@Test
void openConfigureMenu() {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
@ -68,9 +71,6 @@ public class VaultTest {
assertTrue(outputStream.toString().startsWith("Configure:"));
}
// @Test
// void
private ByteArrayInputStream getEmptyStringInputStream() {

Loading…
Cancel
Save