Browse Source

JNI-160: Update Tests (jni135)

JNI-160
heck 4 months ago
parent
commit
85f75a895f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/java/foundation/pEp/jniadapter/test/jni135/TestAlice.java

+ 2
- 2
test/java/foundation/pEp/jniadapter/test/jni135/TestAlice.java View File

@ -99,10 +99,10 @@ class TestAlice {
msg1Enc.close();
msg1Plain.close();
log("cycle nr: " + cycles++ + " / Message.getInstanceCount(): " + Message.getInstanceCount());
assert Message.getInstanceCount() == 0 : "Leaking messages";
assert Message.getInstanceCount().get() == 0 : "Leaking messages";
} else {
log("cycle nr: " + cycles++ + " / Message.getInstanceCount(): " + Message.getInstanceCount());
assert Message.getInstanceCount() > 0 : "We should be leaking messages, actually";
assert Message.getInstanceCount().get() > 0 : "We should be leaking messages, actually";
}
}
}


Loading…
Cancel
Save