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

Unified Diff: chrome/browser/extensions/extensions_service_unittest.cc

Issue 2121009: Fix a bug in unit test where we were not resetting state properly. At some (Closed)
Patch Set: Created 10 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extensions_service_unittest.cc
diff --git a/chrome/browser/extensions/extensions_service_unittest.cc b/chrome/browser/extensions/extensions_service_unittest.cc
index 3f1f8c47b6a0911d3eb83cfd22da333e047e8d3c..f0ab3cda0396793364ae4c9813f8590f395951e8 100644
--- a/chrome/browser/extensions/extensions_service_unittest.cc
+++ b/chrome/browser/extensions/extensions_service_unittest.cc
@@ -1607,6 +1607,7 @@ void ExtensionsServiceTest::TestExternalProvider(
provider->RemoveExtension(good_crx);
loaded_.clear();
+ service_->UnloadAllExtensions();
service_->LoadAllExtensions();
loop_.RunAllPending();
ASSERT_EQ(0u, loaded_.size());
@@ -1623,7 +1624,7 @@ void ExtensionsServiceTest::TestExternalProvider(
loop_.RunAllPending();
ASSERT_EQ(1u, loaded_.size());
- ASSERT_EQ(1u, GetErrors().size());
+ ASSERT_EQ(0u, GetErrors().size());
// User uninstalls.
loaded_.clear();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698