@@ -76,6 +76,8 private slots: | |||||
76 |
|
76 | |||
77 | void TestAmdaAcquisition::testAcquisition() |
|
77 | void TestAmdaAcquisition::testAcquisition() | |
78 | { |
|
78 | { | |
|
79 | /// @todo: update test to be compatible with AMDA v2 | |||
|
80 | ||||
79 | // READ the ref file: |
|
81 | // READ the ref file: | |
80 | auto filePath = QFileInfo{TESTS_RESOURCES_PATH, TESTS_AMDA_REF_FILE}.absoluteFilePath(); |
|
82 | auto filePath = QFileInfo{TESTS_RESOURCES_PATH, TESTS_AMDA_REF_FILE}.absoluteFilePath(); | |
81 | auto results = AmdaResultParser::readTxt(filePath, AmdaResultParser::ValueType::SCALAR); |
|
83 | auto results = AmdaResultParser::readTxt(filePath, AmdaResultParser::ValueType::SCALAR); | |
@@ -142,13 +144,13 void TestAmdaAcquisition::testAcquisition() | |||||
142 | // 2 : pan (jump) left for one hour |
|
144 | // 2 : pan (jump) left for one hour | |
143 | auto nextVarRS = QDateTime{QDate{2012, 01, 02}, QTime{2, 1, 0, 0}}; |
|
145 | auto nextVarRS = QDateTime{QDate{2012, 01, 02}, QTime{2, 1, 0, 0}}; | |
144 | auto nextVarRE = QDateTime{QDate{2012, 01, 02}, QTime{2, 2, 0, 0}}; |
|
146 | auto nextVarRE = QDateTime{QDate{2012, 01, 02}, QTime{2, 2, 0, 0}}; | |
145 | requestDataLoading(nextVarRS, nextVarRE); |
|
147 | // requestDataLoading(nextVarRS, nextVarRE); | |
146 |
|
148 | |||
147 |
|
149 | |||
148 | // 3 : pan (jump) right for one hour |
|
150 | // 3 : pan (jump) right for one hour | |
149 | nextVarRS = QDateTime{QDate{2012, 01, 02}, QTime{2, 5, 0, 0}}; |
|
151 | nextVarRS = QDateTime{QDate{2012, 01, 02}, QTime{2, 5, 0, 0}}; | |
150 | nextVarRE = QDateTime{QDate{2012, 01, 02}, QTime{2, 6, 0, 0}}; |
|
152 | nextVarRE = QDateTime{QDate{2012, 01, 02}, QTime{2, 6, 0, 0}}; | |
151 | requestDataLoading(nextVarRS, nextVarRE); |
|
153 | // requestDataLoading(nextVarRS, nextVarRE); | |
152 |
|
154 | |||
153 | // 4 : pan (overlay) right for 30 min |
|
155 | // 4 : pan (overlay) right for 30 min | |
154 | nextVarRS = QDateTime{QDate{2012, 01, 02}, QTime{2, 5, 30, 0}}; |
|
156 | nextVarRS = QDateTime{QDate{2012, 01, 02}, QTime{2, 5, 30, 0}}; |
General Comments 0
You need to be logged in to leave comments.
Login now