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

Side by Side Diff: courgette/versioning_unittest.cc

Issue 1543643002: Switch to standard integer types in courgette/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
« no previous file with comments | « courgette/types_win_pe.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "courgette/base_test_unittest.h" 5 #include "courgette/base_test_unittest.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 10
9 #include "base/basictypes.h"
10 #include "courgette/courgette.h" 11 #include "courgette/courgette.h"
11 #include "courgette/streams.h" 12 #include "courgette/streams.h"
12 #include "courgette/third_party/bsdiff.h" 13 #include "courgette/third_party/bsdiff.h"
13 14
14 class VersioningTest : public BaseTest { 15 class VersioningTest : public BaseTest {
15 public: 16 public:
16 void TestApplyingOldBsDiffPatch(const char* src_file, 17 void TestApplyingOldBsDiffPatch(const char* src_file,
17 const char* patch_file, 18 const char* patch_file,
18 const char* expected_file) const; 19 const char* expected_file) const;
19 }; 20 };
(...skipping 29 matching lines...) Expand all
49 50
50 TEST_F(VersioningTest, BsDiff) { 51 TEST_F(VersioningTest, BsDiff) {
51 TestApplyingOldBsDiffPatch("setup1.exe", "setup1-setup2.v1.bsdiff", 52 TestApplyingOldBsDiffPatch("setup1.exe", "setup1-setup2.v1.bsdiff",
52 "setup2.exe"); 53 "setup2.exe");
53 TestApplyingOldBsDiffPatch("chrome64_1.exe", "chrome64-1-2.v1.bsdiff", 54 TestApplyingOldBsDiffPatch("chrome64_1.exe", "chrome64-1-2.v1.bsdiff",
54 "chrome64_2.exe"); 55 "chrome64_2.exe");
55 56
56 // We also need a way to test that newly generated patches are appropriately 57 // We also need a way to test that newly generated patches are appropriately
57 // applicable by older clients... not sure of the best way to do that. 58 // applicable by older clients... not sure of the best way to do that.
58 } 59 }
OLDNEW
« no previous file with comments | « courgette/types_win_pe.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698