Browse Source

templateAlice...

JNI-96
heck 5 years ago
parent
commit
34cdfb7b9b
  1. 21
      test/java/foundation/pEp/jniadapter/test/templateAliceBob/TestMain.java

21
test/java/foundation/pEp/jniadapter/test/templateAliceBob/TestMain.java

@ -1,21 +0,0 @@
package foundation.pEp.jniadapter.test.templateAliceBob;
import foundation.pEp.jniadapter.test.framework.*;
import foundation.pEp.jniadapter.test.utils.AdapterBaseTestContext;
class TestMain {
public static void main(String[] args) throws Exception {
new TestUnit<AdapterBaseTestContext>("Test Template",new AdapterBaseTestContext() , ctx -> {
// do stuff using the context
// Test FAILS on unhandled exception, otherwise SUCCESS
ctx.alice = ctx.engine.myself(ctx.alice);
if(ctx.alice.fpr == null) {
throw new RuntimeException();
}
}).run();
}
}
Loading…
Cancel
Save