Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: ios/chrome/browser/ui/suggestions/suggestions_article_item_unittest.mm

Issue 2633243003: Use ARC for Suggestions tests (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/suggestions/suggestions_article_item_unittest.mm
diff --git a/ios/chrome/browser/ui/suggestions/suggestions_article_item_unittest.mm b/ios/chrome/browser/ui/suggestions/suggestions_article_item_unittest.mm
index 74a22e4e9ae6e7dd45e309f9ca1c4eef78987ede..aa2097559bae41af00f5b4cfeb078406e23bf4de 100644
--- a/ios/chrome/browser/ui/suggestions/suggestions_article_item_unittest.mm
+++ b/ios/chrome/browser/ui/suggestions/suggestions_article_item_unittest.mm
@@ -4,11 +4,15 @@
#import "ios/chrome/browser/ui/suggestions/suggestions_article_item.h"
-#import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
#include "testing/gtest/include/gtest/gtest.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace {
+// Tests that configureCell: set all the fields of the cell.
TEST(SuggestionsArticleItemTest, CellIsConfigured) {
NSString* title = @"testTitle";
NSString* subtitle = @"testSubtitle";
« no previous file with comments | « ios/chrome/browser/ui/suggestions/BUILD.gn ('k') | ios/chrome/browser/ui/suggestions/suggestions_expandable_item_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698