@@ -0,0 +1,37 | |||||
|
1 | #include <QObject> | |||
|
2 | #include <QtTest> | |||
|
3 | ||||
|
4 | class TestVariableSync : public QObject { | |||
|
5 | Q_OBJECT | |||
|
6 | ||||
|
7 | private slots: | |||
|
8 | /// Input data for @sa testSync() | |||
|
9 | void testSync_data(); | |||
|
10 | ||||
|
11 | /// Tests synchronization between variables through several operations | |||
|
12 | void testSync(); | |||
|
13 | }; | |||
|
14 | ||||
|
15 | void TestVariableSync::testSync_data() | |||
|
16 | { | |||
|
17 | // ////////////// // | |||
|
18 | // Test structure // | |||
|
19 | // ////////////// // | |||
|
20 | ||||
|
21 | /// @todo | |||
|
22 | ||||
|
23 | // ////////// // | |||
|
24 | // Test cases // | |||
|
25 | // ////////// // | |||
|
26 | ||||
|
27 | /// @todo | |||
|
28 | } | |||
|
29 | ||||
|
30 | void TestVariableSync::testSync() | |||
|
31 | { | |||
|
32 | /// @todo | |||
|
33 | } | |||
|
34 | ||||
|
35 | QTEST_MAIN(TestVariableSync) | |||
|
36 | ||||
|
37 | #include "TestVariableSync.moc" |
@@ -7,7 +7,8 tests = [ | |||||
7 | [['Data/TestTwoDimArrayData.cpp'],'test_2d','Two Dim Array test'], |
|
7 | [['Data/TestTwoDimArrayData.cpp'],'test_2d','Two Dim Array test'], | |
8 | [['DataSource/TestDataSourceController.cpp'],'test_data_source','DataSourceController test'], |
|
8 | [['DataSource/TestDataSourceController.cpp'],'test_data_source','DataSourceController test'], | |
9 | [['Variable/TestVariableCacheController.cpp'],'test_variable_cache','VariableCacheController test'], |
|
9 | [['Variable/TestVariableCacheController.cpp'],'test_variable_cache','VariableCacheController test'], | |
10 | [['Variable/TestVariable.cpp'],'test_variable','Variable test'] |
|
10 | [['Variable/TestVariable.cpp'],'test_variable','Variable test'], | |
|
11 | [['Variable/TestVariableSync.cpp'],'test_variable_sync','Variable synchronization test'] | |||
11 | ] |
|
12 | ] | |
12 |
|
13 | |||
13 | foreach unit_test : tests |
|
14 | foreach unit_test : tests |
General Comments 0
You need to be logged in to leave comments.
Login now