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

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

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: tools/json_schema_compiler/test/callbacks_unittest.cc
diff --git a/tools/json_schema_compiler/test/callbacks_unittest.cc b/tools/json_schema_compiler/test/callbacks_unittest.cc
index 001e977bf07a74c1a75105bbe18972acdae2cdbd..a12584da2cf4cadfbd998fa16645788957d978b5 100644
--- a/tools/json_schema_compiler/test/callbacks_unittest.cc
+++ b/tools/json_schema_compiler/test/callbacks_unittest.cc
@@ -10,7 +10,7 @@ using namespace test::api::callbacks;
TEST(JsonSchemaCompilerCallbacksTest, ReturnsObjectResultCreate) {
ReturnsObject::Results::SomeObject some_object;
- some_object.state = ReturnsObject::Results::SomeObject::STATE_FOO;
+ some_object.state = ENUMERATION_FOO;
scoped_ptr<base::ListValue> results =
ReturnsObject::Results::Create(some_object);
@@ -23,7 +23,7 @@ TEST(JsonSchemaCompilerCallbacksTest, ReturnsObjectResultCreate) {
TEST(JsonSchemaCompilerCallbacksTest, ReturnsMultipleResultCreate) {
ReturnsMultiple::Results::SomeObject some_object;
- some_object.state = ReturnsMultiple::Results::SomeObject::STATE_FOO;
+ some_object.state = ENUMERATION_FOO;
scoped_ptr<base::ListValue> results =
ReturnsMultiple::Results::Create(5, some_object);

Powered by Google App Engine
This is Rietveld 408576698