#include <memory>
#include "base/observer_list.h"
#include "base/run_loop.h"
#include "chrome/browser/ui/views/payments/view_stack.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "ui/gfx/animation/test_animation_delegate.h"
class TestStackView : public views::View { … };
class ViewStackTest : public ChromeViewsTestBase { … };
TEST_F(ViewStackTest, TestInitialStateAddedAsChildView) { … }
TEST_F(ViewStackTest, TestPushStateAddsViewToChildren) { … }
TEST_F(ViewStackTest, TestPopStateRemovesChildViewAndCleansUpState) { … }
TEST_F(ViewStackTest, TestDeletingViewCleansUpState) { … }
TEST_F(ViewStackTest, TestLayoutUpdatesAnimations) { … }
TEST_F(ViewStackTest, TestPopMany) { … }