Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No public description #1434

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions domain_tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ cc_test(
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/random",
"@com_google_fuzztest//fuzztest:domain_core",
"@com_google_fuzztest//fuzztest:table_of_recent_compares",
"@com_google_googletest//:gtest_main",
],
)
1 change: 1 addition & 0 deletions domain_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,5 +239,6 @@ fuzztest_cc_test(
absl::flat_hash_set
absl::random_random
fuzztest::domain_core
fuzztest::table_of_recent_compares
GTest::gmock_main
)
3 changes: 3 additions & 0 deletions domain_tests/string_domains_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// Tests of character and string domains.

#include <cctype>
#include <cstdint>
#include <deque>
#include <optional>
#include <string>
Expand All @@ -27,6 +28,7 @@
#include "absl/random/random.h"
#include "./fuzztest/domain_core.h"
#include "./domain_tests/domain_testing.h"
#include "./fuzztest/internal/table_of_recent_compares.h"

namespace fuzztest {
namespace {
Expand All @@ -37,6 +39,7 @@ using ::testing::Each;
using ::testing::Eq;
using ::testing::Ge;
using ::testing::Gt;
using ::testing::HasSubstr;
using ::testing::IsTrue;
using ::testing::Lt;
using ::testing::Matches;
Expand Down
6 changes: 6 additions & 0 deletions e2e_tests/testdata/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,25 @@ cc_binary(
"fuzz_tests_for_functional_testing.cc",
"fuzz_tests_for_microbenchmarking.cc",
"fuzz_tests_using_googletest.cc",
"fuzz_tests_with_proto_inputs.cc",
],
deps = [
"@com_google_absl//absl/algorithm:container",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/functional:function_ref",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/time",
"@com_google_absl//absl/types:span",
"@com_google_fuzztest//fuzztest",
"@com_google_fuzztest//fuzztest:fuzztest_gtest_main",
"@com_google_fuzztest//fuzztest:googletest_fixture_adapter",
"@com_google_fuzztest//fuzztest:logging",
"@com_google_fuzztest//fuzztest:test_protobuf_cc_proto",
"@com_google_protobuf//:protobuf",
"@com_googlesource_code_re2//:re2",
],
)

Expand Down
6 changes: 6 additions & 0 deletions e2e_tests/testdata/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,23 @@ add_executable(
fuzz_tests_for_functional_testing.cc
fuzz_tests_for_microbenchmarking.cc
fuzz_tests_using_googletest.cc
fuzz_tests_with_proto_inputs.cc
)
target_link_libraries(
fuzz_tests_for_functional_testing.stripped
PUBLIC
protobuf::libprotobuf
test_protobuf
absl::check
absl::algorithm_container
absl::flat_hash_map
absl::flat_hash_set
absl::function_ref
absl::span
absl::str_format
absl::strings
absl::time
re2::re2
fuzztest_googletest_fixture_adapter
fuzztest_logging
)
Expand Down
5 changes: 5 additions & 0 deletions fuzztest/internal/domains/overlap_of_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
#include "./fuzztest/internal/status.h"
#include "./fuzztest/internal/type_support.h"

namespace fuzztest::internal_no_adl {
auto Utf8String();
} // namespace fuzztest::internal_no_adl

namespace fuzztest::internal {

template <typename... Inner>
Expand Down Expand Up @@ -183,6 +187,7 @@ class OverlapOfImpl

private:
friend class OverlapOfTestPeer;
friend auto internal_no_adl::Utf8String();

static constexpr size_t kNumDomains = sizeof...(Inner);
static_assert(kNumDomains > 1,
Expand Down
Loading