Fixed broken tests - getting rid of the old key import through make caused some messes ENGINE-434
authorKrista Bennett <krista@pep-project.org>
Wed, 23 May 2018 12:22:35 +0200
branchENGINE-434
changeset 268600b4c506d25f
parent 2685 01edd04b3c38
child 2687 b439ce4097ff
Fixed broken tests - getting rid of the old key import through make caused some messes
test/include/EncryptMissingPrivateKeyTests.h
test/include/RevokeRegenAttachTests.h
test/msg_2.0.asc
test/src/engine_tests/EncryptMissingPrivateKeyTests.cc
test/src/engine_tests/RevokeRegenAttachTests.cc
     1.1 --- a/test/include/EncryptMissingPrivateKeyTests.h	Wed May 23 11:41:33 2018 +0200
     1.2 +++ b/test/include/EncryptMissingPrivateKeyTests.h	Wed May 23 12:22:35 2018 +0200
     1.3 @@ -12,6 +12,8 @@
     1.4  class EncryptMissingPrivateKeyTests : public EngineTestSessionSuite {
     1.5      public:
     1.6          EncryptMissingPrivateKeyTests(string test_suite, string test_home_dir);
     1.7 +    protected:
     1.8 +        void setup();
     1.9      private:
    1.10          void check_encrypt_missing_private_key();
    1.11  };
     2.1 --- a/test/include/RevokeRegenAttachTests.h	Wed May 23 11:41:33 2018 +0200
     2.2 +++ b/test/include/RevokeRegenAttachTests.h	Wed May 23 12:22:35 2018 +0200
     2.3 @@ -12,6 +12,8 @@
     2.4  class RevokeRegenAttachTests : public EngineTestSessionSuite {
     2.5      public:
     2.6          RevokeRegenAttachTests(string test_suite, string test_home_dir);
     2.7 +    protected:
     2.8 +        void setup();
     2.9      private:
    2.10          void check_revoke_regen_attach();
    2.11  };
     3.1 --- a/test/msg_2.0.asc	Wed May 23 11:41:33 2018 +0200
     3.2 +++ b/test/msg_2.0.asc	Wed May 23 12:22:35 2018 +0200
     3.3 @@ -6,82 +6,82 @@
     3.4   <three-OMGWTFBBQ.edfddffd839274982347239847@pep-project.org>
     3.5  X-pEp-Version: 2.0
     3.6  MIME-Version: 1.0
     3.7 -Content-Type: multipart/mixed; boundary="59c618043d3448636f66533578e2c287"
     3.8 +Content-Type: multipart/mixed; boundary="208cd46c63b42beb5d7fb9702682daa3"
     3.9  
    3.10 ---59c618043d3448636f66533578e2c287
    3.11 +--208cd46c63b42beb5d7fb9702682daa3
    3.12  Content-Type: text/plain; charset="utf-8"
    3.13  Content-Transfer-Encoding: quoted-printable
    3.14  Content-Disposition: inline; filename="msg.txt"
    3.15  
    3.16  this message was encrypted with p=E2=89=A1p https://pEp-project.org
    3.17 ---59c618043d3448636f66533578e2c287
    3.18 +--208cd46c63b42beb5d7fb9702682daa3
    3.19  Content-Type: application/pgp-encrypted
    3.20  
    3.21  Version: 1
    3.22 ---59c618043d3448636f66533578e2c287
    3.23 +--208cd46c63b42beb5d7fb9702682daa3
    3.24  Content-Type: application/octet-stream
    3.25  Content-Disposition: attachment; filename="msg.asc"
    3.26  
    3.27  -----BEGIN PGP MESSAGE-----
    3.28  
    3.29 -hQEMA1oCBdlzCD9NAQf9EwUJRWKPext8q2OktQF8+QrJ37sbLyIosBkPGtuXVVWs
    3.30 -AT0aykXAGJjtJGJosBJCqkJBO6MNfv+dl0nuh4ym/gmH5LWQPZ7P3M+aPTu/tAwV
    3.31 -Lz2SBDyCCPPRIcZ7psGIC9gKH+Hs4cGyVIPT65+WGceYpqounN5NKkveV2e6vXsU
    3.32 -URV3uOYZMk0yj6md5ehqGYQ8Vi6BgTue6oSeTcH+WEpiLHz0JVjDR+JKLQ+HK5ZU
    3.33 -EPMgOlco0HjP846s26ljUoRRr+pesl8ks+35tYKt5yxpcjPxaZ/6UZncp64sGYlg
    3.34 -UWEC1db6k3E/mA55O2Egqh6/Co+wysgFXPPSDjw9/YUBDAOo6/9vKSPoQgEH/Rrj
    3.35 -4db3GUy8zv09hXJ7q39fVRpXO6aBdI975YeZ0duLV763Nbb1x5DIvqhS5R8/bOCB
    3.36 -Et1JYItiLryML9j6kOecVQHMCZod22jl40PQN6lIX6wecuMbgxGG5TGLBICcvvo4
    3.37 -qpXhV/GapFxm3BTFFmg3Odmnt2047fGjoz16SnpJHum2B70OHM32Zk8geDBr+UVR
    3.38 -GoddYcB7ryPlEO0jI72NuJtxeY5mGqocm1vn5KUW7N1F9CDEmqTnuHwGKavKI413
    3.39 -rtBxJTbnBaVPzcJqOXtN02uaJog1c89r/neSVYbEiIhdSCOIm423n/SEYq/Ex42F
    3.40 -2hodZIo3nERaxzfRDmzS6wFHwd8QrWKENP6fAyt205h7S+KY735nnYr+cW6bSLSR
    3.41 -vzmXdoz8aCfPk4XFp3uyeBnhuLSH8oZHycYV1XIlIy4zO0SrQTwr3/NCk2P9JU1X
    3.42 -pGNbv0EVj4LoHeI7AjxXDcfALbVGt4KhGWyoxgzpNCAc3Wr6+KXSTI1Xtw4uAe6n
    3.43 -GmDirn4UgP9f2LMEAZH/8rprLHMeH0PO2Zn18DPoDiDghHnXIIcIGPFxJHKr3Aly
    3.44 -+m6NHT9pcoHDf+0pNR9YpW4pvrMV7eEdvoej/uB269uW3z71/Cx2Hx3oRxD3Km7v
    3.45 -2qFSzpICMhubOiDIiw6F2fkEqQKNkH9Pml0BWwBsyGx1DNfjH+mVP2expYAdjYku
    3.46 -uPOjscbaJmo2BtfTclaM1S+T5jo8EbbkuatkxqykEC99N2DY9SZacYp7pUpaoGB7
    3.47 -oi6fyniNyvSbaCdkj5f/TlGJ3J7BXHaLfXdWwlb/hJANdgmPlN2lKan9jyW0yZg0
    3.48 -Kyu7vmckOHDDgajdoZbRLpuen1xua74Ck2GmCky0SrZi8Sk2hrZEqft2PdR+5iV2
    3.49 -OB76fXsVqHANhrn6NW753EF4PJDLtkx2q/qIMC7qMw+82mf+KTCJLy1Xpz1HFwS4
    3.50 -6i8zR1+MVtwefGJpL7jC4oL9u6hie31IxN7tvfDDHJ6PYFlwxmvktkuVLLXmY486
    3.51 -Hv3yBkMvSKe8Te2vT6GA6znQLOSpQvBpFh0ZUKgCAy11FQkAXNboDJjaAc0rhfKT
    3.52 -KzY8gB6Q161ygCx0Yfwtq2l6MLWFWXx8qQYXY6+Tqzwmr6OpLNMbJ3PtqrX/xXGL
    3.53 -JtHzErk9yAIcsdf7AmEj8uvwrOeA4Sf9gThFo3GiK0DPsgsWsHCuTmY2BHAiRAM3
    3.54 -LqrLkoKM9lP2oYWUbKhSHyjmPR5M1ZLUenixGd2H04CkNSyi5dJCtMo42UE7EhHz
    3.55 -23IvcjkCZUohvDS8EOrULCA/Hdm7A01GF9L/EtGBXvWbBEa2YmAop/FicxxM4I+n
    3.56 -CDbrE5whVxz3TzEH//oyWBgHSjENHTja4P/P2YFYGcjZc0I9TpXAFfeZY/NpqSSQ
    3.57 -BI6upR32GTtSJnrSRy4VRT5RwzQDlezjiyFjU1xjz4bF4laWphNQSwN2xWSe3cAt
    3.58 -yJdm00XbGThr7YpnjveumPwNpCrZVAcPML9jXyozT9mSkLVdaJAI8GH48Anxpo/u
    3.59 -m+/b+zM1hsNEX+jH+h9BxjL964yTr9cvAdTAtA55MeyUsQjLT9KlvnarEMqGWkLY
    3.60 -Od3vXiuv5UrMIhb99IB6eZs3WJv/KTgNbgK7iDX+ECoT1FCh7GT5fDoSALXjNHvp
    3.61 -SrZu21eBa4fSV9tfTtwC319sRESPFFt5NNT4gtBWeS6YhjhmcT/GQdf23Q4ECYiz
    3.62 -s73AT9FJ2MFSl08AZoOyBpUX8UOVPemGF6oDAw2uaAkIM4S71L4EuXwodLqFend6
    3.63 -V5jG1rYmdcU+qBNmboiCtBdW/F/8NsU1T8Avp33fzVd7DbhZdU33b8Qy76HacV89
    3.64 -0AOeQ9+lbTwkyelAVmoC009vf3cIe059q77ZSrwakRJfFubbxu5/YzN5hrMTukb4
    3.65 -Edi9rIUF0nmxSTquUEsaJViakXUEK3G4O4aSrnOUv1035H3eVrD/5bR6DYMXUb/p
    3.66 -5u311a2JtDeil43FzwZqXDBqH72yUB3F4WojqaeQWXsMn2196PTAlQNDm4kyDknb
    3.67 -2QWe5aJG7RAvmwbAYpaDQD8Rv+YbtIYjzim6A51YZq10NuxKydv9N+B+WlfeHxVf
    3.68 -khkYeb+9vMXb5e351oBQ4BH7o4A3Ni4HXV4IT0kEFwcMXmg892bH4Yn0//n95rH7
    3.69 -lqPZl4XDsgPs+YOYg02xq0fFd2aCXFKmTnf8zIFTJYh83sWV0uuHPCo9cJSl1iA7
    3.70 -1ejxClNKqRvByX/Mwzwt+f9k2hNmwrQgVpjcaxux46O5V6L14U962hQzBBN7zyuK
    3.71 -DZ6Bc7r4ydN6eWq8y9JB7jFAu2UNOLqQJqMfR7oSou4LEAG1H6OROhfn/fOZO33c
    3.72 -Vo2yXhNP2E2Yu1s5VaQsmCnQeaxq8p8Au4N/+PZIQwR3Yae5+i1Uv4cJM5pmieC1
    3.73 -0aBDUfHe2hyOstqetusZstXcOGaxLfGpIo3a2drn6oNNPRpntHUD8a90coJCGoW9
    3.74 -dz42snAym6rBqCSehutGZk2MrxFuW/97+1Hj9zx5mOU1euoUUnEeoxWxjrybd0b1
    3.75 -jt2W4dnKxwTvL6TBeRsGjmp3CavbB/1z1uR45TU8nl9WycoqPetqFP4UqTPNGnEI
    3.76 -8KwbwY71aGehBhSej5hdI2Nx3dICbayYtv76v0VVntjrIWM6Co0XOPR4EbDtWZ+D
    3.77 -Xzp2FHFKZTAUA0vzAvnpfgt4dB3d2+MbPS7GUdhP8QhP45LjrxDbO8cF0WPCy6gy
    3.78 -ltegbjnICEBdbASlw9cwAbqfrOnYRjJ8PcOTXgtOrc9JDsN8mlot3URJjc0sbTft
    3.79 -V+rxIjdQqQG5b5zytES5Zes3pWsqT66VgA1MNuPCD7/4MoQervpniufHmI7R00mz
    3.80 -pgbmXApTSJkiGxPHgG7kSOQFOOrjDqofN2mKRWKfaElXyob7Eum03dmvNaiixVlI
    3.81 -6yf8hOcqwXAn9UQ1sqPKzeFhRVqp3yO1phYXIGKMV1qBom2mfbBnJmlZ9fAbAv9j
    3.82 -RnNeQviKIRgcbkx7z1nL5j+XdrIR2mIyUluJ1usOGnpwc4OJf1YSJ81ZZ/8JurWP
    3.83 -aiSTe/+z8l+PuAjdi997NWJmwLJLAbEdigI2k8BwN5USZ+Q3rwz9ar9tLOlIhc8U
    3.84 -dTgnGbW2edqigmYvq7nl4CvcHycFmDkhmTq3Of2GStiVStYGuH+cv0ekM3NM/Soh
    3.85 -VQVauXenRD00W4E=
    3.86 -=oDRB
    3.87 +hQEMA1oCBdlzCD9NAQgAlRp+DFl5NyjR6cqXHAV1PMrgIWBiGcpBOc1slGj0gPg3
    3.88 +IcBZt6a8ArqwchTdaws7Nbqeg/gisvWCRdp0wb0HdlJ9ARt5BEMpzI9YDi8gc139
    3.89 +TSh9eZxAS/oBico1vy7ggpbGo//H+O8MgWvHZBM/pbHCnhDTZLhzTLhghrBA98oP
    3.90 +P4B5hlPSX20PrIREquzac/SCKRPOOodSUsCL0S2/IGd9SMw58lJ7/L7Q57EQBl/w
    3.91 +o63Dyu9NZglSGW6GGfUM2jp0tFR3ZvdrsPotl+sjh7GtFxpw+/IkUibMLoShX+8y
    3.92 +EGj351HoNg8zPFsAVWIe+xjmt8J9bPLFZej7v4Q0bIUBDAOo6/9vKSPoQgEH/RPX
    3.93 +E92QfzX4LVkbmjjAYw2NOr135jeqjThdm7pcwbW38PHkbfoEhkVEFl6bu4aX1ceg
    3.94 +c0XzkD/0pCsta3oRw6j2OMdtYYWxjR0IOhuICqHX1SrS4xa98iZSwKYZRLW4XMqd
    3.95 +dolK2nZktPnHonM3MIyrI1osbxZhTNF41IGgI90SZ4WE10ysYPrGaALCxU4QUD2N
    3.96 +yTXErbTA7Vv+BjdjB+JmCI/jpBPIkxBNGkPDhEo5bdUMS8qJO7SRNPUaGO4R+Dii
    3.97 +/57yY7h08jVa0O6NR7k0Aj6s82Haysq2Wm9pQWSxzMdQKgcvXs0HcG8KBRdelEnq
    3.98 +usz9gHVJuJz4sd92NoDS6wF8/GYWNZhkGX4LQlH3p6D5BUNFJSOrdM4jOuOytgb9
    3.99 +Gz4jxPUCuvxvc5cEuVUyTyyzgaq0EMCalBOymrPp7jL47SmxkO3WGqyYEC34m99m
   3.100 +2iEHkfp0k4GeCjAlgokG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xbsWz7si3K4jM12RusuCXgq8DgepAX2aorZ5bslJvoGhRx9g/y6pHA
   3.131 +CuuK8J7W6JsfZwo27zLxHXaR52AKpzKvceonndUbUW4kKaeeFLpLgjQGxmFu5lR7
   3.132 +Q/1ZNzTEhwea2KAmhFh5Il9Wj2Ko/4VsCj84qYl73dlmYWnsox3IbbAE/BzaLM0J
   3.133 +fwy5K7Eq9GpKheK+X3g3KLIcxiRr0s2kVkZihXlIRCadj53iyB0E/LVptqsWlLti
   3.134 +oUUEkyaHEUfAuA1RfxzNScPwvmMc3usbX3dhyODsLLRJyqmS1uKCgb3jc2CDtT/+
   3.135 +LE+bg+SAmZGjF0NqjPQQ4TYqR2jq5lBrC/jcCILQ26sPMMmMAf4fZVSntxVLePJZ
   3.136 +2c7JwQtbgpgj0/rjrg9hEcri/CC08NwpB5p6X9P0ngFRNpRtnJcw65sTzMHuHD4h
   3.137 +E4FzmL6A28IYk6kK/tReok8Peu4SykJecCuBTmgxvli/G5xIa01ThuRYZgjKSPsA
   3.138 +FwA6mNvRzKGYnm+CLtWpaZU013yknmAO4kBGlzjB+T5ONYdU+NS+NwO8VjY/6WGK
   3.139 +iCgzShBxiXPyNbmtKL7q4aQkmHYwNc41rRlPvfw2uhw/SbiIQn4+l2v9LWx7RsE1
   3.140 +2NH0jPu2Ozi7PEajVw9ViTlFeRv/UlX4v1V2tRcslazOIQuJeEVvk4V4nIplgKDZ
   3.141 +aFtyuqQA4tj+CKqzfHuSxngQSVfxDRTwr1OS3S/WflVR2Kxicl2R2zwwGrr5nerX
   3.142 +ToX0XDuW6mX8Ee6CTCFc+X0DsV6VMhvNE0mDOFjjKHNQqtTsRHH/18dnObdQxo5e
   3.143 +fSKGadO5pl+M
   3.144 +=OFYB
   3.145  -----END PGP MESSAGE-----
   3.146  
   3.147 ---59c618043d3448636f66533578e2c287--
   3.148 +--208cd46c63b42beb5d7fb9702682daa3--
     4.1 --- a/test/src/engine_tests/EncryptMissingPrivateKeyTests.cc	Wed May 23 11:41:33 2018 +0200
     4.2 +++ b/test/src/engine_tests/EncryptMissingPrivateKeyTests.cc	Wed May 23 12:22:35 2018 +0200
     4.3 @@ -6,6 +6,7 @@
     4.4  #include <fstream>
     4.5  #include <string>
     4.6  #include <cstring> // for strcmp()
     4.7 +#include <assert.h>
     4.8  #include <cpptest.h>
     4.9  
    4.10  #include "blacklist.h"
    4.11 @@ -29,6 +30,13 @@
    4.12                                                                        static_cast<Func>(&EncryptMissingPrivateKeyTests::check_encrypt_missing_private_key)));
    4.13  }
    4.14  
    4.15 +void EncryptMissingPrivateKeyTests::setup() {
    4.16 +    EngineTestSessionSuite::setup();
    4.17 +    string recip_key = slurp("test_keys/pub/pep-test-bob-0xC9C2EE39_pub.asc");
    4.18 +    PEP_STATUS status = import_key(session, recip_key.c_str(), recip_key.size(), NULL);
    4.19 +    assert(status == PEP_STATUS_OK);
    4.20 +}
    4.21 +
    4.22  void EncryptMissingPrivateKeyTests::check_encrypt_missing_private_key() {
    4.23      
    4.24      pEp_identity* no_key_identity = new_identity("blacklistself@kgrothoff.org",
     5.1 --- a/test/src/engine_tests/RevokeRegenAttachTests.cc	Wed May 23 11:41:33 2018 +0200
     5.2 +++ b/test/src/engine_tests/RevokeRegenAttachTests.cc	Wed May 23 12:22:35 2018 +0200
     5.3 @@ -7,13 +7,16 @@
     5.4  #include <time.h>
     5.5  #include <iostream>
     5.6  #include <fstream>
     5.7 +#include <assert.h>
     5.8  
     5.9  #include "pEpEngine.h"
    5.10  #include "platform.h"
    5.11  #include "mime.h"
    5.12  #include "message_api.h"
    5.13  
    5.14 -#include "cpptest.h"
    5.15 +#include "test_util.h"
    5.16 +
    5.17 +#include <cpptest.h>
    5.18  #include "EngineTestSessionSuite.h"
    5.19  #include "RevokeRegenAttachTests.h"
    5.20  
    5.21 @@ -25,6 +28,14 @@
    5.22                                                                        static_cast<Func>(&RevokeRegenAttachTests::check_revoke_regen_attach)));
    5.23  }
    5.24  
    5.25 +void RevokeRegenAttachTests::setup() {
    5.26 +    EngineTestSessionSuite::setup();
    5.27 +    string recip_key = slurp("test_keys/pub/pep-test-alice-0x6FF00E97_pub.asc");
    5.28 +    PEP_STATUS status = import_key(session, recip_key.c_str(), recip_key.size(), NULL);
    5.29 +    assert(status == PEP_STATUS_OK);
    5.30 +}
    5.31 +
    5.32 +
    5.33  void RevokeRegenAttachTests::check_revoke_regen_attach() {
    5.34      PEP_STATUS status = PEP_STATUS_OK;   
    5.35