@@ -1,5 +1,7 | |||
|
1 | 1 | #include "FuzzingDefs.h" |
|
2 | 2 | |
|
3 | 3 | const QString NB_MAX_OPERATIONS_PROPERTY = QStringLiteral("component"); |
|
4 | 4 | const QString NB_MAX_VARIABLES_PROPERTY = QStringLiteral("nbMaxVariables"); |
|
5 | 5 | const QString AVAILABLE_OPERATIONS_PROPERTY = QStringLiteral("availableOperations"); |
|
6 | const QString METADATA_POOL_PROPERTY = QStringLiteral("metadataPool"); | |
|
7 | const QString PROVIDER_PROPERTY = QStringLiteral("provider"); |
@@ -1,24 +1,35 | |||
|
1 | 1 | #ifndef SCIQLOP_FUZZINGDEFS_H |
|
2 | 2 | #define SCIQLOP_FUZZINGDEFS_H |
|
3 | 3 | |
|
4 | 4 | #include <QString> |
|
5 | #include <QVariantHash> | |
|
6 | ||
|
5 | 7 | // /////// // |
|
6 | 8 | // Aliases // |
|
7 | 9 | // /////// // |
|
8 | 10 | |
|
11 | using MetadataPool = std::vector<QVariantHash>; | |
|
12 | Q_DECLARE_METATYPE(MetadataPool) | |
|
13 | ||
|
9 | 14 | using Properties = QVariantHash; |
|
10 | 15 | |
|
11 | 16 | // ///////// // |
|
12 | 17 | // Constants // |
|
13 | 18 | // ///////// // |
|
14 | 19 | |
|
15 | 20 | /// Max number of operations to generate |
|
16 | 21 | extern const QString NB_MAX_OPERATIONS_PROPERTY; |
|
17 | 22 | |
|
18 | 23 | /// Max number of variables to manipulate through operations |
|
19 | 24 | extern const QString NB_MAX_VARIABLES_PROPERTY; |
|
20 | 25 | |
|
21 | 26 | /// Set of operations available for the test |
|
22 | 27 | extern const QString AVAILABLE_OPERATIONS_PROPERTY; |
|
23 | 28 | |
|
29 | /// Set of metadata that can be associated to a variable | |
|
30 | extern const QString METADATA_POOL_PROPERTY; | |
|
31 | ||
|
32 | /// Provider used to retrieve data | |
|
33 | extern const QString PROVIDER_PROPERTY; | |
|
34 | ||
|
24 | 35 | #endif // SCIQLOP_FUZZINGDEFS_H |
General Comments 0
You need to be logged in to leave comments.
Login now