Refactored command line parser to be more cohesive
Also added a set of unit tests for them (incomplete)
This commit is contained in:
1 parent
06e959be3e
commit
163088a11f
12 files changed
+605
-416
No files matched your search
@@ -99,7 +99,7 @@ namespace Catch {
|
||||
std::string m_indent;
|
||||
std::ostringstream m_log;
|
||||
std::set<std::string> m_recorders;
|
||||
};
|
||||
};
|
||||
|
||||
class EmbeddedRunner {
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace Catch {
|
||||
std::string getOutput() {
|
||||
return m_output;
|
||||
}
|
||||
|
||||
|
||||
const Totals& getTotals() const {
|
||||
return m_totals;
|
||||
}
|
||||
@@ -124,7 +124,7 @@ namespace Catch {
|
||||
std::string getLog() const {
|
||||
return m_reporter->getLog();
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
Totals m_totals;
|
||||
std::string m_output;
|
||||
|
||||
Reference in new issue
Block a user