Add shared DeviceAttachmentSpec param parsing helpers.
Centralize DAP param lookup, parsing, and validation primitives so stimBuff and threshold modules can share one implementation instead of duplicating parse logic per plugin. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
add_executable(deviceAttachmentSpecParams_tests
|
||||
deviceAttachmentSpecParams_tests.cpp
|
||||
)
|
||||
|
||||
target_include_directories(deviceAttachmentSpecParams_tests PRIVATE
|
||||
${CMAKE_SOURCE_DIR}/include
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_SOURCE_DIR}/libspinscale/tests
|
||||
)
|
||||
|
||||
target_link_libraries(deviceAttachmentSpecParams_tests
|
||||
gtest_main
|
||||
spinscale_test_support
|
||||
${Boost_LIBRARIES}
|
||||
)
|
||||
|
||||
add_dependencies(deviceAttachmentSpecParams_tests gtest_main)
|
||||
|
||||
add_test(
|
||||
NAME deviceAttachmentSpecParams_tests
|
||||
COMMAND deviceAttachmentSpecParams_tests)
|
||||
Reference in New Issue
Block a user