| Index: chrome/common/icon_messages_unittest.cc
|
| diff --git a/chrome/common/icon_messages_unittest.cc b/chrome/common/icon_messages_unittest.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..20ca21228bc8f4124934a7282e4111163bffdbf4
|
| --- /dev/null
|
| +++ b/chrome/common/icon_messages_unittest.cc
|
| @@ -0,0 +1,15 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/history/history_types.h"
|
| +#include "chrome/common/icon_messages.h"
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +
|
| +// Tests the IconType definition
|
| +TEST(IconMessagesTest, IconTypeDefinition) {
|
| + EXPECT_EQ(static_cast<history::IconType>(FAVICON), history::FAVICON);
|
| + EXPECT_EQ(static_cast<history::IconType>(TOUCH_ICON), history::TOUCH_ICON);
|
| + EXPECT_EQ(static_cast<history::IconType>(TOUCH_PRECOMPOSED_ICON),
|
| + history::TOUCH_PRECOMPOSED_ICON);
|
| +}
|
|
|