missing includes sync
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Mon, 06 May 2019 19:51:16 +0200
branchsync
changeset 363927d2a6ed40ff
parent 3631 f7f57f9a5e01
child 3640 b1afdd1d0230
missing includes
test/src/SuiteMaker.cc
test/src/engine_tests/DeleteKeyTests.cc
     1.1 --- a/test/src/SuiteMaker.cc	Mon May 06 15:09:31 2019 +0200
     1.2 +++ b/test/src/SuiteMaker.cc	Mon May 06 19:51:16 2019 +0200
     1.3 @@ -20,6 +20,7 @@
     1.4  #include "BloblistTests.h"
     1.5  #include "NewUpdateIdAndMyselfTests.h"
     1.6  #include "NoOwnIdentWritesOnDecryptTests.h"
     1.7 +#include "SyncSendKeysMsgTests.h"
     1.8  #include "I18nTests.h"
     1.9  #include "IdentityListTests.h"
    1.10  #include "PgpBinaryTests.h"
    1.11 @@ -62,6 +63,7 @@
    1.12  #include "KeyResetMessageTests.h"
    1.13  #include "DeleteKeyTests.h"
    1.14  #include "KeyAttachmentTests.h"
    1.15 +#include "DecodePGTests.h"
    1.16  #include "OwnKeysRetrieveTests.h"
    1.17  #include "TrustManipulationTests.h"
    1.18  #include "SyncTests.h"
    1.19 @@ -77,6 +79,7 @@
    1.20      "BloblistTests",
    1.21      "NewUpdateIdAndMyselfTests",
    1.22      "NoOwnIdentWritesOnDecryptTests",
    1.23 +    "SyncSendKeysMsgTests",
    1.24      "I18nTests",
    1.25      "IdentityListTests",
    1.26      "PgpBinaryTests",
    1.27 @@ -119,6 +122,7 @@
    1.28      "KeyResetMessageTests",
    1.29      "DeleteKeyTests",
    1.30      "KeyAttachmentTests",
    1.31 +    "DecodePGTests",
    1.32      "OwnKeysRetrieveTests",
    1.33      "TrustManipulationTests",
    1.34      "SyncTests",
    1.35 @@ -126,7 +130,7 @@
    1.36  };
    1.37  
    1.38  // This file is generated, so magic constants are ok.
    1.39 -int SuiteMaker::num_suites = 54;
    1.40 +int SuiteMaker::num_suites = 56;
    1.41  
    1.42  void SuiteMaker::suitemaker_build(const char* test_class_name, const char* test_home, Test::Suite** test_suite) {
    1.43      if (strcmp(test_class_name, "MimeTests") == 0)
    1.44 @@ -145,6 +149,8 @@
    1.45          *test_suite = new NewUpdateIdAndMyselfTests(test_class_name, test_home);
    1.46      else if (strcmp(test_class_name, "NoOwnIdentWritesOnDecryptTests") == 0)
    1.47          *test_suite = new NoOwnIdentWritesOnDecryptTests(test_class_name, test_home);
    1.48 +    else if (strcmp(test_class_name, "SyncSendKeysMsgTests") == 0)
    1.49 +        *test_suite = new SyncSendKeysMsgTests(test_class_name, test_home);
    1.50      else if (strcmp(test_class_name, "I18nTests") == 0)
    1.51          *test_suite = new I18nTests(test_class_name, test_home);
    1.52      else if (strcmp(test_class_name, "IdentityListTests") == 0)
    1.53 @@ -229,6 +235,8 @@
    1.54          *test_suite = new DeleteKeyTests(test_class_name, test_home);
    1.55      else if (strcmp(test_class_name, "KeyAttachmentTests") == 0)
    1.56          *test_suite = new KeyAttachmentTests(test_class_name, test_home);
    1.57 +    else if (strcmp(test_class_name, "DecodePGTests") == 0)
    1.58 +        *test_suite = new DecodePGTests(test_class_name, test_home);
    1.59      else if (strcmp(test_class_name, "OwnKeysRetrieveTests") == 0)
    1.60          *test_suite = new OwnKeysRetrieveTests(test_class_name, test_home);
    1.61      else if (strcmp(test_class_name, "TrustManipulationTests") == 0)
     2.1 --- a/test/src/engine_tests/DeleteKeyTests.cc	Mon May 06 15:09:31 2019 +0200
     2.2 +++ b/test/src/engine_tests/DeleteKeyTests.cc	Mon May 06 19:51:16 2019 +0200
     2.3 @@ -3,7 +3,9 @@
     2.4  
     2.5  #include <stdlib.h>
     2.6  #include <string>
     2.7 +#include <cstring>
     2.8  #include <cpptest.h>
     2.9 +#include <assert.h>
    2.10  
    2.11  #include "pEpEngine.h"
    2.12  #include "test_util.h"