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

Unified Diff: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration_unittest.mm

Issue 2119033002: [Material][Mac] Implement Omnibox Verbose State Chips (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the verbose for "NOT SECURE" Created 4 years, 6 months 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
Index: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration_unittest.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration_unittest.mm b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration_unittest.mm
index e898e20b7f49bb6977fb8f94e736d193bac859ee..c20315c49c62496608c5bbab351ffe65d14bbe56 100644
--- a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration_unittest.mm
+++ b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration_unittest.mm
@@ -4,24 +4,23 @@
#import <Cocoa/Cocoa.h>
-#import "chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.h"
+#import "chrome/browser/ui/cocoa/location_bar/secure_verbose_bubble_decoration.h"
#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
-class EVBubbleDecorationTest : public CocoaTest {
+class SecureVerboseBubbleDecorationTest : public CocoaTest {
public:
- EVBubbleDecorationTest() : decoration_(NULL) {
- }
+ SecureVerboseBubbleDecorationTest() : decoration_(NULL) {}
- EVBubbleDecoration decoration_;
+ SecureVerboseBubbleDecoration decoration_;
};
// Test that the decoration gets smaller when there's not enough space
// to fit, within bounds.
-TEST_F(EVBubbleDecorationTest, MiddleElide) {
+TEST_F(SecureVerboseBubbleDecorationTest, MiddleElide) {
NSString* kLongString = @"A very long string with spaces";
const CGFloat kWide = 1000.0; // Wide enough to fit everything.
const CGFloat kNarrow = 10.0; // Too narrow for anything.

Powered by Google App Engine
This is Rietveld 408576698