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

Unified Diff: chrome/common/extensions/extension_set_unittest.cc

Issue 8542001: Insert default stylesheet for platform apps. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 | « chrome/common/extensions/extension_set.cc ('k') | chrome/renderer/extensions/extension_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_set_unittest.cc
diff --git a/chrome/common/extensions/extension_set_unittest.cc b/chrome/common/extensions/extension_set_unittest.cc
index e51d5718c97af769eea232078bc02f816857d7ae..728d32903ca203984a1834ef61d56905094351ef 100644
--- a/chrome/common/extensions/extension_set_unittest.cc
+++ b/chrome/common/extensions/extension_set_unittest.cc
@@ -1,3 +1,4 @@
+
Aaron Boodman 2011/11/11 20:06:14 whoops
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -114,4 +115,8 @@ TEST(ExtensionSetTest, ExtensionSet) {
extensions.Remove(ext2->id());
EXPECT_EQ(2u, extensions.size());
EXPECT_FALSE(extensions.GetByID(ext2->id()));
+
+ // Does Clear() clear?
+ extensions.Clear();
+ EXPECT_EQ(0u, extensions.size());
}
« no previous file with comments | « chrome/common/extensions/extension_set.cc ('k') | chrome/renderer/extensions/extension_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698