test/pEpEngineTest.cc
changeset 14 c99db0b8fc0f
parent 9 41e66a54f03e
child 26 843e629627bf
     1.1 --- a/test/pEpEngineTest.cc	Thu Jul 31 10:15:09 2014 +0200
     1.2 +++ b/test/pEpEngineTest.cc	Tue Aug 05 20:33:20 2014 +0200
     1.3 @@ -184,25 +184,6 @@
     1.4  
     1.5      free_identity(identity);
     1.6  
     1.7 -    // testing key management
     1.8 -
     1.9 -    stringlist_t *addresses = new_stringlist("leon.schumacher@digitalekho.com");
    1.10 -    PEP_comm_type comm_type;
    1.11 -    cout << "\nretrieving communication type for leon.schumacher@digitalekho.com\n";
    1.12 -    PEP_STATUS oct_result = outgoing_comm_type(session, addresses, &comm_type);
    1.13 -    cout << "communication type is " << comm_type << "\n";
    1.14 -    free_stringlist(addresses);
    1.15 -    assert(oct_result == PEP_STATUS_OK && comm_type == PEP_ct_pEp);
    1.16 -
    1.17 -    stringlist_t *addresses2 = new_stringlist("leon.schumacher@digitalekho.com");
    1.18 -    stringlist_add(addresses2, "this.email@is.invalid");
    1.19 -    cout << "\nretrieving communication type for an unknown address\n";
    1.20 -    oct_result = outgoing_comm_type(session, addresses2, &comm_type);
    1.21 -    cout << "communication type is " << comm_type << "\n";
    1.22 -    cout << "status is " << oct_result << "\n";
    1.23 -    free_stringlist(addresses2);
    1.24 -    assert(oct_result == PEP_STATUS_OK && comm_type == PEP_ct_no_encryption);
    1.25 -
    1.26      cout << "\ngenerating key for testuser\n";
    1.27      identity = new_identity(
    1.28              "testuser@pibit.ch",