| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import <EarlGrey/EarlGrey.h> | 5 #import <EarlGrey/EarlGrey.h> |
| 6 #import <UIKit/UIKit.h> | 6 #import <UIKit/UIKit.h> |
| 7 #import <XCTest/XCTest.h> | 7 #import <XCTest/XCTest.h> |
| 8 | 8 |
| 9 #include "base/strings/sys_string_conversions.h" | 9 #include "base/strings/sys_string_conversions.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "components/reading_list/ios/reading_list_model.h" | 11 #include "components/reading_list/core/reading_list_model.h" |
| 12 #include "ios/chrome/browser/reading_list/reading_list_model_factory.h" | 12 #include "ios/chrome/browser/reading_list/reading_list_model_factory.h" |
| 13 #import "ios/chrome/browser/ui/commands/generic_chrome_command.h" | 13 #import "ios/chrome/browser/ui/commands/generic_chrome_command.h" |
| 14 #include "ios/chrome/browser/ui/commands/ios_command_ids.h" | 14 #include "ios/chrome/browser/ui/commands/ios_command_ids.h" |
| 15 #import "ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.h" | 15 #import "ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.h" |
| 16 #import "ios/chrome/browser/ui/reading_list/reading_list_empty_collection_backgr
ound.h" | 16 #import "ios/chrome/browser/ui/reading_list/reading_list_empty_collection_backgr
ound.h" |
| 17 #include "ios/chrome/browser/ui/ui_util.h" | 17 #include "ios/chrome/browser/ui/ui_util.h" |
| 18 #include "ios/chrome/grit/ios_strings.h" | 18 #include "ios/chrome/grit/ios_strings.h" |
| 19 #include "ios/chrome/grit/ios_theme_resources.h" | 19 #include "ios/chrome/grit/ios_theme_resources.h" |
| 20 #import "ios/chrome/test/app/chrome_test_util.h" | 20 #import "ios/chrome/test/app/chrome_test_util.h" |
| 21 #import "ios/chrome/test/earl_grey/accessibility_util.h" | 21 #import "ios/chrome/test/earl_grey/accessibility_util.h" |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 assertWithMatcher:grey_nil()]; | 553 assertWithMatcher:grey_nil()]; |
| 554 TapButtonWithID(IDS_IOS_READING_LIST_EDIT_BUTTON); | 554 TapButtonWithID(IDS_IOS_READING_LIST_EDIT_BUTTON); |
| 555 TapButtonWithID(IDS_IOS_READING_LIST_DELETE_ALL_READ_BUTTON); | 555 TapButtonWithID(IDS_IOS_READING_LIST_DELETE_ALL_READ_BUTTON); |
| 556 | 556 |
| 557 // Verify the background string is displayed. | 557 // Verify the background string is displayed. |
| 558 [[EarlGrey selectElementWithMatcher:EmptyBackground()] | 558 [[EarlGrey selectElementWithMatcher:EmptyBackground()] |
| 559 assertWithMatcher:grey_notNil()]; | 559 assertWithMatcher:grey_notNil()]; |
| 560 } | 560 } |
| 561 | 561 |
| 562 @end | 562 @end |
| OLD | NEW |