Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_item_unittest.mm |
diff --git a/ios/chrome/browser/ui/suggestions/suggestions_stack_item_unittest.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_item_unittest.mm |
similarity index 56% |
rename from ios/chrome/browser/ui/suggestions/suggestions_stack_item_unittest.mm |
rename to ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_item_unittest.mm |
index 4a6ddec4eac48da7d8db77beb9284f0b5b11eedc..6c182cfb58b651d72eaadca9ebe13e615095f8e3 100644 |
--- a/ios/chrome/browser/ui/suggestions/suggestions_stack_item_unittest.mm |
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_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_stack_item.h" |
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_item.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -13,15 +13,15 @@ |
namespace { |
// Tests that configureCell: set all the fields of the cell. |
-TEST(SuggestionsStackItemTest, CellIsConfigured) { |
+TEST(ContentSuggestionsStackItemTest, CellIsConfigured) { |
NSString* title = @"testTitle"; |
NSString* subtitle = @"testSubtitle"; |
- SuggestionsStackItem* item = |
- [[SuggestionsStackItem alloc] initWithType:0 |
- title:title |
- subtitle:subtitle]; |
- SuggestionsStackCell* cell = [[[item cellClass] alloc] init]; |
- EXPECT_TRUE([cell isMemberOfClass:[SuggestionsStackCell class]]); |
+ ContentSuggestionsStackItem* item = |
+ [[ContentSuggestionsStackItem alloc] initWithType:0 |
+ title:title |
+ subtitle:subtitle]; |
+ ContentSuggestionsStackCell* cell = [[[item cellClass] alloc] init]; |
+ EXPECT_EQ([ContentSuggestionsStackCell class], [cell class]); |
[item configureCell:cell]; |
EXPECT_EQ(title, [cell.titleButton titleForState:UIControlStateNormal]); |