// Copyright 2014 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/timer/mock_timer.h" #include "base/functional/bind.h" #include "testing/gtest/include/gtest/gtest.h" namespace { void CallMeMaybe(int *number) { … } TEST(MockTimerTest, FiresOnce) { … } TEST(MockTimerTest, FiresRepeatedly) { … } TEST(MockTimerTest, Stops) { … } TEST(MockOneShotTimerTest, FireNow) { … } class HasWeakPtr { … }; TEST(MockTimerTest, DoesNotRetainClosure) { … } } // namespace