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

Side by Side Diff: test/cctest/test-identity-map.cc

Issue 2304553002: Include only stuff you need, part 6: Fix cctest.h. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « test/cctest/test-global-handles.cc ('k') | test/cctest/test-list.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project 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 "src/factory.h"
6 #include "src/identity-map.h"
7 #include "src/isolate.h"
8 #include "src/objects.h"
9 // FIXME(mstarzinger, marja): This is weird, but required because of the missing
10 // (disallowed) include: src/factory.h -> src/objects-inl.h
11 #include "src/objects-inl.h"
12 // FIXME(mstarzinger, marja): This is weird, but required because of the missing
13 // (disallowed) include: src/type-feedback-vector.h ->
14 // src/type-feedback-vector-inl.h
15 #include "src/type-feedback-vector-inl.h"
5 #include "src/v8.h" 16 #include "src/v8.h"
6
7 #include "src/identity-map.h"
8 #include "src/zone.h" 17 #include "src/zone.h"
9
10 #include "test/cctest/cctest.h" 18 #include "test/cctest/cctest.h"
11 19
12 namespace v8 { 20 namespace v8 {
13 namespace internal { 21 namespace internal {
14 22
15 // Helper for testing. A "friend" of the IdentityMapBase class, it is able to 23 // Helper for testing. A "friend" of the IdentityMapBase class, it is able to
16 // "move" objects to simulate GC for testing the internals of the map. 24 // "move" objects to simulate GC for testing the internals of the map.
17 class IdentityMapTester : public HandleAndZoneScope { 25 class IdentityMapTester : public HandleAndZoneScope {
18 public: 26 public:
19 IdentityMap<void*> map; 27 IdentityMap<void*> map;
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 CHECK_NE(string4.location(), string6.location()); 419 CHECK_NE(string4.location(), string6.location());
412 CHECK_NE(number1.location(), number6.location()); 420 CHECK_NE(number1.location(), number6.location());
413 CHECK_NE(string1.location(), string6.location()); 421 CHECK_NE(string1.location(), string6.location());
414 CHECK_EQ(number5.location(), number6.location()); 422 CHECK_EQ(number5.location(), number6.location());
415 CHECK_EQ(string5.location(), string6.location()); 423 CHECK_EQ(string5.location(), string6.location());
416 } 424 }
417 } 425 }
418 426
419 } // namespace internal 427 } // namespace internal
420 } // namespace v8 428 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/test-global-handles.cc ('k') | test/cctest/test-list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698