Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: ash/common/system/tray/tri_view_unittest.cc

Issue 2487603005: Adjust TriView. (Closed)
Patch Set: merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/system/tray/tri_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tri_view_unittest.cc
diff --git a/ash/common/system/tray/tri_view_unittest.cc b/ash/common/system/tray/tri_view_unittest.cc
index 95c9dd5bdc50d2e9dde0caa09e8df626c920e5d9..215add6e9c1b739d264df564f93fd14c48d6148d 100644
--- a/ash/common/system/tray/tri_view_unittest.cc
+++ b/ash/common/system/tray/tri_view_unittest.cc
@@ -98,14 +98,6 @@ TEST_F(TriViewTest, VerticalOrientation) {
EXPECT_EQ(kViewWidth * 2, GetBoundsInHost(end_child).y());
}
-TEST_F(TriViewTest, MinCrossAxisSize) {
- const int kMinCrossAxisSize = 15;
- EXPECT_EQ(0, tri_view_->GetPreferredSize().height());
- tri_view_->SetMinCrossAxisSize(kMinCrossAxisSize);
- EXPECT_EQ(kMinCrossAxisSize, tri_view_->GetPreferredSize().height());
- EXPECT_EQ(kMinCrossAxisSize, tri_view_->GetHeightForWidth(0));
-}
-
TEST_F(TriViewTest, MainAxisMinSize) {
tri_view_->SetBounds(0, 0, 100, 10);
const gfx::Size kMinSize(15, 10);
« no previous file with comments | « ash/common/system/tray/tri_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698