Home
last modified time | relevance | path

Searched refs:SCHEMA_STRICT (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/components/policy/core/common/
Dschema_unittest.cc185 bool strictly_valid = schema.Validate(value, SCHEMA_STRICT, nullptr, &error); in TestSchemaValidationHelper()
191 EXPECT_TRUE(schema.Validate(*cloned_value, SCHEMA_STRICT, nullptr, &error)) in TestSchemaValidationHelper()
193 EXPECT_TRUE(schema.Normalize(cloned_value.get(), SCHEMA_STRICT, nullptr, in TestSchemaValidationHelper()
205 bool returned = schema.Validate(value, SCHEMA_STRICT, &error_path, &error); in TestSchemaValidationWithPath()
672 TestSchemaValidation(schema, bundle, SCHEMA_STRICT, true); in TEST()
676 TestSchemaValidation(schema, bundle, SCHEMA_STRICT, false); in TEST()
684 TestSchemaValidation(schema, bundle, SCHEMA_STRICT, false); in TEST()
693 TestSchemaValidation(schema, bundle, SCHEMA_STRICT, false); in TEST()
699 TestSchemaValidation(schema, bundle, SCHEMA_STRICT, false); in TEST()
758 TestSchemaValidation(schema, bundle, SCHEMA_STRICT, true); in TEST()
[all …]
Dschema.h37 SCHEMA_STRICT = 0, enumerator
Dschema_map.cc71 SCHEMA_STRICT, in FilterBundle()
Dschema.cc106 return strategy != SCHEMA_STRICT; in StrategyAllowUnknownOnTopLevel()
111 SCHEMA_STRICT, // SCHEMA_STRICT in StrategyForNextLevel()
112 SCHEMA_STRICT, // SCHEMA_ALLOW_UNKNOWN_TOPLEVEL in StrategyForNextLevel()
114 SCHEMA_STRICT, // SCHEMA_ALLOW_INVALID_TOPLEVEL in StrategyForNextLevel()