##// END OF EJS Templates
Adds initial test case
Adds initial test case

File last commit:

r1209:324a3ee21c58
r1210:be0b9c5e4602
Show More
FuzzingDefs.h
38 lines | 907 B | text/x-c | CLexer
Alexandre Leroux
Adds variable controller and properties to test structure...
r1200 #ifndef SCIQLOP_FUZZINGDEFS_H
#define SCIQLOP_FUZZINGDEFS_H
Alexandre Leroux
Adds "number of operations" and "number of variables" properties for the tests
r1201 #include <QString>
Alexandre Leroux
Implements "Variable creation" operation (1)...
r1207 #include <QVariantHash>
Alexandre Leroux
Adds variable controller and properties to test structure...
r1200 // /////// //
// Aliases //
// /////// //
Alexandre Leroux
Implements "Variable creation" operation (1)...
r1207 using MetadataPool = std::vector<QVariantHash>;
Q_DECLARE_METATYPE(MetadataPool)
Alexandre Leroux
Adds variable controller and properties to test structure...
r1200 using Properties = QVariantHash;
Alexandre Leroux
Adds "number of operations" and "number of variables" properties for the tests
r1201 // ///////// //
// Constants //
// ///////// //
/// Max number of operations to generate
extern const QString NB_MAX_OPERATIONS_PROPERTY;
/// Max number of variables to manipulate through operations
extern const QString NB_MAX_VARIABLES_PROPERTY;
Alexandre Leroux
Defines operations pool...
r1204 /// Set of operations available for the test
extern const QString AVAILABLE_OPERATIONS_PROPERTY;
Alexandre Leroux
Completes fuzzing test structure by setting initial range for the time controller
r1209 /// Max range that an operation can reach
extern const QString MAX_RANGE_PROPERTY;
Alexandre Leroux
Implements "Variable creation" operation (1)...
r1207 /// Set of metadata that can be associated to a variable
extern const QString METADATA_POOL_PROPERTY;
/// Provider used to retrieve data
extern const QString PROVIDER_PROPERTY;
Alexandre Leroux
Adds variable controller and properties to test structure...
r1200 #endif // SCIQLOP_FUZZINGDEFS_H