Index: ios/chrome/browser/ui/suggestions/suggestions_stack_item_unittest.mm |
diff --git a/ios/chrome/browser/ui/suggestions/suggestions_stack_item_unittest.mm b/ios/chrome/browser/ui/suggestions/suggestions_stack_item_unittest.mm |
deleted file mode 100644 |
index 4a6ddec4eac48da7d8db77beb9284f0b5b11eedc..0000000000000000000000000000000000000000 |
--- a/ios/chrome/browser/ui/suggestions/suggestions_stack_item_unittest.mm |
+++ /dev/null |
@@ -1,31 +0,0 @@ |
-// Copyright 2017 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. |
- |
-#import "ios/chrome/browser/ui/suggestions/suggestions_stack_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(SuggestionsStackItemTest, 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]]); |
- |
- [item configureCell:cell]; |
- EXPECT_EQ(title, [cell.titleButton titleForState:UIControlStateNormal]); |
- EXPECT_EQ(subtitle, cell.detailTextLabel.text); |
-} |
- |
-} // namespace |