test/_test_template_cc
author Edouard Tisserant <edouard@pep-project.org>
Mon, 24 Oct 2016 20:44:48 +0200
changeset 1329 876ad7615d75
parent 1045 3b77f5e254c1
child 1513 e7f7e42385b5
permissions -rw-r--r--
sync : fix encrypted sync messages not being injected when decrypted from non-sync session
     1 #include <iostream>
     2 #include <string>
     3 #include <assert.h>
     4 #include "pEpEngine_test.h"
     5 #include "MODULE.h"
     6 
     7 using namespace std;
     8 
     9 int main() {
    10     cout << "\n*** MODULE_test ***\n\n";
    11 
    12     PEP_SESSION session;
    13     
    14     cout << "calling init()\n";
    15     PEP_STATUS status1 = init(&session);   
    16     ASSERT_STATUS(status1);
    17     assert(session);
    18     cout << "init() completed.\n";
    19 
    20     // MODULE test code
    21 
    22 
    23     cout << "calling release()\n";
    24     release(session);
    25     return 0;
    26 }
    27