#include "components/dbus/menu/menu_property_list.h"
#include <memory>
#include "base/memory/ref_counted_memory.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "build/chromecast_buildflags.h"
#include "build/chromeos_buildflags.h"
#include "components/dbus/properties/types.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/accelerators/accelerator.h"
#include "ui/base/models/image_model.h"
#include "ui/base/models/menu_model.h"
#include "ui/base/models/menu_separator_types.h"
#include "ui/base/models/simple_menu_model.h"
#include "ui/events/ozone/layout/keyboard_layout_engine_manager.h"
#include "ui/events/test/keyboard_layout.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/image/image_skia_rep.h"
#if BUILDFLAG(IS_LINUX)
#include "ui/ozone/public/ozone_platform.h"
#endif
namespace {
class TestMenuModel : public ui::SimpleMenuModel,
public ui::SimpleMenuModel::Delegate { … };
class TestMenuModelBuilder { … };
}
TEST(MenuPropertyListTest, ComputePropertiesBasic) { … }
TEST(MenuPropertyListTest, ComputePropertiesCheck) { … }
TEST(MenuPropertyListTest, ComputePropertiesRadio) { … }
TEST(MenuPropertyListTest, ComputePropertiesCheckedState) { … }
TEST(MenuPropertyListTest, ComputePropertiesSeparator) { … }
TEST(MenuPropertyListTest, ComputePropertiesSubmenu) { … }
TEST(MenuPropertyListTest, ComputePropertiesEnabledState) { … }
TEST(MenuPropertyListTest, ComputePropertiesVisibleState) { … }
TEST(MenuPropertyListTest, ComputePropertiesLabel) { … }
TEST(MenuPropertyListTest, ComputePropertiesIcon) { … }
#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)
TEST(MenuPropertyListTest, ComputePropertiesAccelerator) { … }
#endif
TEST(MenuPropertyListTest, ComputePropertyChanges) { … }