// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_FULLSCREEN_CONTROLLER_STATE_TEST_H_ #define CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_FULLSCREEN_CONTROLLER_STATE_TEST_H_ #include <memory> #include <sstream> #include "build/build_config.h" class Browser; class FullscreenController; // Utility definition for mapping enum values to strings in switch statements. #define ENUM_TO_STRING(enum) … // Test fixture used to test Fullscreen Controller through exhaustive sequences // of events in unit and interactive tests. // // Because operating system window managers are too unreliable (they result in // flakiness at around 1 out of 1000 runs) this fixture is designed to be run // on testing infrastructure in unit tests mocking out the platforms' behavior. // To verify that behavior interactive tests exist but are left disabled and // only run manually when verifying the consistency of the // FullscreenControllerTestWindow. class FullscreenControllerStateTest { … }; #endif // CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_FULLSCREEN_CONTROLLER_STATE_TEST_H_