projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow to clear an specific test case
[anna.git]
/
include
/
anna
/
testing
/
TestCase.hpp
diff --git
a/include/anna/testing/TestCase.hpp
b/include/anna/testing/TestCase.hpp
index
6eab8df
..
d17a9f8
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);
-
void
assertMessage(const anna::DataBlock &db, bool toEntity) noexcept(false);
+
std::string
assertMessage(const anna::DataBlock &db, bool toEntity) noexcept(false);
public:
public:
@@
-124,6
+124,7
@@
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 &getDescription() const { return a_description; }
// setters
const std::string &getDescription() const { return a_description; }
// setters
@@
-145,6
+146,7
@@
public:
private:
// private members:
unsigned int a_id;
private:
// private members:
unsigned int a_id;
+ std::string a_key;
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;