ReportConsole to string
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <string>
|
||||
#include "common/Colors.h"
|
||||
#include <sstream>
|
||||
#include "ReportBase.h"
|
||||
|
||||
namespace platform {
|
||||
@@ -10,12 +11,17 @@ namespace platform {
|
||||
public:
|
||||
explicit ReportConsole(json data_, bool compare = false, int index = -1) : ReportBase(data_, compare), selectedIndex(index) {};
|
||||
virtual ~ReportConsole() = default;
|
||||
std::string fileReport();
|
||||
private:
|
||||
int selectedIndex;
|
||||
std::string headerLine(const std::string& text, int utf);
|
||||
void header() override;
|
||||
void do_header();
|
||||
void body() override;
|
||||
void do_body();
|
||||
void footer(double totalScore);
|
||||
void showSummary() override;
|
||||
std::stringstream sheader;
|
||||
std::stringstream sbody;
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user