| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/process/process_info.h" | 5 #include "base/process/process_info.h" |
| 6 | 6 |
| 7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 | 12 |
| 13 #if !defined(OS_IOS) | 13 #if !defined(OS_IOS) && !defined(OS_FUCHSIA) |
| 14 TEST(ProcessInfoTest, CreationTime) { | 14 TEST(ProcessInfoTest, CreationTime) { |
| 15 Time creation_time = CurrentProcessInfo::CreationTime(); | 15 Time creation_time = CurrentProcessInfo::CreationTime(); |
| 16 ASSERT_FALSE(creation_time.is_null()); | 16 ASSERT_FALSE(creation_time.is_null()); |
| 17 } | 17 } |
| 18 #endif // !defined(OS_IOS) | 18 #endif // !defined(OS_IOS) |
| 19 | 19 |
| 20 } // namespace base | 20 } // namespace base |
| OLD | NEW |