Details: imageRPC for now assumed to have 4 fields: width,height of type int (4 signed bytes) type (enum BGR,RGBA,DEPTH) and raw vector of data tests written by opencode + gemini flash TG-7
30 lines
626 B
Meson
30 lines
626 B
Meson
test_sources = files(
|
|
'test_rpc.cpp',
|
|
'test_integration.cpp',
|
|
'test_tcp.cpp',
|
|
'test_cli.cpp',
|
|
'test_c_api.cpp',
|
|
'test_base64.cpp'
|
|
)
|
|
test_deps = [cloud_point_rpc_dep, cloud_point_rpc_cli_dep,
|
|
cloud_point_rpc_test_dep, json_dep, gtest_dep,
|
|
gtest_main_dep, gmock_dep]
|
|
|
|
if opencv_dep.found()
|
|
message('found cloud_point_compute dependency')
|
|
test_sources += files(
|
|
'test_image.cpp'
|
|
)
|
|
test_deps += [cloud_point_compute_dep]
|
|
else
|
|
message('cpc_dep was not found')
|
|
endif
|
|
|
|
|
|
|
|
test_exe = executable('unit_tests',
|
|
test_sources,
|
|
dependencies : test_deps)
|
|
|
|
test('unit_tests', test_exe)
|