Added test for french trustwords
authorEdouard Tisserant
Sat, 02 Jul 2016 18:33:52 +0200
changeset 7910c0fa91db00e
parent 790 33f46c1babcc
child 792 211650387560
Added test for french trustwords
test/pEpEngineTest.cc
     1.1 --- a/test/pEpEngineTest.cc	Sat Jul 02 18:15:42 2016 +0200
     1.2 +++ b/test/pEpEngineTest.cc	Sat Jul 02 18:33:52 2016 +0200
     1.3 @@ -176,7 +176,12 @@
     1.4      size_t wsize;
     1.5      trustword(session, 2342, "en", &word, &wsize);
     1.6      assert(word);
     1.7 -    cout << "the trustword for 2342 is " << word << "\n";
     1.8 +    cout << "the English trustword for 2342 is " << word << "\n";
     1.9 +    pEp_free(word);
    1.10 +    cout << "\nfinding French trustword for 2342...\n";
    1.11 +    trustword(session, 2342, "fr", &word, &wsize);
    1.12 +    assert(word);
    1.13 +    cout << "the French trustword for 2342 is " << word << "\n";
    1.14      pEp_free(word);
    1.15  
    1.16      const string fingerprint = "4942 2235 FC99 585B 891C  6653 0C7B 109B FA72 61F7";