#include "chrome/browser/ui/global_error/global_error_service.h"
#include <memory>
#include "base/memory/ptr_util.h"
#include "chrome/browser/ui/global_error/global_error.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
class BaseError : public GlobalError { … };
int BaseError::count_ = …;
class MenuError : public BaseError { … };
}
TEST(GlobalErrorServiceTest, AddError) { … }
TEST(GlobalErrorServiceTest, RemoveError) { … }
TEST(GlobalErrorServiceTest, GetMenuItem) { … }
TEST(GlobalErrorServiceTest, HighestSeverity) { … }