diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2018-10-17 16:21:59 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2018-10-17 16:21:59 +0200 |
commit | 19ca55a3bb4e308ef1122a1cdd8c911b811e18be (patch) | |
tree | 17aa598f52f0034d2246babe749796923e90a7bf /vespajlib/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java | |
parent | 39da869d94cebe5bd851e1b4fb456372586a6870 (diff) |
Move classes in com.yahoo.security to security-utils
Diffstat (limited to 'vespajlib/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java')
-rw-r--r-- | vespajlib/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/vespajlib/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java b/vespajlib/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java deleted file mode 100644 index f311651cab0..00000000000 --- a/vespajlib/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.security.tls; - -import org.junit.Test; - -import java.nio.file.Path; -import java.nio.file.Paths; - -import static org.junit.Assert.*; - -/** - * @author bjorncs - */ -public class TransportSecurityOptionsTest { - - private static final Path TEST_CONFIG_FILE = Paths.get("src/test/resources/transport-security-options.json"); - - @Test - public void can_read_options_from_json_file() { - TransportSecurityOptions expectedOptions = new TransportSecurityOptions("myhost.key", "certs.pem", "my_cas.pem"); - TransportSecurityOptions actualOptions = TransportSecurityOptions.fromJsonFile(TEST_CONFIG_FILE); - assertEquals(expectedOptions, actualOptions); - } - -} |