X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Ftesting%2FTestCase.hpp;fp=include%2Fanna%2Ftesting%2FTestCase.hpp;h=bb6f05d32143e242c0a0898519e1cdbc9545a8da;hp=d17a9f86a3eb6127298bc8a0b2dae55be5f8847e;hb=4275d46f5d3c3a150ced258ae20c985520f6477a;hpb=f34b8069233e9e09208339bb79d8576c1ff962e1 diff --git a/include/anna/testing/TestCase.hpp b/include/anna/testing/TestCase.hpp index d17a9f8..bb6f05d 100644 --- a/include/anna/testing/TestCase.hpp +++ b/include/anna/testing/TestCase.hpp @@ -42,7 +42,7 @@ namespace testing { class TestCase { void assertInitialized() const noexcept(false); - std::string assertMessage(const anna::DataBlock &db, bool toEntity) noexcept(false); + void assertMessage(const anna::DataBlock &db, bool toEntity, std::string &key1, std::string &key2) noexcept(false); public: @@ -124,7 +124,8 @@ public: // getters const unsigned int &getId() const { return a_id; } - const std::string &getKey() const { return a_key; } + const std::string &getKey1() const { return a_key1; } + const std::string &getKey2() const { return a_key2; } const std::string &getDescription() const { return a_description; } // setters @@ -146,7 +147,8 @@ public: private: // private members: unsigned int a_id; - std::string a_key; + std::string a_key1; + std::string a_key2; std::string a_description; std::vector a_steps; std::vector::const_iterator a_stepsIt;