Skip to content

Commit 9704faa

Browse files
Refactor JUnit 5 for BaseTestAESCopySafe and BaseTestAESGCMLong tests
This change consolidates the tests previously associated with BaseTestAESCopySafe into the parameterized TestAESCopySafe class, and the tests from BaseTestAESGCMLong into the parameterized TestAESGCMLong class. Fixes: https://github.ibm.com/runtimes/jit-crypto/issues/1097 Signed-off-by: Mohit Rajbhar <mohit.rajbhar@ibm.com>
1 parent 4cf54a2 commit 9704faa

File tree

15 files changed

+75
-217
lines changed

15 files changed

+75
-217
lines changed

src/test/java/ibm/jceplus/junit/TestMultithread.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ public class TestMultithread {
3131
private final int numThreads = 10;
3232
private final int timeoutSec = 4500;
3333
private final String[] testList = {
34-
"ibm.jceplus.junit.openjceplus.multithread.TestAESCopySafe",
35-
"ibm.jceplus.junit.openjceplus.multithread.TestAESGCMLong",
3634
"ibm.jceplus.junit.openjceplus.multithread.TestAESGCMNonExpanding",
3735
"ibm.jceplus.junit.openjceplus.multithread.TestAESGCMSameBuffer",
3836
"ibm.jceplus.junit.openjceplus.multithread.TestAESGCMUpdate",

src/test/java/ibm/jceplus/junit/TestMultithreadFIPS.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ public class TestMultithreadFIPS {
3131
private final int numThreads = 10;
3232
private final int timeoutSec = 4500;
3333
private final String[] testList = {
34-
"ibm.jceplus.junit.openjceplusfips.multithread.TestAESCopySafe",
35-
"ibm.jceplus.junit.openjceplusfips.multithread.TestAESGCMLong",
3634
"ibm.jceplus.junit.openjceplusfips.multithread.TestAESGCMNonExpanding",
3735
"ibm.jceplus.junit.openjceplusfips.multithread.TestAESGCMSameBuffer",
3836
"ibm.jceplus.junit.openjceplusfips.multithread.TestAESGCMUpdate",

src/test/java/ibm/jceplus/junit/openjceplus/TestAESCopySafe.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/test/java/ibm/jceplus/junit/openjceplus/TestAESGCMLong.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/test/java/ibm/jceplus/junit/openjceplus/TestAll.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717
TestAESCCM2.class,
1818
TestAESCCMInteropBC.class,
1919
TestAESCCMParameters.class,
20-
TestAESCopySafe.class,
2120
TestAESGCM_ExtIV.class,
2221
TestAESGCM_IntIV.class,
2322
TestAESGCMBufferIV.class,
24-
TestAESGCMLong.class,
2523
TestAESGCMNonExpanding.class,
2624
TestAESGCMSameBuffer.class,
2725
TestAESGCMUpdate.class,

src/test/java/ibm/jceplus/junit/openjceplus/multithread/TestAESCopySafe.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/test/java/ibm/jceplus/junit/openjceplus/multithread/TestAESGCMLong.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/test/java/ibm/jceplus/junit/openjceplusfips/TestAESCopySafe.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/test/java/ibm/jceplus/junit/openjceplusfips/TestAESGCMLong.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/test/java/ibm/jceplus/junit/openjceplusfips/TestAll.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717
TestAESCCM2.class,
1818
TestAESCCMInteropBC.class,
1919
TestAESCCMParameters.class,
20-
TestAESCopySafe.class,
2120
TestAESGCM_ExtIV.class,
2221
TestAESGCM_IntIV.class,
2322
TestAESGCMBufferIV.class,
24-
TestAESGCMLong.class,
2523
TestAESGCMNonExpanding.class,
2624
TestAESGCMSameBuffer.class,
2725
TestAESGCMUpdate.class,

0 commit comments

Comments
 (0)