Skip to content

Commit 0df86d3

Browse files
committed
Revise FppTest
Sort file lists
1 parent aea5bc3 commit 0df86d3

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

FppTest/component/active/CMakeLists.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# ======================================================================
44

55
set(SOURCE_FILES
6+
"${CMAKE_CURRENT_LIST_DIR}/ActiveTest.cpp"
67
"${CMAKE_CURRENT_LIST_DIR}/active.fpp"
7-
"${CMAKE_CURRENT_LIST_DIR}/port_types.fpp"
8-
"${CMAKE_CURRENT_LIST_DIR}/port_index_enums.fpp"
98
"${CMAKE_CURRENT_LIST_DIR}/fpp_types.fpp"
10-
"${CMAKE_CURRENT_LIST_DIR}/ActiveTest.cpp"
9+
"${CMAKE_CURRENT_LIST_DIR}/port_index_enums.fpp"
10+
"${CMAKE_CURRENT_LIST_DIR}/port_types.fpp"
1111
)
1212

1313
register_fprime_module()
@@ -31,30 +31,30 @@ set(UT_MOD_DEPS
3131
# Add unit test directory
3232
# UT_SOURCE_FILES: Sources for unit test
3333
set(UT_SOURCE_FILES
34-
"${CMAKE_CURRENT_LIST_DIR}/active.fpp"
35-
"${CMAKE_CURRENT_LIST_DIR}/port_types.fpp"
36-
"${CMAKE_CURRENT_LIST_DIR}/port_index_enums.fpp"
37-
"${CMAKE_CURRENT_LIST_DIR}/fpp_types.fpp"
38-
"${CMAKE_CURRENT_LIST_DIR}/test/ut/Tester.cpp"
39-
"${CMAKE_CURRENT_LIST_DIR}/../tests/TestMain.cpp"
40-
"${CMAKE_CURRENT_LIST_DIR}/../tests/Tests.cpp"
41-
"${CMAKE_CURRENT_LIST_DIR}/../tests/TesterHandlers.cpp"
42-
"${CMAKE_CURRENT_LIST_DIR}/../tests/TesterHelpers.cpp"
43-
"${CMAKE_CURRENT_LIST_DIR}/../tests/PortTests.cpp"
34+
"${CMAKE_CURRENT_LIST_DIR}/../../utils/Utils.cpp"
35+
"${CMAKE_CURRENT_LIST_DIR}/../tests/AsyncCmdTests.cpp"
36+
"${CMAKE_CURRENT_LIST_DIR}/../tests/AsyncPortTests.cpp"
37+
"${CMAKE_CURRENT_LIST_DIR}/../tests/AsyncTesterHelpers.cpp"
38+
"${CMAKE_CURRENT_LIST_DIR}/../tests/AsyncTests.cpp"
4439
"${CMAKE_CURRENT_LIST_DIR}/../tests/CmdTests.cpp"
4540
"${CMAKE_CURRENT_LIST_DIR}/../tests/EventTests.cpp"
46-
"${CMAKE_CURRENT_LIST_DIR}/../tests/TlmTests.cpp"
47-
"${CMAKE_CURRENT_LIST_DIR}/../tests/ParamTests.cpp"
4841
"${CMAKE_CURRENT_LIST_DIR}/../tests/ExternalParamTests.cpp"
49-
"${CMAKE_CURRENT_LIST_DIR}/../tests/TimeTests.cpp"
5042
"${CMAKE_CURRENT_LIST_DIR}/../tests/InternalInterfaceTests.cpp"
51-
"${CMAKE_CURRENT_LIST_DIR}/../tests/AsyncTests.cpp"
52-
"${CMAKE_CURRENT_LIST_DIR}/../tests/AsyncTesterHelpers.cpp"
53-
"${CMAKE_CURRENT_LIST_DIR}/../tests/AsyncPortTests.cpp"
54-
"${CMAKE_CURRENT_LIST_DIR}/../tests/AsyncCmdTests.cpp"
5543
"${CMAKE_CURRENT_LIST_DIR}/../tests/OverflowTests.cpp"
44+
"${CMAKE_CURRENT_LIST_DIR}/../tests/ParamTests.cpp"
45+
"${CMAKE_CURRENT_LIST_DIR}/../tests/PortTests.cpp"
46+
"${CMAKE_CURRENT_LIST_DIR}/../tests/TestMain.cpp"
47+
"${CMAKE_CURRENT_LIST_DIR}/../tests/TesterHandlers.cpp"
48+
"${CMAKE_CURRENT_LIST_DIR}/../tests/TesterHelpers.cpp"
49+
"${CMAKE_CURRENT_LIST_DIR}/../tests/Tests.cpp"
50+
"${CMAKE_CURRENT_LIST_DIR}/../tests/TimeTests.cpp"
51+
"${CMAKE_CURRENT_LIST_DIR}/../tests/TlmTests.cpp"
5652
"${CMAKE_CURRENT_LIST_DIR}/../types/FormalParamTypes.cpp"
57-
"${CMAKE_CURRENT_LIST_DIR}/../../utils/Utils.cpp"
53+
"${CMAKE_CURRENT_LIST_DIR}/active.fpp"
54+
"${CMAKE_CURRENT_LIST_DIR}/fpp_types.fpp"
55+
"${CMAKE_CURRENT_LIST_DIR}/port_index_enums.fpp"
56+
"${CMAKE_CURRENT_LIST_DIR}/port_types.fpp"
57+
"${CMAKE_CURRENT_LIST_DIR}/test/ut/Tester.cpp"
5858
)
5959
# Needed for compiling files using Tester.hpp from outside the directory
6060
include_directories("${CMAKE_CURRENT_LIST_DIR}/test/ut")
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
@ An active component
22
active component ActiveTest {
33

4-
include "../include/typed_ports.fppi"
5-
include "../include/typed_ports_async.fppi"
4+
include "../include/internal_ports.fppi"
65
include "../include/serial_ports.fppi"
76
include "../include/serial_ports_async.fppi"
87
include "../include/special_ports.fppi"
9-
include "../include/internal_ports.fppi"
8+
include "../include/typed_ports.fppi"
9+
include "../include/typed_ports_async.fppi"
1010

1111
include "../include/output_ports.fppi"
1212

1313
include "../include/commands.fppi"
1414
include "../include/commands_async.fppi"
1515
include "../include/events.fppi"
16-
include "../include/telemetry.fppi"
17-
include "../include/params.fppi"
1816
include "../include/external_params.fppi"
17+
include "../include/params.fppi"
18+
include "../include/telemetry.fppi"
1919

2020
}

0 commit comments

Comments
 (0)