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

Side by Side Diff: chrome/browser/install_module_verifier_unittest_win.cc

Issue 36183002: Merge 227542 "Implement install module verification metric." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1650/src/
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_browser_main_win.cc ('k') | chrome/browser/install_module_verifier_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/install_module_verifier_win.h" 5 #include "chrome/browser/install_module_verifier_win.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 "123 0123456789abcdef0123456789abcdef\r\n" 147 "123 0123456789abcdef0123456789abcdef\r\n"
148 "321 BAADCAFEBAADCAFEBAADCAFEBAADCAFE", 148 "321 BAADCAFEBAADCAFEBAADCAFEBAADCAFE",
149 &additional_modules); 149 &additional_modules);
150 ASSERT_EQ(2u, additional_modules.size()); 150 ASSERT_EQ(2u, additional_modules.size());
151 ASSERT_EQ(123u, additional_modules[0].first); 151 ASSERT_EQ(123u, additional_modules[0].first);
152 ASSERT_EQ("0123456789abcdef0123456789abcdef", additional_modules[0].second); 152 ASSERT_EQ("0123456789abcdef0123456789abcdef", additional_modules[0].second);
153 ASSERT_EQ(321u, additional_modules[1].first); 153 ASSERT_EQ(321u, additional_modules[1].first);
154 ASSERT_EQ("BAADCAFEBAADCAFEBAADCAFEBAADCAFE", additional_modules[1].second); 154 ASSERT_EQ("BAADCAFEBAADCAFEBAADCAFEBAADCAFE", additional_modules[1].second);
155 additional_modules.clear(); 155 additional_modules.clear();
156 } 156 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_win.cc ('k') | chrome/browser/install_module_verifier_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698