##// END OF EJS Templates
Update TestCosinusAcquisition to the new onRequestDataLoading API
perrinel -
r812:bec204429a95
parent child
Show More
@@ -165,8 +165,7 void TestCosinusAcquisition::testAcquisition()
165 165 QFETCH(std::vector<SqpRange>, operations);
166 166 for (const auto &operation : operations) {
167 167 // Asks request on the variable and waits during its execution
168 sqpApp->variableController().onRequestDataLoading({variable}, operation, variable->range(),
169 true);
168 sqpApp->variableController().onRequestDataLoading({variable}, operation, true);
170 169
171 170 QTest::qWait(operationDelay);
172 171 validateVariable(variable, operation);
@@ -175,8 +174,7 void TestCosinusAcquisition::testAcquisition()
175 174
176 175 for (const auto &operation : operations) {
177 176 // Asks request on the variable and waits during its execution
178 sqpApp->variableController().onRequestDataLoading({variable}, operation, variable->range(),
179 true);
177 sqpApp->variableController().onRequestDataLoading({variable}, operation, true);
180 178 }
181 179 QTest::qWait(operationDelay);
182 180 validateVariable(variable, operations.back());
General Comments 0
You need to be logged in to leave comments. Login now