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

Side by Side Diff: base/memory/shared_memory_unittest.cc

Issue 1466413002: Update gtest to 786564fa4a3c, switch to googlemock in gtest Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « base/memory/scoped_vector_unittest.cc ('k') | base/memory/singleton_unittest.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/atomicops.h" 5 #include "base/atomicops.h"
6 #include "base/basictypes.h" 6 #include "base/basictypes.h"
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/kill.h" 9 #include "base/process/kill.h"
10 #include "base/rand_util.h" 10 #include "base/rand_util.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/sys_info.h" 12 #include "base/sys_info.h"
13 #include "base/test/multiprocess_test.h" 13 #include "base/test/multiprocess_test.h"
14 #include "base/threading/platform_thread.h" 14 #include "base/threading/platform_thread.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/googletest/include/gtest/gtest.h"
17 #include "testing/multiprocess_func_list.h" 17 #include "testing/multiprocess_func_list.h"
18 18
19 #if defined(OS_POSIX) 19 #if defined(OS_POSIX)
20 #include <errno.h> 20 #include <errno.h>
21 #include <fcntl.h> 21 #include <fcntl.h>
22 #include <sys/mman.h> 22 #include <sys/mman.h>
23 #include <sys/stat.h> 23 #include <sys/stat.h>
24 #include <sys/types.h> 24 #include <sys/types.h>
25 #include <unistd.h> 25 #include <unistd.h>
26 #endif 26 #endif
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 memory.Close(); 641 memory.Close();
642 SharedMemoryProcessTest::CleanUp(); 642 SharedMemoryProcessTest::CleanUp();
643 } 643 }
644 644
645 MULTIPROCESS_TEST_MAIN(SharedMemoryTestMain) { 645 MULTIPROCESS_TEST_MAIN(SharedMemoryTestMain) {
646 return SharedMemoryProcessTest::TaskTestMain(); 646 return SharedMemoryProcessTest::TaskTestMain();
647 } 647 }
648 #endif // !defined(OS_IOS) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 648 #endif // !defined(OS_IOS) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
649 649
650 } // namespace base 650 } // namespace base
OLDNEW
« no previous file with comments | « base/memory/scoped_vector_unittest.cc ('k') | base/memory/singleton_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698