tweaked test for more info
authorKrista Bennett <krista@pep-project.org>
Wed, 25 Apr 2018 10:47:10 +0200
changeset 26305f5f392090b8
parent 2629 211719bc9cf7
child 2631 c99b50206039
child 2646 0e07dcbd07f9
child 2647 538d85643401
child 2657 6d083c04dd77
tweaked test for more info
test/encrypt_attach_private_key_test.cc
test/test_util.cc
     1.1 --- a/test/encrypt_attach_private_key_test.cc	Wed Apr 25 08:57:55 2018 +0200
     1.2 +++ b/test/encrypt_attach_private_key_test.cc	Wed Apr 25 10:47:10 2018 +0200
     1.3 @@ -161,6 +161,7 @@
     1.4      // Same address, same_user_id, trusted
     1.5      cout << "Case 2: Same address, same user_id, trusted" << endl;
     1.6      status = trust_personal_key(session, same_addr_same_uid);
     1.7 +    cout << "Trust personal key for " << same_addr_same_uid << " gives status " << tl_status_string(status) << " (" << status << ")" << endl;
     1.8      assert(status == PEP_STATUS_OK);
     1.9      message* enc_same_addr_same_uid_trusted = NULL;
    1.10      status = encrypt_message_and_add_priv_key(session,
     2.1 --- a/test/test_util.cc	Wed Apr 25 08:57:55 2018 +0200
     2.2 +++ b/test/test_util.cc	Wed Apr 25 10:47:10 2018 +0200
     2.3 @@ -206,6 +206,7 @@
     2.4          case PEP_UNKNOWN_ERROR:
     2.5              return "PEP_UNKNOWN_ERROR";
     2.6          default:
     2.7 + 
     2.8              return "PEP_STATUS_OMGWTFBBQ - This means you're using a status the test lib doesn't know about!";
     2.9      }
    2.10  }