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 3 // found in the LICENSE file. 4 5 #include "base/process/process_info.h" 6 7 #include "base/time/time.h" 8 #include "build/build_config.h" 9 #include "testing/gtest/include/gtest/gtest.h" 10 11 namespace base { 12 13 #if !defined(OS_IOS) 14 TEST(ProcessInfoTest, CreationTime) { 15 Time creation_time = CurrentProcessInfo::CreationTime(); 16 ASSERT_FALSE(creation_time.is_null()); 17 } 18 #endif // !defined(OS_IOS) 19 20 } // namespace base 21