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

Unified Diff: test/message_generator_test.dart

Issue 813373003: Protobuf changes for smaller dart2js code, Int64 fixes (Closed) Base URL: https://github.com/dart-lang/dart-protoc-plugin@master
Patch Set: Created 6 years 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 | « test/generated_message_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message_generator_test.dart
diff --git a/test/message_generator_test.dart b/test/message_generator_test.dart
index 39e1ed6ea572bcedc0f1ab310b6ccc0163159d77..dcf62b3d268b37469742672cac2aaa9e8fef5d38 100755
--- a/test/message_generator_test.dart
+++ b/test/message_generator_test.dart
@@ -36,8 +36,8 @@ class PhoneNumber_PhoneType extends ProtobufEnum {
class PhoneNumber extends GeneratedMessage {
static final BuilderInfo _i = new BuilderInfo('PhoneNumber')
..a(1, 'number', GeneratedMessage.QS)
- ..e(2, 'type', GeneratedMessage.OE, () => PhoneNumber_PhoneType.MOBILE, (var v) => PhoneNumber_PhoneType.valueOf(v))
- ..a(3, 'name', GeneratedMessage.OS, () => '\$')
+ ..e(2, 'type', GeneratedMessage.OE, PhoneNumber_PhoneType.MOBILE, (var v) => PhoneNumber_PhoneType.valueOf(v))
+ ..a(3, 'name', GeneratedMessage.OS, '\$')
;
PhoneNumber() : super();
@@ -45,6 +45,8 @@ class PhoneNumber extends GeneratedMessage {
PhoneNumber.fromJson(String i, [ExtensionRegistry r = ExtensionRegistry.EMPTY]) : super.fromJson(i, r);
PhoneNumber clone() => new PhoneNumber()..mergeFromMessage(this);
BuilderInfo get info_ => _i;
+ static PhoneNumber create() => new PhoneNumber();
+ static PbList<PhoneNumber> createRepeated() => new PbList<PhoneNumber>();
String get number => getField(1);
void set number(String v) { setField(1, v); }
« no previous file with comments | « test/generated_message_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698