summaryrefslogtreecommitdiff
path: root/tests/unit/Card/Card_GenerateAnswers_test.h
blob: 1b69cba0c8d844a81aaaaed0e9c2d9d5cf35b7ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <vector>
#include <string>
#include <gtest/gtest.h>

#include "../../../src/dictionary/CardPack.h"
#include "../../mocks/Dictionary_mock.h"
#include "../../common/RecordsParam.h"

class Field;

using std::vector;
using std::string;

class GenerateAnswersTest: public testing::TestWithParam<RecordsParam>
{
public:
    GenerateAnswersTest():
        pack(&dict) {}

protected:
    void TearDown();
    void addFieldToPack(unsigned fieldId);

public:
    static const vector<string> fieldNames;

protected:
    vector<Field*> fields;

protected:
    MockDictionary dict;
    CardPack pack;
};