Browse Source

JNI-101 / JNI-116 - add tests for get/setDebugLogEnabled()

JNI-101
heck 4 years ago
parent
commit
4bf962f604
  1. 8
      test/java/foundation/pEp/jniadapter/test/regression/TestMain.java

8
test/java/foundation/pEp/jniadapter/test/regression/TestMain.java

@ -268,6 +268,14 @@ class TestMain {
ctx.engine.config_passphrase_for_new_keys(true, "SUPERCOMPLICATEDPASSPHRASE"); ctx.engine.config_passphrase_for_new_keys(true, "SUPERCOMPLICATEDPASSPHRASE");
}); });
new TestUnit<RegTestContext>("Engine.setDebugLogEnabled", new RegTestContext(), ctx -> {
Engine.setDebugLogEnabled(true);
});
new TestUnit<RegTestContext>("Engine.setDebugLogEnabled", new RegTestContext(), ctx -> {
Engine.getDebugLogEnabled();
});
TestSuite.getDefault().run(); TestSuite.getDefault().run();
} }

Loading…
Cancel
Save