Browse Source

Test: JNI-143 - Add Doc

JNI-135
heck 1 year ago
parent
commit
59d6177dc8
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      test/java/foundation/pEp/jniadapter/test/jni143/TestAlice.java

+ 11
- 0
test/java/foundation/pEp/jniadapter/test/jni143/TestAlice.java View File

@ -13,6 +13,17 @@ import java.util.Arrays;
import java.util.Vector;
import static foundation.pEp.pitytest.TestLogger.*;
/*
Test: Add Attachments Enc/Dec Tests
Verifies equality of attachments before encryption and after decryption.
Generates attachment data from random A-Z letters.
Starts with attachment size 1 byte.
For each encrypt/decrypt cycle, doubles the size of the attachment data.
assert dataIn == dataOut
Logs the count of differing bytes.
*/
class Jni143TestContext extends AdapterBaseTestContext {
@Override
public AdapterBaseTestContext init() throws Throwable {


Loading…
Cancel
Save