chromium/ui/base/scoped_visibility_tracker_unittest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/base/scoped_visibility_tracker.h"

#include <utility>

#include "base/test/simple_test_tick_clock.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace ui {

class ScopedVisibilityTrackerTest : public testing::Test {};

TEST_F(ScopedVisibilityTrackerTest, NeverVisible) {}

TEST_F(ScopedVisibilityTrackerTest, SimpleVisibility) {}

TEST_F(ScopedVisibilityTrackerTest, HiddenThenShown) {}

TEST_F(ScopedVisibilityTrackerTest, InitiallyHidden) {}

// The object should be robust to double hidden and shown notification
TEST_F(ScopedVisibilityTrackerTest, DoubleNotifications) {}

}  // namespace ui