// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/test/scoped_mock_clock_override.h" #include "base/build_time.h" #include "base/time/time.h" #include "build/build_config.h" #include "testing/gtest/include/gtest/gtest.h" namespace base { namespace { // Disabled on Android due to flakes; see https://crbug.com/1474884. #if BUILDFLAG(IS_ANDROID) #define MAYBE_Time … #else #define MAYBE_Time … #endif TEST(ScopedMockClockOverrideTest, MAYBE_Time) { … } TEST(ScopedMockClockOverrideTest, TimeTicks) { … } TEST(ScopedMockClockOverrideTest, ThreadTicks) { … } } // namespace } // namespace base