OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #import "ios/chrome/browser/ui/reading_list/text_badge_view.h" |
| 6 |
| 7 #import <Foundation/Foundation.h> |
| 8 |
| 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "testing/gtest_mac.h" |
| 11 |
| 12 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 13 #error "This file requires ARC support." |
| 14 #endif |
| 15 |
| 16 // Tests the badge's intrinsic content size given short display text. |
| 17 TEST(TextBadgeViewTest, BadgeSizeShortLabel) {} |
| 18 |
| 19 // Tests the badge's intrinsic content size given long display text. |
| 20 TEST(TextBadgeViewTest, BadgeSizeLongLabel) {} |
| 21 |
| 22 // Tests that text and layout flip for RTL languages. |
| 23 TEST(TextBadgeViewTest, RTL) {} |
| 24 |
| 25 // Tests that the accessibility label matches the display text. |
| 26 TEST(TextBadgeViewTest, Accessibility) {} |
OLD | NEW |