@@ -1,5 +1,7 | |||||
1 | #include "FuzzingDefs.h" |
|
1 | #include "FuzzingDefs.h" | |
2 |
|
2 | |||
3 | const QString NB_MAX_OPERATIONS_PROPERTY = QStringLiteral("component"); |
|
3 | const QString NB_MAX_OPERATIONS_PROPERTY = QStringLiteral("component"); | |
4 | const QString NB_MAX_VARIABLES_PROPERTY = QStringLiteral("nbMaxVariables"); |
|
4 | const QString NB_MAX_VARIABLES_PROPERTY = QStringLiteral("nbMaxVariables"); | |
5 | const QString AVAILABLE_OPERATIONS_PROPERTY = QStringLiteral("availableOperations"); |
|
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 | #ifndef SCIQLOP_FUZZINGDEFS_H |
|
1 | #ifndef SCIQLOP_FUZZINGDEFS_H | |
2 | #define SCIQLOP_FUZZINGDEFS_H |
|
2 | #define SCIQLOP_FUZZINGDEFS_H | |
3 |
|
3 | |||
4 | #include <QString> |
|
4 | #include <QString> | |
|
5 | #include <QVariantHash> | |||
|
6 | ||||
5 | // /////// // |
|
7 | // /////// // | |
6 | // Aliases // |
|
8 | // Aliases // | |
7 | // /////// // |
|
9 | // /////// // | |
8 |
|
10 | |||
|
11 | using MetadataPool = std::vector<QVariantHash>; | |||
|
12 | Q_DECLARE_METATYPE(MetadataPool) | |||
|
13 | ||||
9 | using Properties = QVariantHash; |
|
14 | using Properties = QVariantHash; | |
10 |
|
15 | |||
11 | // ///////// // |
|
16 | // ///////// // | |
12 | // Constants // |
|
17 | // Constants // | |
13 | // ///////// // |
|
18 | // ///////// // | |
14 |
|
19 | |||
15 | /// Max number of operations to generate |
|
20 | /// Max number of operations to generate | |
16 | extern const QString NB_MAX_OPERATIONS_PROPERTY; |
|
21 | extern const QString NB_MAX_OPERATIONS_PROPERTY; | |
17 |
|
22 | |||
18 | /// Max number of variables to manipulate through operations |
|
23 | /// Max number of variables to manipulate through operations | |
19 | extern const QString NB_MAX_VARIABLES_PROPERTY; |
|
24 | extern const QString NB_MAX_VARIABLES_PROPERTY; | |
20 |
|
25 | |||
21 | /// Set of operations available for the test |
|
26 | /// Set of operations available for the test | |
22 | extern const QString AVAILABLE_OPERATIONS_PROPERTY; |
|
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 | #endif // SCIQLOP_FUZZINGDEFS_H |
|
35 | #endif // SCIQLOP_FUZZINGDEFS_H |
General Comments 0
You need to be logged in to leave comments.
Login now