| 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 "components/reading_list/ios/reading_list_model.h" | 10 #include "components/reading_list/ios/reading_list_model.h" |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 | 438 |
| 439 // Tap the action sheet. | 439 // Tap the action sheet. |
| 440 TapButtonWithID(IDS_IOS_READING_LIST_MARK_READ_BUTTON); | 440 TapButtonWithID(IDS_IOS_READING_LIST_MARK_READ_BUTTON); |
| 441 | 441 |
| 442 AssertAllEntriesVisible(); | 442 AssertAllEntriesVisible(); |
| 443 XCTAssertEqual(kNumberReadEntries + 1, ModelReadSize(GetReadingListModel())); | 443 XCTAssertEqual(kNumberReadEntries + 1, ModelReadSize(GetReadingListModel())); |
| 444 XCTAssertEqual(kNumberUnreadEntries - 1, | 444 XCTAssertEqual(kNumberUnreadEntries - 1, |
| 445 GetReadingListModel()->unread_size()); | 445 GetReadingListModel()->unread_size()); |
| 446 } | 446 } |
| 447 | 447 |
| 448 // Tests that hitting the tab key doesn't trigger the omnibox in the background. |
| 449 // Testing against regressions of the fix for crbug.com/676993. |
| 450 - (void)testTabKeyIsANoOp { |
| 451 TODO |
| 452 } |
| 453 |
| 448 @end | 454 @end |
| OLD | NEW |