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