Allon Mureinik has uploaded a new change for review. Change subject: core: EncryptoinUtilsTest @Before->@BeforeClass ......................................................................
core: EncryptoinUtilsTest @Before->@BeforeClass Replaced the @Before method with @BeforeClass. There is a single URL that won't change between test runs. Change-Id: I89ad4e12f08af5e0ef19e486bf21c350ad7f1015 Signed-off-by: Allon Mureinik <amure...@redhat.com> --- M backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/crypt/EncryptionUtilsTest.java 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/26/14426/1 diff --git a/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/crypt/EncryptionUtilsTest.java b/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/crypt/EncryptionUtilsTest.java index 7af4745..8e0a178 100644 --- a/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/crypt/EncryptionUtilsTest.java +++ b/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/crypt/EncryptionUtilsTest.java @@ -11,7 +11,7 @@ import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; -import org.junit.Before; +import org.junit.BeforeClass; import org.junit.Test; public class EncryptionUtilsTest { @@ -20,8 +20,8 @@ protected final static String keyStorePass = "NoSoup4U"; protected final static String certAlias = "1"; - @Before - public void before() throws UnsupportedEncodingException { + @BeforeClass + public static void before() throws UnsupportedEncodingException { keyStoreURL = URLDecoder.decode(ClassLoader.getSystemResource("key.p12").getPath(), "UTF-8"); } -- To view, visit http://gerrit.ovirt.org/14426 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I89ad4e12f08af5e0ef19e486bf21c350ad7f1015 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amure...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches