summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2024-05-17 13:16:55 +0200
committerGitHub <noreply@github.com>2024-05-17 13:16:55 +0200
commit1d4cd175b3fd60057afa88decab71e16e4cac27f (patch)
tree73d1388631fb6b1bd151efdb1b75b53aa1053e21
parentMerge pull request #78 from UnionInternationalCheminsdeFer/fixing_test (diff)
parentdeprecated tests which are used for deprecated functions only. (diff)
downloadUIC-barcode-1d4cd175b3fd60057afa88decab71e16e4cac27f.tar
UIC-barcode-1d4cd175b3fd60057afa88decab71e16e4cac27f.tar.gz
UIC-barcode-1d4cd175b3fd60057afa88decab71e16e4cac27f.tar.bz2
UIC-barcode-1d4cd175b3fd60057afa88decab71e16e4cac27f.tar.lz
UIC-barcode-1d4cd175b3fd60057afa88decab71e16e4cac27f.tar.xz
UIC-barcode-1d4cd175b3fd60057afa88decab71e16e4cac27f.tar.zst
UIC-barcode-1d4cd175b3fd60057afa88decab71e16e4cac27f.zip
-rw-r--r--src/test/java/org/uic/barcode/test/SecurityUtilsTest.java16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/test/java/org/uic/barcode/test/SecurityUtilsTest.java b/src/test/java/org/uic/barcode/test/SecurityUtilsTest.java
index e500523..eb7df67 100644
--- a/src/test/java/org/uic/barcode/test/SecurityUtilsTest.java
+++ b/src/test/java/org/uic/barcode/test/SecurityUtilsTest.java
@@ -14,6 +14,7 @@ import java.security.SignatureException;
import java.security.spec.ECGenParameterSpec;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import org.uic.barcode.dynamicFrame.Constants;
import org.uic.barcode.utils.AlgorithmNameResolver;
@@ -60,8 +61,11 @@ public class SecurityUtilsTest {
-
- @Test public void testFindPublicKeyProvider() {
+ // functions without an explicitly set provider have been deprecated in the library.
+ @Deprecated
+ @Test
+ @Ignore
+ public void testFindPublicKeyProvider() {
Provider p = null;
@@ -97,9 +101,11 @@ public class SecurityUtilsTest {
-
-
- @Test public void testFindSignatureAlgorithmProvider() {
+ // functions without an explicitly set provider have been deprecated in the library.
+ @Deprecated
+ @Test
+ @Ignore
+ public void testFindSignatureAlgorithmProvider() {
Provider p = null;
boolean canSign = false;