This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
option ( MIDAS_RUN_BATCHMAKE_TESTS "Should MIDAS run BatchMake tests? Specific configuration is required, see modules/batchmake/tests/README." )
2
2
if (MIDAS_RUN_BATCHMAKE_TESTS)
3
+ # functionality tests will be added by the subdirectories
4
+ add_subdirectory ( models )
3
5
add_subdirectory ( controllers )
6
+
7
+ # Style tests for code
8
+ add_midas_style_test( StyleBatchmakeControllers ${CMAKE_SOURCE_DIR} /modules/batchmake/controllers )
9
+ add_midas_style_test( StyleBatchmakeComponents ${CMAKE_SOURCE_DIR} /modules/batchmake/controllers/components )
10
+ add_midas_style_test( StyleBatchmakeModels ${CMAKE_SOURCE_DIR} /modules/batchmake/models )
11
+ add_midas_style_test( StyleBatchmakeModelsBase ${CMAKE_SOURCE_DIR} /modules/batchmake/models/base )
12
+ add_midas_style_test( StyleBatchmakeModelsDAO ${CMAKE_SOURCE_DIR} /modules/batchmake/models/dao )
13
+ add_midas_style_test( StyleBatchmakeModelPDO ${CMAKE_SOURCE_DIR} /modules/batchmake/models/pdo )
14
+
15
+ # Style tests for test code
4
16
add_midas_style_test( StyleTestsBatchmakeControllers ${CMAKE_SOURCE_DIR} /modules/batchmake/tests/controllers )
17
+ add_midas_style_test( StyleTestsBatchmakeComponents ${CMAKE_SOURCE_DIR} /modules/batchmake/tests/controllers/components )
18
+ add_midas_style_test( StyleTestsBatchmakeModels ${CMAKE_SOURCE_DIR} /modules/batchmake/tests/models )
19
+ add_midas_style_test( StyleTestsBatchmakeModelsBase ${CMAKE_SOURCE_DIR} /modules/batchmake/tests/models/base )
20
+
5
21
endif ()
6
22
Original file line number Diff line number Diff line change @@ -2,6 +2,3 @@ add_subdirectory( components )
2
2
3
3
add_midas_test( BatchmakeConfigController ConfigControllerTest.php )
4
4
5
- # Style
6
- add_midas_style_test( StyleBatchmakeControllers ${CMAKE_SOURCE_DIR} /modules/batchmake/controllers )
7
- add_midas_style_test( StyleTestsBatchmakeComponents ${CMAKE_SOURCE_DIR} /modules/batchmake/tests/controllers/components )
Original file line number Diff line number Diff line change 1
1
2
2
3
- add_midas_test( KWBatchmakeComponent KWBatchmakeComponentTest.php )
4
-
5
- # Style
6
- add_midas_style_test( StyleBatchmakeComponents ${CMAKE_SOURCE_DIR} /modules/batchmake/controllers/components )
3
+ add_midas_test( KWBatchmakeComponent KWBatchmakeComponentTest.php )
You can’t perform that action at this time.
0 commit comments