Added test shells. Please ignore for now. ENGINE-559
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Tue, 04 Jun 2019 15:09:49 +0200
branchENGINE-559
changeset 38302fbdb002d301
parent 3829 e1d53d19bb4d
child 3855 1d92379b4f78
Added test shells. Please ignore for now.
test/include/Message2_1Tests.h
test/src/engine_tests/Message2_1Tests.cc
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/include/Message2_1Tests.h	Tue Jun 04 15:09:49 2019 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +// This file is under GNU General Public License 3.0
     1.5 +// see LICENSE.txt
     1.6 +
     1.7 +#ifndef MESSAGE2_1_H
     1.8 +#define MESSAGE2_1_H
     1.9 +
    1.10 +#include <string>
    1.11 +#include "EngineTestIndividualSuite.h"
    1.12 +
    1.13 +using namespace std;
    1.14 +
    1.15 +class Message2_1Tests : public EngineTestIndividualSuite {
    1.16 +    public:
    1.17 +        Message2_1Tests(string test_suite, string test_home_dir);
    1.18 +    private:
    1.19 +        void check_message2_1();
    1.20 +};
    1.21 +
    1.22 +#endif
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/test/src/engine_tests/Message2_1Tests.cc	Tue Jun 04 15:09:49 2019 +0200
     2.3 @@ -0,0 +1,27 @@
     2.4 +// This file is under GNU General Public License 3.0
     2.5 +// see LICENSE.txt
     2.6 +
     2.7 +#include <stdlib.h>
     2.8 +#include <cstring>
     2.9 +#include <string>
    2.10 +
    2.11 +#include <cpptest.h>
    2.12 +#include "test_util.h"
    2.13 +
    2.14 +#include "pEpEngine.h"
    2.15 +
    2.16 +#include "EngineTestIndividualSuite.h"
    2.17 +#include "Message2_1Tests.h"
    2.18 +
    2.19 +using namespace std;
    2.20 +
    2.21 +Message2_1Tests::Message2_1Tests(string suitename, string test_home_dir) :
    2.22 +    EngineTestIndividualSuite::EngineTestIndividualSuite(suitename, test_home_dir) {
    2.23 +    add_test_to_suite(std::pair<std::string, void (Test::Suite::*)()>(string("Message2_1Tests::check_message2_1"),
    2.24 +                                                                      static_cast<Func>(&Message2_1Tests::check_message2_1)));
    2.25 +}
    2.26 +
    2.27 +void Message2_1Tests::check_message2_1() {
    2.28 +    TEST_ASSERT(true);
    2.29 +}
    2.30 +