Browse Source

Merge commit 'b73a9d9377d993114359067d3aa98d80e163ba8d' into HEAD

feature-password-validator
jenkins 3 years ago
parent
commit
96ae0514cb
  1. 3
      src/main/java/Vault.java
  2. 5
      src/main/java/VaultInterface.java
  3. 2
      src/test/java/PasswordManagerTest.java
  4. 12
      src/test/java/VaultTest.java

3
src/main/java/Vault.java

@ -0,0 +1,3 @@
public class Vault implements VaultInterface {
}

5
src/main/java/VaultInterface.java

@ -0,0 +1,5 @@
public interface VaultInterface {
}

2
src/test/java/PasswordManagerTest.java

@ -55,7 +55,7 @@ class PasswordManagerTest {
pm.inputStream = new ByteArrayInputStream("v 0\n".getBytes(StandardCharsets.UTF_8));
pm.outputStream = outputStream;
pm.showMenu();
assertTrue(outputStream.toString().endsWith("-- vaults not implemented yet\n"));
assertFalse(outputStream.toString().endsWith("-- vaults not implemented yet\n"));
}
@Test

12
src/test/java/VaultTest.java

@ -0,0 +1,12 @@
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.nio.charset.StandardCharsets;
import java.util.NoSuchElementException;
public class VaultTest {
}
Loading…
Cancel
Save