From 4f6d96e79a3aed6b7906d80dfa9185bda5ea2518 2017-12-19 14:05:07 From: Alexandre Leroux Date: 2017-12-19 14:05:07 Subject: [PATCH] Defines VariableState struct (1) Creates the struct representing a test state (variable, expected range of the variable, etc.). This structure will be used to validate an operation after its execution --- diff --git a/plugins/amda/tests/FuzzingDefs.h b/plugins/amda/tests/FuzzingDefs.h index 87c5529..4a68cbd 100644 --- a/plugins/amda/tests/FuzzingDefs.h +++ b/plugins/amda/tests/FuzzingDefs.h @@ -1,9 +1,13 @@ #ifndef SCIQLOP_FUZZINGDEFS_H #define SCIQLOP_FUZZINGDEFS_H +#include + #include #include +#include + // /////// // // Aliases // // /////// // @@ -38,4 +42,16 @@ extern const QString PROVIDER_PROPERTY; /// Time left for an operation to execute extern const QString OPERATION_DELAY_PROPERTY; + +// /////// // +// Structs // +// /////// // + +class Variable; + +struct VariableState { + std::shared_ptr m_Variable{nullptr}; + SqpRange m_Range{INVALID_RANGE}; +}; + #endif // SCIQLOP_FUZZINGDEFS_H