chromium/third_party/abseil-cpp/absl/container/flat_hash_set_test.cc

// Copyright 2018 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "absl/container/flat_hash_set.h"

#include <cstdint>
#include <memory>
#include <type_traits>
#include <utility>
#include <vector>

#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "absl/base/config.h"
#include "absl/container/internal/container_memory.h"
#include "absl/container/internal/hash_generator_testing.h"
#include "absl/container/internal/test_allocator.h"
#include "absl/container/internal/unordered_set_constructor_test.h"
#include "absl/container/internal/unordered_set_lookup_test.h"
#include "absl/container/internal/unordered_set_members_test.h"
#include "absl/container/internal/unordered_set_modifiers_test.h"
#include "absl/log/check.h"
#include "absl/memory/memory.h"
#include "absl/strings/string_view.h"

namespace absl {
ABSL_NAMESPACE_BEGIN
namespace container_internal {
namespace {

Enum;
EnumClass;
IsEmpty;
Pointee;
UnorderedElementsAre;
UnorderedElementsAreArray;

// Check that absl::flat_hash_set works in a global constructor.
struct BeforeMain {};
const BeforeMain before_main;

Set;

SetTypes;

INSTANTIATE_TYPED_TEST_SUITE_P();
INSTANTIATE_TYPED_TEST_SUITE_P();
INSTANTIATE_TYPED_TEST_SUITE_P();
INSTANTIATE_TYPED_TEST_SUITE_P();

TEST(FlatHashSet, EmplaceString) {}

TEST(FlatHashSet, BitfieldArgument) {}

TEST(FlatHashSet, MergeExtractInsert) {}

bool IsEven(int k) {}

TEST(FlatHashSet, EraseIf) {}

TEST(FlatHashSet, CForEach) {}

class PoisonSoo {};

TEST(FlatHashSet, PoisonSooBasic) {}

TEST(FlatHashSet, PoisonSooMoveConstructSooToSoo) {}

TEST(FlatHashSet, PoisonSooAllocMoveConstructSooToSoo) {}

TEST(FlatHashSet, PoisonSooMoveAssignFullSooToEmptySoo) {}

TEST(FlatHashSet, PoisonSooMoveAssignFullSooToFullSoo) {}

TEST(FlatHashSet, FlatHashSetPolicyDestroyReturnsTrue) {}

}  // namespace
}  // namespace container_internal
ABSL_NAMESPACE_END
}  // namespace absl