mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-23 15:14:37 +01:00
Add setup() const accessor
This commit is contained in:
parent
48eab9c4e9
commit
c0d76f516c
@ -32,8 +32,9 @@ public:
|
||||
virtual std::string toString() = 0;
|
||||
|
||||
void addSetup(const std::vector<std::string>& setup);
|
||||
const std::vector<std::string>& setup() const;
|
||||
|
||||
protected:
|
||||
private:
|
||||
std::vector<std::string> _setup;
|
||||
};
|
||||
|
||||
@ -68,6 +69,13 @@ inline void Test::addSetup(const std::vector<std::string>& setup)
|
||||
_setup = setup;
|
||||
}
|
||||
|
||||
|
||||
inline const std::vector<std::string>& Test::setup() const
|
||||
{
|
||||
return _setup;
|
||||
}
|
||||
|
||||
|
||||
} // namespace CppUnit
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user