diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-20 09:00:21 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-20 09:00:21 +0000 |
commit | d0f806f7ab1e0a6bfcb8975f293b0204f6e18ceb (patch) | |
tree | 1a6766f5002fe2f75ba314a109387f004cd8993a /chrome/browser/extensions | |
parent | 8d6d9ffcb1e23bd575630f02d19c44c44dfcc062 (diff) | |
download | chromium_src-d0f806f7ab1e0a6bfcb8975f293b0204f6e18ceb.zip chromium_src-d0f806f7ab1e0a6bfcb8975f293b0204f6e18ceb.tar.gz chromium_src-d0f806f7ab1e0a6bfcb8975f293b0204f6e18ceb.tar.bz2 |
Fix linux tests. Can't rely on directory iteration order.
Review URL: http://codereview.chromium.org/20532
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r-- | chrome/browser/extensions/extensions_service_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extensions_service_unittest.cc b/chrome/browser/extensions/extensions_service_unittest.cc index f1c563e..4c38801 100644 --- a/chrome/browser/extensions/extensions_service_unittest.cc +++ b/chrome/browser/extensions/extensions_service_unittest.cc @@ -86,9 +86,10 @@ class ExtensionsServiceTestFrontend extensions_.insert(extensions_.end(), new_extensions->begin(), new_extensions->end()); delete new_extensions; - // In the tests we rely on extensions being in particular order, + // In the tests we rely on extensions and errors being in particular order, // which is not always the case (and is not guaranteed by used APIs). std::stable_sort(extensions_.begin(), extensions_.end(), ExtensionsOrder()); + std::stable_sort(errors_.begin(), errors_.end()); } virtual void OnExtensionInstallError(const std::string& message) { |