#include "third_party/blink/renderer/platform/wtf/hash_map.h"
#include <iterator>
#include <memory>
#include "base/memory/ptr_util.h"
#include "base/memory/scoped_refptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/ref_counted.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string_hash.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
#include "third_party/blink/renderer/platform/wtf/wtf_test_helper.h"
namespace WTF {
int DummyRefCounted::ref_invokes_count_ = …;
namespace {
IntHashMap;
TEST(HashMapTest, IteratorComparison) { … }
TEST(HashMapTest, Iteration) { … }
struct TestDoubleHashTraits : HashTraits<double> { … };
DoubleHashMap;
int BucketForKey(double key) { … }
TEST(HashMapTest, DoubleHashCollisions) { … }
OwnPtrHashMap;
TEST(HashMapTest, OwnPtrAsValue) { … }
TEST(HashMapTest, RefPtrAsKey) { … }
TEST(HashMaptest, RemoveAdd) { … }
class SimpleClass { … };
IntSimpleMap;
TEST(HashMapTest, AddResult) { … }
TEST(HashMapTest, AddResultVectorValue) { … }
class InstanceCounter { … };
int InstanceCounter::counter_ = …;
TEST(HashMapTest, ValueTypeDestructed) { … }
TEST(HashMapTest, MoveOnlyValueType) { … }
TEST(HashMapTest, MoveOnlyKeyType) { … }
TEST(HashMapTest, MoveShouldNotMakeCopy) { … }
TEST(HashMapTest, UniquePtrAsKey) { … }
TEST(HashMapTest, UniquePtrAsValue) { … }
TEST(HashMapTest, MoveOnlyPairKeyType) { … }
bool IsOneTwoThreeMap(const HashMap<int, int>& map) { … }
HashMap<int, int> ReturnOneTwoThreeMap() { … }
TEST(HashMapTest, InitializerList) { … }
TEST(HashMapTest, IsValidKey) { … }
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
static_assert …;
}
}