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

Unified Diff: test/generated_message_test.dart

Issue 131943002: Handle protocol buffer messages with no package (Closed) Base URL: https://github.com/dart-lang/dart-protoc-plugin.git@master
Patch Set: Fix bug and updte version Created 6 years, 11 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 | « pubspec.yaml ('k') | test/protos/toplevel.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/generated_message_test.dart
diff --git a/test/generated_message_test.dart b/test/generated_message_test.dart
index d88d72a5ccb16bbc8575125241998892f9550345..0b47d2e76e5700ba9754110492b75fda2bff973d 100755
--- a/test/generated_message_test.dart
+++ b/test/generated_message_test.dart
@@ -19,6 +19,8 @@ import '../out/protos/duplicate_names_import.pb.dart';
import '../out/protos/package1.pb.dart' as p1;
import '../out/protos/package2.pb.dart' as p2;
import '../out/protos/package3.pb.dart' as p3;
+import '../out/protos/toplevel_import.pb.dart' as t;
+import '../out/protos/toplevel.pb.dart';
import 'test_util.dart';
@@ -599,4 +601,9 @@ void main() {
message.m3 = new p3.M();
message.m3M = new p3.M_M();
});
+
+ test('testToplevel', () {
+ t.M message = new t.M();
+ message.t = new T();
+ });
}
« no previous file with comments | « pubspec.yaml ('k') | test/protos/toplevel.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698