@@ -0,0 +1,39 | |||||
|
1 | #include "AmdaResultParser.h" | |||
|
2 | ||||
|
3 | #include <QObject> | |||
|
4 | #include <QtTest> | |||
|
5 | ||||
|
6 | namespace { | |||
|
7 | ||||
|
8 | /// Path for the tests | |||
|
9 | const auto TESTS_RESOURCES_PATH | |||
|
10 | = QFileInfo{QString{AMDA_TESTS_RESOURCES_DIR}, "TestAmdaResultParser"}.absoluteFilePath(); | |||
|
11 | ||||
|
12 | QString inputFilePath(const QString &inputFileName) | |||
|
13 | { | |||
|
14 | return QFileInfo{TESTS_RESOURCES_PATH, inputFileName}.absoluteFilePath(); | |||
|
15 | } | |||
|
16 | ||||
|
17 | } // namespace | |||
|
18 | ||||
|
19 | class TestAmdaResultParser : public QObject { | |||
|
20 | Q_OBJECT | |||
|
21 | private slots: | |||
|
22 | /// Input test data | |||
|
23 | /// @sa testTxtJson() | |||
|
24 | void testReadTxt_data(); | |||
|
25 | ||||
|
26 | /// Tests parsing of a TXT file | |||
|
27 | void testReadTxt(); | |||
|
28 | }; | |||
|
29 | ||||
|
30 | void TestAmdaResultParser::testReadTxt_data() | |||
|
31 | { | |||
|
32 | } | |||
|
33 | ||||
|
34 | void TestAmdaResultParser::testReadTxt() | |||
|
35 | { | |||
|
36 | } | |||
|
37 | ||||
|
38 | QTEST_MAIN(TestAmdaResultParser) | |||
|
39 | #include "TestAmdaResultParser.moc" |
General Comments 0
You need to be logged in to leave comments.
Login now