| 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;
|
|
|