blob: b1fa47b2247b8b4e57883a157766aed1e13e4af8 [file] [log] [blame]
# Tests for the IAMF software.
# keep-sorted start block=yes prefix_order=cc_test newline_separated=yes
cc_test(
name = "leb_generator_test",
srcs = ["leb_generator_test.cc"],
deps = [
"//iamf/common:leb_generator",
"//iamf/obu:types",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:status_matchers",
"@com_google_googletest//:gtest_main",
],
)
cc_test(
name = "read_bit_buffer_fuzz_test",
size = "small",
srcs = ["read_bit_buffer_fuzz_test.cc"],
target_compatible_with = [
"@platforms//os:linux",
],
deps = [
"//iamf/common:read_bit_buffer",
"//iamf/obu:types",
"@com_google_absl//absl/status",
"@com_google_absl//absl/types:span",
"@com_google_fuzztest//fuzztest",
"@com_google_googletest//:gtest_main",
],
)
cc_test(
name = "read_bit_buffer_test",
srcs = ["read_bit_buffer_test.cc"],
deps = [
"//iamf/cli/tests:cli_test_utils",
"//iamf/common:read_bit_buffer",
"//iamf/common/utils:bit_buffer_util",
"//iamf/common/utils:numeric_utils",
"//iamf/obu:types",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:status_matchers",
"@com_google_absl//absl/types:span",
"@com_google_googletest//:gtest_main",
],
)
cc_test(
name = "write_bit_buffer_fuzz_test",
size = "small",
srcs = ["write_bit_buffer_fuzz_test.cc"],
target_compatible_with = [
"@platforms//os:linux",
],
deps = [
"//iamf/common:write_bit_buffer",
"@com_google_absl//absl/types:span",
"@com_google_fuzztest//fuzztest",
"@com_google_googletest//:gtest_main",
],
)
cc_test(
name = "write_bit_buffer_test",
size = "small",
srcs = ["write_bit_buffer_test.cc"],
deps = [
"//iamf/cli/tests:cli_test_utils",
"//iamf/common:leb_generator",
"//iamf/common:write_bit_buffer",
"//iamf/common/utils:bit_buffer_util",
"//iamf/common/utils/tests:test_utils",
"//iamf/obu:types",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:status_matchers",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/types:span",
"@com_google_googletest//:gtest_main",
],
)
cc_test(
name = "write_read_fuzz_test",
size = "small",
srcs = ["write_read_fuzz_test.cc"],
target_compatible_with = [
"@platforms//os:linux",
],
deps = [
"//iamf/common:read_bit_buffer",
"//iamf/common:write_bit_buffer",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:status_matchers",
"@com_google_absl//absl/types:span",
"@com_google_fuzztest//fuzztest",
"@com_google_googletest//:gtest_main",
],
)
# keep-sorted end