Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item_unittest.mm |
diff --git a/ios/chrome/browser/ui/suggestions/suggestions_article_item_unittest.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item_unittest.mm |
similarity index 54% |
rename from ios/chrome/browser/ui/suggestions/suggestions_article_item_unittest.mm |
rename to ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item_unittest.mm |
index aa2097559bae41af00f5b4cfeb078406e23bf4de..dde70de8113ddb7573e0cb784f840da5d7bb90fd 100644 |
--- a/ios/chrome/browser/ui/suggestions/suggestions_article_item_unittest.mm |
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item_unittest.mm |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#import "ios/chrome/browser/ui/suggestions/suggestions_article_item.h" |
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -13,17 +13,17 @@ |
namespace { |
// Tests that configureCell: set all the fields of the cell. |
-TEST(SuggestionsArticleItemTest, CellIsConfigured) { |
+TEST(ContentSuggestionsArticleItemTest, CellIsConfigured) { |
NSString* title = @"testTitle"; |
NSString* subtitle = @"testSubtitle"; |
UIImage* image = [[UIImage alloc] init]; |
- SuggestionsArticleItem* item = |
- [[SuggestionsArticleItem alloc] initWithType:0 |
- title:title |
- subtitle:subtitle |
- image:image]; |
- SuggestionsArticleCell* cell = [[[item cellClass] alloc] init]; |
- EXPECT_TRUE([cell isMemberOfClass:[SuggestionsArticleCell class]]); |
+ ContentSuggestionsArticleItem* item = |
+ [[ContentSuggestionsArticleItem alloc] initWithType:0 |
+ title:title |
+ subtitle:subtitle |
+ image:image]; |
+ ContentSuggestionsArticleCell* cell = [[[item cellClass] alloc] init]; |
+ EXPECT_EQ([ContentSuggestionsArticleCell class], [cell class]); |
[item configureCell:cell]; |
EXPECT_EQ(title, cell.titleLabel.text); |