Skip to content

Commit fbd2265

Browse files
AdamZvarasedmicha
authored andcommitted
Message builder: tests for creating messages
1 parent 4c2b2da commit fbd2265

File tree

3 files changed

+449
-0
lines changed

3 files changed

+449
-0
lines changed

tests/unit/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ unit_tests_register_test("core/verbose.cpp")
1313

1414
add_subdirectory(core/parser)
1515
add_subdirectory(core/netflow)
16+
add_subdirectory(core/message_builder)
1617
# >> Add your new tests or test subdirectories HERE <<
1718

1819
# Enable code coverage target (i.e. make coverage) when appropriate build
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Add header files of the IPFIX Message generator
2+
include_directories(../../tools)
3+
4+
set(AUX_TOOLS
5+
"../../tools/MsgGen.cpp"
6+
"../../tools/MsgGen.h"
7+
)
8+
9+
# Register tests
10+
unit_tests_register_test(message_builder.cpp ${AUX_TOOLS})

0 commit comments

Comments
 (0)