From 4a4144cabda83c02eed0917eed884f3ec5641ba9 Mon Sep 17 00:00:00 2001 From: BMatajsz <90217645+BMatajsz@users.noreply.github.com> Date: Tue, 3 Dec 2024 09:39:46 -0500 Subject: Uncommented tests --- src/test/java/derms/test/SystemTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/test/java') diff --git a/src/test/java/derms/test/SystemTest.java b/src/test/java/derms/test/SystemTest.java index 6ee1f35..2112ce9 100644 --- a/src/test/java/derms/test/SystemTest.java +++ b/src/test/java/derms/test/SystemTest.java @@ -64,7 +64,7 @@ class SystemTest { DERMSServerPublisher.stop(); } - /* @Test + @Test void testNormal() throws IOException { // Replica 1 String[] argsRM = {"1", "MTL", IP, "0", "0"}; @@ -80,9 +80,9 @@ class SystemTest { // Compare the number of lines in the log files, to determine if they match or not assertTrue(LogComparator.compareFiles(TEST_LOG_PATH, EXPECTED_LOG_PATH_NORM)); - } */ + } - /* @Test + @Test void testByzantine() throws IOException { // Replica 1 String[] argsRM = {"1", "MTL", IP, "1", "0"}; @@ -98,9 +98,9 @@ class SystemTest { // Compare the number of lines in the log files, to determine if they match or not assertTrue(LogComparator.compareFiles(TEST_LOG_PATH, EXPECTED_LOG_PATH_BYZ)); - } */ + } - /* @Test + @Test void testCrash() throws IOException { // Replica 1 String[] argsRM = {"1", "MTL", IP, "0", "1"}; @@ -116,7 +116,7 @@ class SystemTest { // Compare the number of lines in the log files, to determine if they match or not assertTrue(LogComparator.compareFiles(TEST_LOG_PATH, EXPECTED_LOG_PATH_CRASH)); - } */ + } @Test void testCombined() throws IOException { -- cgit v1.2.3