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

Side by Side Diff: test/unittests/base/flags-unittest.cc

Issue 670673002: Remove v8stdint.h, it doesn't serve a purpose anymore. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed Windows builds Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « test/unittests/base/division-by-constant-unittest.cc ('k') | testing/gtest-support.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 "include/v8stdint.h" 5 #include <stdint.h>
6 #include "src/base/flags.h" 6 #include "src/base/flags.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace base { 10 namespace base {
11 11
12 namespace { 12 namespace {
13 13
14 enum Flag1 { 14 enum Flag1 {
15 kFlag1None = 0, 15 kFlag1None = 0,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 TEST(FlagsTest, ClassScope) { 95 TEST(FlagsTest, ClassScope) {
96 Foo::Enums enums; 96 Foo::Enums enums;
97 enums |= Foo::kEnum1; 97 enums |= Foo::kEnum1;
98 enums |= Foo::kEnum2; 98 enums |= Foo::kEnum2;
99 EXPECT_TRUE(enums & Foo::kEnum1); 99 EXPECT_TRUE(enums & Foo::kEnum1);
100 EXPECT_TRUE(enums & Foo::kEnum2); 100 EXPECT_TRUE(enums & Foo::kEnum2);
101 } 101 }
102 102
103 } // namespace base 103 } // namespace base
104 } // namespace v8 104 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/base/division-by-constant-unittest.cc ('k') | testing/gtest-support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698