1# Tests for the IAMF software. 2 3# keep-sorted start block=yes prefix_order=cc_test newline_separated=yes 4cc_test( 5 name = "leb_generator_test", 6 srcs = ["leb_generator_test.cc"], 7 deps = [ 8 "//iamf/common:leb_generator", 9 "//iamf/obu:types", 10 "@com_google_absl//absl/status", 11 "@com_google_absl//absl/status:status_matchers", 12 "@com_google_googletest//:gtest_main", 13 ], 14) 15 16cc_test( 17 name = "read_bit_buffer_fuzz_test", 18 size = "small", 19 srcs = ["read_bit_buffer_fuzz_test.cc"], 20 target_compatible_with = [ 21 "@platforms//os:linux", 22 ], 23 deps = [ 24 "//iamf/common:read_bit_buffer", 25 "//iamf/obu:types", 26 "@com_google_absl//absl/status", 27 "@com_google_absl//absl/types:span", 28 "@com_google_fuzztest//fuzztest", 29 "@com_google_googletest//:gtest_main", 30 ], 31) 32 33cc_test( 34 name = "read_bit_buffer_test", 35 srcs = ["read_bit_buffer_test.cc"], 36 deps = [ 37 "//iamf/cli/tests:cli_test_utils", 38 "//iamf/common:read_bit_buffer", 39 "//iamf/common/utils:bit_buffer_util", 40 "//iamf/common/utils:numeric_utils", 41 "//iamf/obu:types", 42 "@com_google_absl//absl/status", 43 "@com_google_absl//absl/status:status_matchers", 44 "@com_google_absl//absl/types:span", 45 "@com_google_googletest//:gtest_main", 46 ], 47) 48 49cc_test( 50 name = "write_bit_buffer_fuzz_test", 51 size = "small", 52 srcs = ["write_bit_buffer_fuzz_test.cc"], 53 target_compatible_with = [ 54 "@platforms//os:linux", 55 ], 56 deps = [ 57 "//iamf/common:write_bit_buffer", 58 "@com_google_absl//absl/types:span", 59 "@com_google_fuzztest//fuzztest", 60 "@com_google_googletest//:gtest_main", 61 ], 62) 63 64cc_test( 65 name = "write_bit_buffer_test", 66 size = "small", 67 srcs = ["write_bit_buffer_test.cc"], 68 deps = [ 69 "//iamf/cli/tests:cli_test_utils", 70 "//iamf/common:leb_generator", 71 "//iamf/common:write_bit_buffer", 72 "//iamf/common/utils:bit_buffer_util", 73 "//iamf/common/utils/tests:test_utils", 74 "//iamf/obu:types", 75 "@com_google_absl//absl/status", 76 "@com_google_absl//absl/status:status_matchers", 77 "@com_google_absl//absl/strings", 78 "@com_google_absl//absl/types:span", 79 "@com_google_googletest//:gtest_main", 80 ], 81) 82 83cc_test( 84 name = "write_read_fuzz_test", 85 size = "small", 86 srcs = ["write_read_fuzz_test.cc"], 87 target_compatible_with = [ 88 "@platforms//os:linux", 89 ], 90 deps = [ 91 "//iamf/common:read_bit_buffer", 92 "//iamf/common:write_bit_buffer", 93 "@com_google_absl//absl/status", 94 "@com_google_absl//absl/status:status_matchers", 95 "@com_google_absl//absl/types:span", 96 "@com_google_fuzztest//fuzztest", 97 "@com_google_googletest//:gtest_main", 98 ], 99) 100 101# keep-sorted end 102