unordered_map_test.cc
Go to the documentation of this file.
00001 // Copyright 2018 The Abseil Authors.
00002 //
00003 // Licensed under the Apache License, Version 2.0 (the "License");
00004 // you may not use this file except in compliance with the License.
00005 // You may obtain a copy of the License at
00006 //
00007 //      https://www.apache.org/licenses/LICENSE-2.0
00008 //
00009 // Unless required by applicable law or agreed to in writing, software
00010 // distributed under the License is distributed on an "AS IS" BASIS,
00011 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00012 // See the License for the specific language governing permissions and
00013 // limitations under the License.
00014 
00015 #include <unordered_map>
00016 
00017 #include "absl/container/internal/unordered_map_constructor_test.h"
00018 #include "absl/container/internal/unordered_map_lookup_test.h"
00019 #include "absl/container/internal/unordered_map_members_test.h"
00020 #include "absl/container/internal/unordered_map_modifiers_test.h"
00021 
00022 namespace absl {
00023 namespace container_internal {
00024 namespace {
00025 
00026 using MapTypes = ::testing::Types<
00027     std::unordered_map<int, int, StatefulTestingHash, StatefulTestingEqual,
00028                        Alloc<std::pair<const int, int>>>,
00029     std::unordered_map<std::string, std::string, StatefulTestingHash,
00030                        StatefulTestingEqual,
00031                        Alloc<std::pair<const std::string, std::string>>>>;
00032 
00033 INSTANTIATE_TYPED_TEST_SUITE_P(UnorderedMap, ConstructorTest, MapTypes);
00034 INSTANTIATE_TYPED_TEST_SUITE_P(UnorderedMap, LookupTest, MapTypes);
00035 INSTANTIATE_TYPED_TEST_SUITE_P(UnorderedMap, MembersTest, MapTypes);
00036 INSTANTIATE_TYPED_TEST_SUITE_P(UnorderedMap, ModifiersTest, MapTypes);
00037 
00038 }  // namespace
00039 }  // namespace container_internal
00040 }  // namespace absl


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16