webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Functions
map_test.cc File Reference
#include <algorithm>
#include <google/protobuf/stubs/hash.h>
#include <map>
#include <memory>
#include <google/protobuf/stubs/shared_ptr.h>
#include <set>
#include <sstream>
#include <vector>
#include <google/protobuf/stubs/casts.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/scoped_ptr.h>
#include <google/protobuf/stubs/stringprintf.h>
#include <google/protobuf/testing/file.h>
#include <google/protobuf/arena_test_util.h>
#include <google/protobuf/map_proto2_unittest.pb.h>
#include <google/protobuf/map_unittest.pb.h>
#include <google/protobuf/map_test_util.h>
#include <google/protobuf/test_util.h>
#include <google/protobuf/unittest.pb.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor_database.h>
#include <google/protobuf/dynamic_message.h>
#include <google/protobuf/map.h>
#include <google/protobuf/map_field_inl.h>
#include <google/protobuf/message.h>
#include <google/protobuf/reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/text_format.h>
#include <google/protobuf/wire_format.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/tokenizer.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/util/time_util.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/substitute.h>
#include <google/protobuf/testing/googletest.h>
#include <gtest/gtest.h>

Classes

class  google::protobuf.internal::MapImplTest
 
class  google::protobuf.internal::MapFieldReflectionTest
 
class  google::protobuf.internal::MapFieldInDynamicMessageTest
 

Namespaces

 google
 
 google::protobuf
 
 google.protobuf.internal
 

Functions

 google.protobuf.internal::TEST_P (MapImplTest, OperatorBracket)
 
 google.protobuf.internal::TEST_P (MapImplTest, OperatorBracketNonExist)
 
 google.protobuf.internal::TEST_P (MapImplTest, MutableAt)
 
 google.protobuf.internal::TEST_P (MapImplTest, CountNonExist)
 
 google.protobuf.internal::TEST_P (MapImplTest, MutableFindNonExist)
 
 google.protobuf.internal::TEST_P (MapImplTest, ImmutableFindNonExist)
 
 google.protobuf.internal::TEST_P (MapImplTest, ConstEnd)
 
 google.protobuf.internal::TEST_P (MapImplTest, GetReferenceFromIterator)
 
 google.protobuf.internal::TEST_P (MapImplTest, IteratorBasic)
 
 google.protobuf.internal::TEST_P (MapImplTest, BeginIsFast)
 
 google.protobuf.internal::TEST_P (MapImplTest, HashFlood)
 
 google.protobuf.internal::TEST_P (MapImplTest, IteratorInvalidation)
 
 google.protobuf.internal::TEST_P (MapImplTest, EraseRevalidates)
 
template<typename T >
bool google.protobuf.internal::IsConstHelper (T &)
 
template<typename T >
bool google.protobuf.internal::IsConstHelper (const T &)
 
 google.protobuf.internal::TEST_P (MapImplTest, IteratorConstness)
 
bool google.protobuf.internal::IsForwardIteratorHelper (std::forward_iterator_tag)
 
template<typename T >
bool google.protobuf.internal::IsForwardIteratorHelper (T)
 
 google.protobuf.internal::TEST_P (MapImplTest, IteratorCategory)
 
 google.protobuf.internal::TEST_P (MapImplTest, InsertSingle)
 
 google.protobuf.internal::TEST_P (MapImplTest, InsertByIterator)
 
 google.protobuf.internal::TEST_P (MapImplTest, EraseSingleByKey)
 
 google.protobuf.internal::TEST_P (MapImplTest, EraseMutipleByKey)
 
 google.protobuf.internal::TEST_P (MapImplTest, EraseSingleByIterator)
 
 google.protobuf.internal::TEST_P (MapImplTest, ValidIteratorAfterErase)
 
 google.protobuf.internal::TEST_P (MapImplTest, EraseByIterator)
 
 google.protobuf.internal::TEST_P (MapImplTest, Clear)
 
 google.protobuf.internal::TEST_P (MapImplTest, CopyConstructorWithArena)
 
 google.protobuf.internal::TEST_P (MapImplTest, CopyConstructorWithoutArena)
 
 google.protobuf.internal::TEST_P (MapImplTest, IterConstructor)
 
 google.protobuf.internal::TEST_P (MapImplTest, Assigner)
 
 google.protobuf.internal::TEST_P (MapImplTest, Rehash)
 
 google.protobuf.internal::TEST_P (MapImplTest, EqualRange)
 
 google.protobuf.internal::TEST_P (MapImplTest, ConvertToStdMap)
 
 google.protobuf.internal::TEST_P (MapImplTest, ConvertToStdVectorOfPairs)
 
 google.protobuf.internal::INSTANTIATE_TEST_CASE_P (BoolSequence, MapImplTest, testing::Bool())
 
 google.protobuf.internal::TEST_F (MapFieldReflectionTest, RegularFields)
 
 google.protobuf.internal::TEST_F (MapFieldReflectionTest, RepeatedFieldRefForRegularFields)
 
 google.protobuf.internal::TEST_F (MapFieldReflectionTest, RepeatedFieldRefMergeFromAndSwap)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, Accessors)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, SetMapFieldsInitialized)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, Proto2SetMapFieldsInitialized)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, Clear)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, ClearMessageMap)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, CopyFrom)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, CopyFromMessageMap)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, SwapWithEmpty)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, SwapWithSelf)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, SwapWithOther)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, CopyConstructor)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, CopyAssignmentOperator)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, UpcastCopyFrom)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, CopyFromDynamicMessage)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, CopyFromDynamicMessageMapReflection)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, DynamicMessageCopyFrom)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, DynamicMessageCopyFromMapReflection)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, SyncDynamicMapWithRepeatedField)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, NonEmptyMergeFrom)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, MergeFromMessageMap)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, SerializationToArray)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, SerializationToStream)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, SameTypeMaps)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, Proto2UnknownEnum)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, StandardWireFormat)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, UnorderedWireFormat)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, DuplicatedKeyWireFormat)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, DuplicatedValueWireFormat)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, MissedKeyWireFormat)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, MissedValueWireFormat)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, MissedValueTextFormat)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, UnknownFieldWireFormat)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, CorruptedWireFormat)
 
 google.protobuf.internal::TEST (GeneratedMapFieldTest, IsInitialized)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, SpaceUsed)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, Accessors)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, Swap)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, SwapWithBothSet)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, SwapFields)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, ClearField)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, RemoveLast)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, ReleaseLast)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, SwapElements)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, MutableUnknownFields)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, EmbedProto2Message)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, MergeFromClearMapEntry)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, MapEntryClear)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, Proto2MapEntryClear)
 
 google.protobuf.internal::TEST (GeneratedMapFieldReflectionTest, SetViaMapReflection)
 
 google.protobuf.internal::TEST_F (MapFieldInDynamicMessageTest, MapIndependentOffsets)
 
 google.protobuf.internal::TEST_F (MapFieldInDynamicMessageTest, DynamicMapReflection)
 
 google.protobuf.internal::TEST_F (MapFieldInDynamicMessageTest, MapSpaceUsed)
 
 google.protobuf.internal::TEST_F (MapFieldInDynamicMessageTest, RecursiveMap)
 
 google.protobuf.internal::TEST (ReflectionOpsForMapFieldTest, MapSanityCheck)
 
 google.protobuf.internal::TEST (ReflectionOpsForMapFieldTest, MapCopy)
 
 google.protobuf.internal::TEST (ReflectionOpsForMapFieldTest, MergeMap)
 
 google.protobuf.internal::TEST (ReflectionOpsForMapFieldTest, ClearMap)
 
 google.protobuf.internal::TEST (ReflectionOpsForMapFieldTest, MapDiscardUnknownFields)
 
 google.protobuf.internal::TEST (WireFormatForMapFieldTest, ParseMap)
 
 google.protobuf.internal::TEST (WireFormatForMapFieldTest, MapByteSize)
 
 google.protobuf.internal::TEST (WireFormatForMapFieldTest, SerializeMap)
 
 google.protobuf.internal::TEST (WireFormatForMapFieldTest, MapParseHelpers)
 
 google.protobuf.internal::TEST (TextFormatMapTest, SerializeAndParse)
 
 google.protobuf.internal::TEST (TextFormatMapTest, Sorted)
 
 google.protobuf.internal::TEST (ArenaTest, ParsingAndSerializingNoHeapAllocation)
 
 google.protobuf.internal::TEST (ArenaTest, RelfectionInTextFormat)
 
 google.protobuf.internal::TEST (ArenaTest, StringMapNoLeak)