From 0608486ca9f0fc1a7a27e48277761deb5dc79e96 Mon Sep 17 00:00:00 2001 From: fdai6352 Date: Tue, 25 Jan 2022 19:38:47 +0100 Subject: [PATCH 1/4] add vault entry class --- src/main/java/Vault.java | 2 ++ src/test/java/VaultTest.java | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/main/java/Vault.java create mode 100644 src/test/java/VaultTest.java diff --git a/src/main/java/Vault.java b/src/main/java/Vault.java new file mode 100644 index 0000000..15b808f --- /dev/null +++ b/src/main/java/Vault.java @@ -0,0 +1,2 @@ +public class Vault { +} diff --git a/src/test/java/VaultTest.java b/src/test/java/VaultTest.java new file mode 100644 index 0000000..d0e306d --- /dev/null +++ b/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 { + +} From 5e4511bcb4214fc658f5b266e5eb92bb21ab6217 Mon Sep 17 00:00:00 2001 From: fdai6352 Date: Tue, 25 Jan 2022 19:41:03 +0100 Subject: [PATCH 2/4] add vaultinterface --- src/main/java/VaultInterface.java | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/main/java/VaultInterface.java diff --git a/src/main/java/VaultInterface.java b/src/main/java/VaultInterface.java new file mode 100644 index 0000000..471dbd2 --- /dev/null +++ b/src/main/java/VaultInterface.java @@ -0,0 +1,5 @@ + + +public interface VaultInterface { + +} From d1652f044327f4845e11db0cce6ef6c4fb392113 Mon Sep 17 00:00:00 2001 From: fdai6352 Date: Tue, 25 Jan 2022 19:56:45 +0100 Subject: [PATCH 3/4] add vaultinterface --- src/main/java/Vault.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/Vault.java b/src/main/java/Vault.java index 15b808f..70d4b52 100644 --- a/src/main/java/Vault.java +++ b/src/main/java/Vault.java @@ -1,2 +1,3 @@ -public class Vault { +public class Vault implements VaultInterface { + } From b73a9d9377d993114359067d3aa98d80e163ba8d Mon Sep 17 00:00:00 2001 From: fdai6352 Date: Tue, 1 Feb 2022 22:30:05 +0100 Subject: [PATCH 4/4] =?UTF-8?q?add=20menuNavigationOpenVault:=20assertTrue?= =?UTF-8?q?=20zu=20assertFalse=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/PasswordManagerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/PasswordManagerTest.java b/src/test/java/PasswordManagerTest.java index 149e12f..c96f747 100644 --- a/src/test/java/PasswordManagerTest.java +++ b/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