[TEST] Move replace_string to unittest_util.
authorgichan <gichan2.jang@samsung.com>
Wed, 5 Jan 2022 03:27:59 +0000 (12:27 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 7 Jan 2022 00:53:56 +0000 (09:53 +0900)
commit45b1f109b6c69209bd98f104b2495f83853f370f
tree6614a9bdd2029f7f436d99314b8be910909b5836
parent847f11043c0dbea8a56ba967b9ad046d433b5ea3
[TEST] Move replace_string to unittest_util.

Since `repace_string` is copied to nnstreamer/api and `replace_string` is only used for unit test, moves it to unit test util.
And the test related to `replace_string` is moved to nnstreamer/api.

Test to replace string to check unintended change.

Signed-off-by: gichan <gichan2.jang@samsung.com>
gst/nnstreamer/include/nnstreamer_plugin_api.h
gst/nnstreamer/tensor_common.c
tests/common/unittest_common.cc
tests/unittest_util.c
tests/unittest_util.h