test/_test_template_cc
author Krista Bennett <krista@pep-project.org>
Mon, 05 Feb 2018 10:58:03 +0100
branchENGINE-250
changeset 2477 45e8ed722fec
parent 1513 e7f7e42385b5
permissions -rw-r--r--
Intermittent commit
vb@1513
     1
// This file is under GNU General Public License 3.0
vb@1513
     2
// see LICENSE.txt
vb@1513
     3
vb@53
     4
#include <iostream>
vb@53
     5
#include <string>
vb@53
     6
#include <assert.h>
vb@1045
     7
#include "pEpEngine_test.h"
vb@53
     8
#include "MODULE.h"
vb@53
     9
vb@53
    10
using namespace std;
vb@53
    11
vb@53
    12
int main() {
vb@53
    13
    cout << "\n*** MODULE_test ***\n\n";
vb@53
    14
vb@53
    15
    PEP_SESSION session;
vb@53
    16
    
vb@53
    17
    cout << "calling init()\n";
vb@53
    18
    PEP_STATUS status1 = init(&session);   
vb@1045
    19
    ASSERT_STATUS(status1);
vb@53
    20
    assert(session);
vb@53
    21
    cout << "init() completed.\n";
vb@53
    22
vb@53
    23
    // MODULE test code
vb@53
    24
vb@53
    25
vb@53
    26
    cout << "calling release()\n";
vb@53
    27
    release(session);
vb@53
    28
    return 0;
vb@53
    29
}
vb@53
    30