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

Unified Diff: tools/json_schema_compiler/test/objects_unittest.cc

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 8 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 | « tools/json_schema_compiler/test/objects.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/test/objects_unittest.cc
diff --git a/tools/json_schema_compiler/test/objects_unittest.cc b/tools/json_schema_compiler/test/objects_unittest.cc
index 6dc2c4548d2e8c70f96ef0e618d117b8eb903b6f..f57300f35e00791313f91ed728d75116a4c05fe9 100644
--- a/tools/json_schema_compiler/test/objects_unittest.cc
+++ b/tools/json_schema_compiler/test/objects_unittest.cc
@@ -48,7 +48,7 @@ TEST(JsonSchemaCompilerObjectsTest, ObjectParamParamsCreate) {
TEST(JsonSchemaCompilerObjectsTest, ReturnsObjectResultCreate) {
ReturnsObject::Results::Info info;
- info.state = ReturnsObject::Results::Info::STATE_FOO;
+ info.state = FIRST_STATE_FOO;
scoped_ptr<base::ListValue> results = ReturnsObject::Results::Create(info);
base::DictionaryValue expected;
@@ -60,7 +60,7 @@ TEST(JsonSchemaCompilerObjectsTest, ReturnsObjectResultCreate) {
TEST(JsonSchemaCompilerObjectsTest, OnObjectFiredCreate) {
OnObjectFired::SomeObject object;
- object.state = OnObjectFired::SomeObject::STATE_BAR;
+ object.state = FIRST_STATE_BAR;
scoped_ptr<base::ListValue> results(OnObjectFired::Create(object));
base::DictionaryValue expected;
« no previous file with comments | « tools/json_schema_compiler/test/objects.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698