Chromium Code Reviews| 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_promo/bubble_view_controller.h" | |
| 6 #import "ios/chrome/browser/ui/bubble_promo/bubble_configuration.h" | |
|
edchin
2017/07/07 04:24:10
Remove this.
gchatz
2017/07/07 04:29:11
bubble_configuration.h was removed.
helenlyang
2017/07/07 23:29:16
Done.
| |
| 7 | |
| 8 #import <Foundation/Foundation.h> | |
|
edchin
2017/07/07 04:24:10
Remove this.
helenlyang
2017/07/07 23:29:16
Done.
| |
| 9 | |
| 10 #include "testing/gtest/include/gtest/gtest.h" | |
| 11 #include "testing/gtest_mac.h" | |
| 12 | |
| 13 #if !defined(__has_feature) || !__has_feature(objc_arc) | |
| 14 #error "This file requires ARC support." | |
| 15 #endif | |
| 16 | |
|
gchatz
2017/07/07 04:29:11
These tests are likely going to do similar set up,
helenlyang
2017/07/07 23:29:16
Added a stub implementation for now. Is PlatformTe
gchatz
2017/07/08 00:39:48
Yeah that should be fine.
| |
| 17 // Tests the bubble's intrinsic content size given short text. | |
| 18 TEST(BubbleViewControllerTest, BubbleSizeShortText) {} | |
| 19 | |
| 20 // Tests that the bubble accommodates text that exceeds the maximum bubble width | |
| 21 // by displaying the text on multiple lines. | |
| 22 TEST(BubbleViewControllerTest, BubbleSizeMultipleLineText) {} | |
| 23 | |
| 24 // Tests that the bubble attaches to the UI element when the layout is flipped | |
| 25 // for RTL languages. | |
| 26 TEST(BubbleViewControllerTest, RTL) {} | |
| 27 | |
| 28 // Tests that the accessibility label matches the display text. | |
| 29 TEST(BubbleViewControllerTest, Accessibility) {} | |
| OLD | NEW |