X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Ftesting%2FTestCase.hpp;h=bb6f05d32143e242c0a0898519e1cdbc9545a8da;hb=e14f6ba5183403d7bbf589ef87b0643b12a0f72c;hp=6eab8df655699dd650e33609d4815ca4b316f49d;hpb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;p=anna.git diff --git a/include/anna/testing/TestCase.hpp b/include/anna/testing/TestCase.hpp index 6eab8df..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); - void 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,6 +124,8 @@ public: // getters const unsigned int &getId() const { return a_id; } + 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 @@ -145,6 +147,8 @@ public: private: // private members: unsigned int a_id; + std::string a_key1; + std::string a_key2; std::string a_description; std::vector a_steps; std::vector::const_iterator a_stepsIt;