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

Side by Side Diff: chrome/browser/extensions/api/extension_action/extension_browser_actions_api_unittest.cc

Issue 166443004: Add frame color option to packaged app windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <string> 5 #include <string>
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h" 8 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h"
9 #include "extensions/common/extension.h" 9 #include "extensions/common/extension.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 43
44 TEST(ExtensionBrowserActionsApiTest, ChangeBadgeBackgroundCSSTooLong) { 44 TEST(ExtensionBrowserActionsApiTest, ChangeBadgeBackgroundCSSTooLong) {
45 RunFailTest("#FF22128"); 45 RunFailTest("#FF22128");
46 } 46 }
47 47
48 TEST(ExtensionBrowserActionsApiTest, ChangeBadgeBackgroundCSSInvalid) { 48 TEST(ExtensionBrowserActionsApiTest, ChangeBadgeBackgroundCSSInvalid) {
49 RunFailTest("#-22128"); 49 RunFailTest("#-22128");
50 } 50 }
51 51
52 TEST(ExtensionBrowserActionsApiTest, ChangeBadgeBackgroundCSSInvalidWithPlus) {
53 RunFailTest("#+22128");
54 }
55
52 } // namespace extensions 56 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698