projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug when removing test case keys
[anna.git]
/
include
/
anna
/
testing
/
TestCase.hpp
diff --git
a/include/anna/testing/TestCase.hpp
b/include/anna/testing/TestCase.hpp
index
d17a9f8
..
bb6f05d
100644
(file)
--- 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);
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:
public:
@@
-124,7
+124,8
@@
public:
// getters
const unsigned int &getId() const { return a_id; }
// 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
const std::string &getDescription() const { return a_description; }
// setters
@@
-146,7
+147,8
@@
public:
private:
// private members:
unsigned int a_id;
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<TestStep*> a_steps;
std::vector<TestStep*>::const_iterator a_stepsIt;
std::string a_description;
std::vector<TestStep*> a_steps;
std::vector<TestStep*>::const_iterator a_stepsIt;