aboutsummaryrefslogtreecommitdiff
path: root/src/test/persistence
diff options
context:
space:
mode:
authorYuuta Liang <yuutaw@student.cs.ubc.ca>2023-11-23 08:09:01 +0800
committerYuuta Liang <yuutaw@student.cs.ubc.ca>2023-11-23 08:09:01 +0800
commit65ea6c17a0c1348aa9ef4e158102ddf173936882 (patch)
tree7615366f76b6c94f46d8039aa20091f9ccd5609a /src/test/persistence
parentb94b18c133f06cb176d8aa8bb40a8e24918d9ed6 (diff)
downloadjca-65ea6c17a0c1348aa9ef4e158102ddf173936882.tar
jca-65ea6c17a0c1348aa9ef4e158102ddf173936882.tar.gz
jca-65ea6c17a0c1348aa9ef4e158102ddf173936882.tar.bz2
jca-65ea6c17a0c1348aa9ef4e158102ddf173936882.zip
Add GUI
Signed-off-by: Yuuta Liang <yuutaw@student.cs.ubc.ca>
Diffstat (limited to 'src/test/persistence')
-rw-r--r--src/test/persistence/DecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/persistence/DecoderTest.java b/src/test/persistence/DecoderTest.java
index 96f94e7..418087b 100644
--- a/src/test/persistence/DecoderTest.java
+++ b/src/test/persistence/DecoderTest.java
@@ -26,6 +26,9 @@ public class DecoderTest {
@BeforeEach
void setup() {
+ // Dr. Paul: You can make dummy constructor calls to make the coverage happy since they are util classes.
+ new FS();
+ new Decoder();
invalidKey1 = FS.read(Path.of("data", "invalid_key_1.json"));
invalidKey2 = FS.read(Path.of("data", "invalid_key_2.json"));
invalidCert = FS.read(Path.of("data", "invalid_cert.json"));