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

Side by Side Diff: test/cctest/test-version.cc

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 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 unified diff | Download patch
« src/accessors.h ('K') | « test/cctest/test-log-ia32.cc ('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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 15 matching lines...) Expand all
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #include "v8.h" 28 #include "v8.h"
29 29
30 #include "version.h" 30 #include "version.h"
31 #include "cctest.h" 31 #include "cctest.h"
32 32
33 using namespace v8::internal; 33 using namespace v8::internal;
34 34
35 35
36 namespace v8 { namespace internal { 36 namespace v8 {
37 namespace internal {
37 38
38 void SetVersion(int major, int minor, int build, int patch, 39 void SetVersion(int major, int minor, int build, int patch,
39 bool candidate, const char* soname) { 40 bool candidate, const char* soname) {
40 Version::major_ = major; 41 Version::major_ = major;
41 Version::minor_ = minor; 42 Version::minor_ = minor;
42 Version::build_ = build; 43 Version::build_ = build;
43 Version::patch_ = patch; 44 Version::patch_ = patch;
44 Version::candidate_ = candidate; 45 Version::candidate_ = candidate;
45 Version::soname_ = soname; 46 Version::soname_ = soname;
46 } 47 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 CheckVersion(1, 0, 0, 0, false, "1.0.0", "libv8-1.0.0.so"); 80 CheckVersion(1, 0, 0, 0, false, "1.0.0", "libv8-1.0.0.so");
80 CheckVersion(1, 0, 0, 0, true, 81 CheckVersion(1, 0, 0, 0, true,
81 "1.0.0 (candidate)", "libv8-1.0.0-candidate.so"); 82 "1.0.0 (candidate)", "libv8-1.0.0-candidate.so");
82 CheckVersion(1, 0, 0, 1, false, "1.0.0.1", "libv8-1.0.0.1.so"); 83 CheckVersion(1, 0, 0, 1, false, "1.0.0.1", "libv8-1.0.0.1.so");
83 CheckVersion(1, 0, 0, 1, true, 84 CheckVersion(1, 0, 0, 1, true,
84 "1.0.0.1 (candidate)", "libv8-1.0.0.1-candidate.so"); 85 "1.0.0.1 (candidate)", "libv8-1.0.0.1-candidate.so");
85 CheckVersion(2, 5, 10, 7, false, "2.5.10.7", "libv8-2.5.10.7.so"); 86 CheckVersion(2, 5, 10, 7, false, "2.5.10.7", "libv8-2.5.10.7.so");
86 CheckVersion(2, 5, 10, 7, true, 87 CheckVersion(2, 5, 10, 7, true,
87 "2.5.10.7 (candidate)", "libv8-2.5.10.7-candidate.so"); 88 "2.5.10.7 (candidate)", "libv8-2.5.10.7-candidate.so");
88 } 89 }
OLDNEW
« src/accessors.h ('K') | « test/cctest/test-log-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698