Skip to content

Commit

Permalink
chore(agw): Bazelify the session_state_5g_test
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Kreutzer <lars.kreutzer@tngtech.com>
  • Loading branch information
LKreutzer committed Jul 18, 2022
1 parent 2836307 commit a636123
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bazel/scripts/check_c_cpp_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ DENY_LIST_NOT_YET_BAZELIFIED=(
"./lte/gateway/c/core/oai/test/s1ap_task/mock_s1ap_op.cpp"
"./lte/gateway/c/core/oai/test/s1ap_task/test_s1ap_mme_handlers_with_injected_state.cpp"
"./lte/gateway/c/session_manager/test/test_async_service.cpp"
"./lte/gateway/c/session_manager/test/test_session_state_5g.cpp"
"./lte/gateway/c/session_manager/test/SessionStateTester5g.hpp"
# TODO: GH12776 dead code
"./lte/gateway/c/session_manager/upf-demo-struct.h"
)
Expand Down
18 changes: 18 additions & 0 deletions lte/gateway/c/session_manager/test/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,21 @@ cc_test(
"@github_nlohmann_json//:json",
],
)

cc_library(
name = "session_state_tester_5g",
hdrs = ["SessionStateTester5g.hpp"],
)

cc_test(
name = "session_state_5g_test",
size = "small",
srcs = ["test_session_state_5g.cpp"],
deps = [
":consts",
":protobuf_creators",
":session_state_tester_5g",
":sessiond_mocks",
"//orc8r/gateway/c/common/logging",
],
)

0 comments on commit a636123

Please sign in to comment.