Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: mojo/public/cpp/bindings/tests/wtf_hash_unittest.cc

Issue 2817903002: Rewrite references to "wtf/" to "platform/wtf/" in //mojo. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/public/cpp/bindings/lib/wtf_hash_util.h" 5 #include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
6 6
7 #include "mojo/public/interfaces/bindings/tests/test_structs.mojom-blink.h" 7 #include "mojo/public/interfaces/bindings/tests/test_structs.mojom-blink.h"
8 #include "mojo/public/interfaces/bindings/tests/test_wtf_types.mojom-blink.h" 8 #include "mojo/public/interfaces/bindings/tests/test_wtf_types.mojom-blink.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "third_party/WebKit/Source/wtf/HashFunctions.h" 10 #include "third_party/WebKit/Source/platform/wtf/HashFunctions.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 namespace test { 13 namespace test {
14 namespace { 14 namespace {
15 15
16 using WTFHashTest = testing::Test; 16 using WTFHashTest = testing::Test;
17 17
18 TEST_F(WTFHashTest, NestedStruct) { 18 TEST_F(WTFHashTest, NestedStruct) {
19 // Just check that this template instantiation compiles. 19 // Just check that this template instantiation compiles.
20 ASSERT_EQ(::mojo::internal::Hash( 20 ASSERT_EQ(::mojo::internal::Hash(
(...skipping 30 matching lines...) Expand all
51 // Nested in interface. 51 // Nested in interface.
52 ASSERT_EQ(WTF::DefaultHash<blink::TestWTF::NestedEnum>::Hash().GetHash( 52 ASSERT_EQ(WTF::DefaultHash<blink::TestWTF::NestedEnum>::Hash().GetHash(
53 blink::TestWTF::NestedEnum::E0), 53 blink::TestWTF::NestedEnum::E0),
54 WTF::DefaultHash<blink::TestWTF::NestedEnum>::Hash().GetHash( 54 WTF::DefaultHash<blink::TestWTF::NestedEnum>::Hash().GetHash(
55 blink::TestWTF::NestedEnum::E0)); 55 blink::TestWTF::NestedEnum::E0));
56 } 56 }
57 57
58 } // namespace 58 } // namespace
59 } // namespace test 59 } // namespace test
60 } // namespace mojo 60 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/string_traits_wtf.h ('k') | mojo/public/cpp/bindings/tests/wtf_types_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698