summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBMatajsz <90217645+BMatajsz@users.noreply.github.com>2024-12-03 09:39:46 -0500
committerBMatajsz <90217645+BMatajsz@users.noreply.github.com>2024-12-03 09:39:46 -0500
commit4a4144cabda83c02eed0917eed884f3ec5641ba9 (patch)
tree1e579c1d3e0784db9fb3fb3b9209f1841e24fdb0 /src
parent44df5df0b65df279aaf471fa8258da218ed7c522 (diff)
downloadsoen423-4a4144cabda83c02eed0917eed884f3ec5641ba9.zip
Uncommented tests
Diffstat (limited to 'src')
-rw-r--r--src/test/java/derms/test/SystemTest.java12
1 files changed, 6 insertions, 6 deletions
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 {