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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
index 69b5ad51c2cdacef4d024995e73c9053b3e0d7c0..6614c73af521373a1f0affa80ea36363af86b133 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
@@ -11722,32 +11722,32 @@ static void installV8TestObjectTemplate(v8::Isolate* isolate, const DOMWrapperWo
}
V8DOMConfiguration::installConstantWithGetter(isolate, interfaceTemplate, prototypeTemplate, "DEPRECATED_CONSTANT", TestObjectV8Internal::DEPRECATED_CONSTANTConstantGetterCallback);
V8DOMConfiguration::installConstantWithGetter(isolate, interfaceTemplate, prototypeTemplate, "MEASURED_CONSTANT", TestObjectV8Internal::MEASURED_CONSTANTConstantGetterCallback);
- static_assert(0 == TestObject::CONST_VALUE_0, "the value of TestObject_CONST_VALUE_0 does not match with implementation");
- static_assert(1 == TestObject::CONST_VALUE_1, "the value of TestObject_CONST_VALUE_1 does not match with implementation");
- static_assert(2 == TestObject::CONST_VALUE_2, "the value of TestObject_CONST_VALUE_2 does not match with implementation");
- static_assert(4 == TestObject::CONST_VALUE_4, "the value of TestObject_CONST_VALUE_4 does not match with implementation");
- static_assert(8 == TestObject::CONST_VALUE_8, "the value of TestObject_CONST_VALUE_8 does not match with implementation");
- static_assert(-1 == TestObject::CONST_VALUE_9, "the value of TestObject_CONST_VALUE_9 does not match with implementation");
- static_assert(0xffffffff == TestObject::CONST_VALUE_11, "the value of TestObject_CONST_VALUE_11 does not match with implementation");
- static_assert(0x01 == TestObject::CONST_VALUE_12, "the value of TestObject_CONST_VALUE_12 does not match with implementation");
- static_assert(0X20 == TestObject::CONST_VALUE_13, "the value of TestObject_CONST_VALUE_13 does not match with implementation");
- static_assert(0x1abc == TestObject::CONST_VALUE_14, "the value of TestObject_CONST_VALUE_14 does not match with implementation");
- static_assert(010 == TestObject::CONST_VALUE_15, "the value of TestObject_CONST_VALUE_15 does not match with implementation");
- static_assert(-010 == TestObject::CONST_VALUE_16, "the value of TestObject_CONST_VALUE_16 does not match with implementation");
- static_assert(-0x1A == TestObject::CONST_VALUE_16, "the value of TestObject_CONST_VALUE_16 does not match with implementation");
- static_assert(-0X1a == TestObject::CONST_VALUE_17, "the value of TestObject_CONST_VALUE_17 does not match with implementation");
- static_assert(1 == TestObject::DEPRECATED_CONSTANT, "the value of TestObject_DEPRECATED_CONSTANT does not match with implementation");
- static_assert(1 == TestObject::MEASURED_CONSTANT, "the value of TestObject_MEASURED_CONSTANT does not match with implementation");
- static_assert(1 == TestObject::FEATURE1_ENABLED_CONST1, "the value of TestObject_FEATURE1_ENABLED_CONST1 does not match with implementation");
- static_assert(2 == TestObject::FEATURE1_ENABLED_CONST2, "the value of TestObject_FEATURE1_ENABLED_CONST2 does not match with implementation");
- static_assert(3 == TestObject::FEATURE2_ENABLED_CONST1, "the value of TestObject_FEATURE2_ENABLED_CONST1 does not match with implementation");
- static_assert(4 == TestObject::FEATURE2_ENABLED_CONST2, "the value of TestObject_FEATURE2_ENABLED_CONST2 does not match with implementation");
- static_assert(5 == TestObject::FEATURE3_ENABLED_CONST1, "the value of TestObject_FEATURE3_ENABLED_CONST1 does not match with implementation");
- static_assert(1 == TestObject::FEATURE1_ORIGIN_TRIAL_ENABLED_CONST1, "the value of TestObject_FEATURE1_ORIGIN_TRIAL_ENABLED_CONST1 does not match with implementation");
- static_assert(2 == TestObject::FEATURE1_ORIGIN_TRIAL_ENABLED_CONST2, "the value of TestObject_FEATURE1_ORIGIN_TRIAL_ENABLED_CONST2 does not match with implementation");
- static_assert(3 == TestObject::FEATURE2_ORIGIN_TRIAL_ENABLED_CONST1, "the value of TestObject_FEATURE2_ORIGIN_TRIAL_ENABLED_CONST1 does not match with implementation");
- static_assert(4 == TestObject::FEATURE2_ORIGIN_TRIAL_ENABLED_CONST2, "the value of TestObject_FEATURE2_ORIGIN_TRIAL_ENABLED_CONST2 does not match with implementation");
- static_assert(5 == TestObject::FEATURE3_ORIGIN_TRIAL_ENABLED_CONST1, "the value of TestObject_FEATURE3_ORIGIN_TRIAL_ENABLED_CONST1 does not match with implementation");
+ static_assert(0 == TestObject::kConstValue0, "the value of TestObject_kConstValue0 does not match with implementation");
+ static_assert(1 == TestObject::kConstValue1, "the value of TestObject_kConstValue1 does not match with implementation");
+ static_assert(2 == TestObject::kConstValue2, "the value of TestObject_kConstValue2 does not match with implementation");
+ static_assert(4 == TestObject::kConstValue4, "the value of TestObject_kConstValue4 does not match with implementation");
+ static_assert(8 == TestObject::kConstValue8, "the value of TestObject_kConstValue8 does not match with implementation");
+ static_assert(-1 == TestObject::kConstValue9, "the value of TestObject_kConstValue9 does not match with implementation");
+ static_assert(0xffffffff == TestObject::kConstValue11, "the value of TestObject_kConstValue11 does not match with implementation");
+ static_assert(0x01 == TestObject::kConstValue12, "the value of TestObject_kConstValue12 does not match with implementation");
+ static_assert(0X20 == TestObject::kConstValue13, "the value of TestObject_kConstValue13 does not match with implementation");
+ static_assert(0x1abc == TestObject::kConstValue14, "the value of TestObject_kConstValue14 does not match with implementation");
+ static_assert(010 == TestObject::kConstValue15, "the value of TestObject_kConstValue15 does not match with implementation");
+ static_assert(-010 == TestObject::kConstValue16, "the value of TestObject_kConstValue16 does not match with implementation");
+ static_assert(-0x1A == TestObject::kConstValue16, "the value of TestObject_kConstValue16 does not match with implementation");
+ static_assert(-0X1a == TestObject::kConstValue17, "the value of TestObject_kConstValue17 does not match with implementation");
+ static_assert(1 == TestObject::kDeprecatedConstant, "the value of TestObject_kDeprecatedConstant does not match with implementation");
+ static_assert(1 == TestObject::kMeasuredConstant, "the value of TestObject_kMeasuredConstant does not match with implementation");
+ static_assert(1 == TestObject::kFeature1EnabledConst1, "the value of TestObject_kFeature1EnabledConst1 does not match with implementation");
+ static_assert(2 == TestObject::kFeature1EnabledConst2, "the value of TestObject_kFeature1EnabledConst2 does not match with implementation");
+ static_assert(3 == TestObject::kFeature2EnabledConst1, "the value of TestObject_kFeature2EnabledConst1 does not match with implementation");
+ static_assert(4 == TestObject::kFeature2EnabledConst2, "the value of TestObject_kFeature2EnabledConst2 does not match with implementation");
+ static_assert(5 == TestObject::kFeature3EnabledConst1, "the value of TestObject_kFeature3EnabledConst1 does not match with implementation");
+ static_assert(1 == TestObject::kFeature1OriginTrialEnabledConst1, "the value of TestObject_kFeature1OriginTrialEnabledConst1 does not match with implementation");
+ static_assert(2 == TestObject::kFeature1OriginTrialEnabledConst2, "the value of TestObject_kFeature1OriginTrialEnabledConst2 does not match with implementation");
+ static_assert(3 == TestObject::kFeature2OriginTrialEnabledConst1, "the value of TestObject_kFeature2OriginTrialEnabledConst1 does not match with implementation");
+ static_assert(4 == TestObject::kFeature2OriginTrialEnabledConst2, "the value of TestObject_kFeature2OriginTrialEnabledConst2 does not match with implementation");
+ static_assert(5 == TestObject::kFeature3OriginTrialEnabledConst1, "the value of TestObject_kFeature3OriginTrialEnabledConst1 does not match with implementation");
static_assert(1 == TestObject::CONST_IMPL, "the value of TestObject_CONST_IMPL does not match with implementation");
V8DOMConfiguration::installAttributes(isolate, world, instanceTemplate, prototypeTemplate, V8TestObjectAttributes, WTF_ARRAY_LENGTH(V8TestObjectAttributes));
V8DOMConfiguration::installAccessors(isolate, world, instanceTemplate, prototypeTemplate, interfaceTemplate, signature, V8TestObjectAccessors, WTF_ARRAY_LENGTH(V8TestObjectAccessors));

Powered by Google App Engine
This is Rietveld 408576698