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

Unified Diff: chrome/common/json_schema_validator_unittest.cc

Issue 12226045: Linux/ChromeOS Chromium style checker cleanup, chrome/ edition part 1. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/unpacker_unittest.cc ('k') | chrome/common/metrics/entropy_provider_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/json_schema_validator_unittest.cc
===================================================================
--- chrome/common/json_schema_validator_unittest.cc (revision 181040)
+++ chrome/common/json_schema_validator_unittest.cc (working copy)
@@ -16,7 +16,7 @@
protected:
virtual void ExpectValid(const std::string& test_source,
Value* instance, DictionaryValue* schema,
- ListValue* types) {
+ ListValue* types) OVERRIDE {
JSONSchemaValidator validator(schema, types);
if (validator.Validate(instance))
return;
@@ -28,11 +28,12 @@
}
}
- virtual void ExpectNotValid(const std::string& test_source,
- Value* instance, DictionaryValue* schema,
- ListValue* types,
- const std::string& expected_error_path,
- const std::string& expected_error_message) {
+ virtual void ExpectNotValid(
+ const std::string& test_source,
+ Value* instance, DictionaryValue* schema,
+ ListValue* types,
+ const std::string& expected_error_path,
+ const std::string& expected_error_message) OVERRIDE {
JSONSchemaValidator validator(schema, types);
if (validator.Validate(instance)) {
ADD_FAILURE() << test_source;
« no previous file with comments | « chrome/common/extensions/unpacker_unittest.cc ('k') | chrome/common/metrics/entropy_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698