| 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/bubble/bubble_view_controller.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 #include "testing/platform_test.h" |
| 10 |
| 11 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 12 #error "This file requires ARC support." |
| 13 #endif |
| 14 |
| 15 // Fixture to test BubbleViewController. |
| 16 class BubbleViewControllerTest : public PlatformTest {}; |
| 17 |
| 18 // Tests the bubble's intrinsic content size given short text. |
| 19 TEST_F(BubbleViewControllerTest, BubbleSizeShortText) {} |
| 20 |
| 21 // Tests that the bubble accommodates text that exceeds the maximum bubble width |
| 22 // by displaying the text on multiple lines. |
| 23 TEST_F(BubbleViewControllerTest, BubbleSizeMultipleLineText) {} |
| 24 |
| 25 // Tests that the bubble attaches to the UI element when the layout is flipped |
| 26 // for RTL languages. |
| 27 TEST_F(BubbleViewControllerTest, RTL) {} |
| 28 |
| 29 // Tests that the accessibility label matches the display text. |
| 30 TEST_F(BubbleViewControllerTest, Accessibility) {} |
| OLD | NEW |