2018-05-24 18:35:16 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CheckableItems.h"
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
class CheckableTest
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
CheckableItems m_items;
|
|
|
|
QString m_name;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CheckableTest(const char *name, std::initializer_list<std::string> items);
|
|
|
|
|
|
|
|
size_t size() const;
|
|
|
|
const QString &name() const;
|
|
|
|
const CheckableItems &items() const;
|
|
|
|
CheckableItems &items();
|
2018-12-02 17:26:22 +00:00
|
|
|
|
|
|
|
unsigned int getPoints() const;
|
2018-05-24 18:35:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
using CheckableTests = std::vector<CheckableTest>;
|