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

Side by Side Diff: extensions/common/manifest_handlers/shared_module_manifest_unittest.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: 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
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 "base/macros.h"
5 #include "base/version.h" 6 #include "base/version.h"
6 #include "extensions/common/extension.h" 7 #include "extensions/common/extension.h"
7 #include "extensions/common/manifest_handlers/shared_module_info.h" 8 #include "extensions/common/manifest_handlers/shared_module_info.h"
8 #include "extensions/common/manifest_test.h" 9 #include "extensions/common/manifest_test.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 namespace { 12 namespace {
12 13
13 const char* kValidImportPath = 14 const char* kValidImportPath =
14 "_modules/abcdefghijklmnopabcdefghijklmnop/foo/bar.html"; 15 "_modules/abcdefghijklmnopabcdefghijklmnop/foo/bar.html";
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "Invalid value for 'import'."), 115 "Invalid value for 'import'."),
115 Testcase("shared_module_import_invalid_id.json", 116 Testcase("shared_module_import_invalid_id.json",
116 "Invalid value for 'import[0].id'."), 117 "Invalid value for 'import[0].id'."),
117 Testcase("shared_module_import_invalid_version.json", 118 Testcase("shared_module_import_invalid_version.json",
118 "Invalid value for 'import[0].minimum_version'."), 119 "Invalid value for 'import[0].minimum_version'."),
119 }; 120 };
120 RunTestcases(testcases, arraysize(testcases), EXPECT_TYPE_ERROR); 121 RunTestcases(testcases, arraysize(testcases), EXPECT_TYPE_ERROR);
121 } 122 }
122 123
123 } // namespace extensions 124 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698