Skip to content

Commit

Permalink
[Thinkit] Added basic_traffic_test.cc to lib/basic_traffic. (sonic-ne…
Browse files Browse the repository at this point in the history
…t#463)


Co-authored-by: Srikishen Pondicherry Shanmugam <[email protected]>
  • Loading branch information
bibhuprasad-hcl and kishanps authored Aug 12, 2024
1 parent 6324488 commit 8ed1cb4
Show file tree
Hide file tree
Showing 2 changed files with 1,163 additions and 0 deletions.
34 changes: 34 additions & 0 deletions lib/basic_traffic/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,37 @@ cc_library(
"@com_google_absl//absl/types:span",
],
)

cc_test(
name = "basic_traffic_test",
srcs = ["basic_traffic_test.cc"],
deps = [
":basic_traffic",
"//gutil:proto_matchers",
"//gutil:status_matchers",
"//gutil:testing",
"//p4_pdpi:p4_runtime_session",
"//p4_pdpi/packetlib",
"//p4_pdpi/packetlib:packetlib_cc_proto",
"//sai_p4/instantiations/google:instantiations",
"//sai_p4/instantiations/google:sai_p4info_cc",
"//thinkit:control_device",
"//thinkit:generic_testbed",
"//thinkit:mock_control_device",
"//thinkit:mock_generic_testbed",
"//thinkit:mock_switch",
"//thinkit:packet_generation_finalizer",
"//thinkit/proto:generic_testbed_cc_proto",
"@com_github_gnmi//proto/gnmi:gnmi_cc_proto",
"@com_github_gnmi//proto/gnmi:gnmi_cc_grpc_proto",
"@com_github_p4lang_p4runtime//:p4runtime_cc_proto",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
"@com_google_absl//absl/types:span",
"@com_google_googletest//:gtest_main",
],
)
Loading

0 comments on commit 8ed1cb4

Please sign in to comment.