| Index: components/json_schema/json_schema_validator_unittest.cc
|
| diff --git a/components/json_schema/json_schema_validator_unittest.cc b/components/json_schema/json_schema_validator_unittest.cc
|
| index 134e5fc40d3f9f611f4c2659239707a99007d5fb..ebd48c06025fd80f52bb2cedf106adbd4627151e 100644
|
| --- a/components/json_schema/json_schema_validator_unittest.cc
|
| +++ b/components/json_schema/json_schema_validator_unittest.cc
|
| @@ -12,10 +12,10 @@ class JSONSchemaValidatorCPPTest : public JSONSchemaValidatorTestBase {
|
| JSONSchemaValidatorCPPTest() : JSONSchemaValidatorTestBase() {}
|
|
|
| protected:
|
| - virtual void ExpectValid(const std::string& test_source,
|
| - base::Value* instance,
|
| - base::DictionaryValue* schema,
|
| - base::ListValue* types) override {
|
| + void ExpectValid(const std::string& test_source,
|
| + base::Value* instance,
|
| + base::DictionaryValue* schema,
|
| + base::ListValue* types) override {
|
| JSONSchemaValidator validator(schema, types);
|
| if (validator.Validate(instance))
|
| return;
|
| @@ -27,12 +27,12 @@ class JSONSchemaValidatorCPPTest : public JSONSchemaValidatorTestBase {
|
| }
|
| }
|
|
|
| - virtual void ExpectNotValid(
|
| - const std::string& test_source,
|
| - base::Value* instance, base::DictionaryValue* schema,
|
| - base::ListValue* types,
|
| - const std::string& expected_error_path,
|
| - const std::string& expected_error_message) override {
|
| + void ExpectNotValid(const std::string& test_source,
|
| + base::Value* instance,
|
| + base::DictionaryValue* schema,
|
| + base::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;
|
|
|