chromium/chrome/browser/ui/tabs/existing_base_sub_menu_model_unittest.cc

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

#include "chrome/browser/ui/tabs/existing_base_sub_menu_model.h"

#include <memory>
#include <vector>

#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/grit/generated_resources.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "ui/base/models/simple_menu_model.h"
#include "url/gurl.h"

namespace {

constexpr int kMinCommandId =;
constexpr int kParentNewCommandId =;
constexpr int kExpectedFlags =;
constexpr char16_t kItem1Text[] =;
constexpr char16_t kTitleText[] =;
constexpr char16_t kItem2Text[] =;

class TestDelegate : public ui::SimpleMenuModel::Delegate {};

class TestModel : public ExistingBaseSubMenuModel {};

}  // namespace

class ExistingBaseSubMenuModelTest : public BrowserWithTestWindowTest {};

// TODO(dfried): Verify that label font list is overridden for title elements.
// Note that we can't test this because UI style info isn't loaded for unit
// tests so it still returns null.

TEST_F(ExistingBaseSubMenuModelTest, IsCommandIdAlerted) {}

TEST_F(ExistingBaseSubMenuModelTest, ExecuteCommand_New) {}

TEST_F(ExistingBaseSubMenuModelTest, ExecuteCommand_Existing) {}