... sync
authorVolker Birk <vb@pep-project.org>
Fri, 17 May 2019 17:59:06 +0200
branchsync
changeset 37209ed76a79d784
parent 3719 6806be48b327
child 3721 11c6d627b261
...
src/pEpEngine.c
src/pEpEngine.h
test/src/SuiteMaker.cc
     1.1 --- a/src/pEpEngine.c	Fri May 17 16:20:19 2019 +0200
     1.2 +++ b/src/pEpEngine.c	Fri May 17 17:59:06 2019 +0200
     1.3 @@ -4997,6 +4997,9 @@
     1.4      return PEP_ENGINE_VERSION;
     1.5  }
     1.6  
     1.7 +DYNAMIC_API const char* get_protocol_version() {
     1.8 +    return PEP_VERSION;
     1.9 +}
    1.10  
    1.11  DYNAMIC_API PEP_STATUS reset_pEptest_hack(PEP_SESSION session)
    1.12  {
     2.1 --- a/src/pEpEngine.h	Fri May 17 16:20:19 2019 +0200
     2.2 +++ b/src/pEpEngine.h	Fri May 17 17:59:06 2019 +0200
     2.3 @@ -1300,6 +1300,10 @@
     2.4  //
     2.5  DYNAMIC_API const char* get_engine_version();
     2.6  
     2.7 +// get_protocol_version() - returns the pEp protocol version
     2.8 +
     2.9 +DYNAMIC_API const char *get_protocol_version();
    2.10 +
    2.11  // is_pEp_user() - returns true if the USER corresponding to this identity 
    2.12  //                 has been listed in the *person* table as a pEp user. 
    2.13  //
     3.1 --- a/test/src/SuiteMaker.cc	Fri May 17 16:20:19 2019 +0200
     3.2 +++ b/test/src/SuiteMaker.cc	Fri May 17 17:59:06 2019 +0200
     3.3 @@ -22,6 +22,7 @@
     3.4  #include "BloblistTests.h"
     3.5  #include "NewUpdateIdAndMyselfTests.h"
     3.6  #include "NoOwnIdentWritesOnDecryptTests.h"
     3.7 +#include "LiteralFilenameTests.h"
     3.8  #include "I18nTests.h"
     3.9  #include "IdentityListTests.h"
    3.10  #include "PgpBinaryTests.h"
    3.11 @@ -84,6 +85,7 @@
    3.12      "BloblistTests",
    3.13      "NewUpdateIdAndMyselfTests",
    3.14      "NoOwnIdentWritesOnDecryptTests",
    3.15 +    "LiteralFilenameTests",
    3.16      "I18nTests",
    3.17      "IdentityListTests",
    3.18      "PgpBinaryTests",
    3.19 @@ -136,7 +138,7 @@
    3.20  };
    3.21  
    3.22  // This file is generated, so magic constants are ok.
    3.23 -int SuiteMaker::num_suites = 59;
    3.24 +int SuiteMaker::num_suites = 60;
    3.25  
    3.26  void SuiteMaker::suitemaker_build(const char* test_class_name, const char* test_home, Test::Suite** test_suite) {
    3.27      if (strcmp(test_class_name, "URIAddressTests") == 0)
    3.28 @@ -159,6 +161,8 @@
    3.29          *test_suite = new NewUpdateIdAndMyselfTests(test_class_name, test_home);
    3.30      else if (strcmp(test_class_name, "NoOwnIdentWritesOnDecryptTests") == 0)
    3.31          *test_suite = new NoOwnIdentWritesOnDecryptTests(test_class_name, test_home);
    3.32 +    else if (strcmp(test_class_name, "LiteralFilenameTests") == 0)
    3.33 +        *test_suite = new LiteralFilenameTests(test_class_name, test_home);
    3.34      else if (strcmp(test_class_name, "I18nTests") == 0)
    3.35          *test_suite = new I18nTests(test_class_name, test_home);
    3.36      else if (strcmp(test_class_name, "IdentityListTests") == 0)