Skip to content

Commit 37cbbdd

Browse files
committed
New tests
1 parent 28f5894 commit 37cbbdd

File tree

5 files changed

+45
-0
lines changed

5 files changed

+45
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
syntax = "proto3";
2+
3+
package import_child_scoping_rules.aaa.bbb.ccc.ddd;
4+
5+
message ChildMessage {
6+
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
syntax = "proto3";
2+
3+
package import_child_scoping_rules;
4+
5+
import "package.proto";
6+
7+
message Test {
8+
aaa.bbb.Msg msg = 1;
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
syntax = "proto3";
2+
3+
package import_child_scoping_rules.aaa.bbb;
4+
5+
import "child.proto";
6+
7+
message Msg {
8+
.import_child_scoping_rules.aaa.bbb.ccc.ddd.ChildMessage a = 1;
9+
import_child_scoping_rules.aaa.bbb.ccc.ddd.ChildMessage b = 2;
10+
aaa.bbb.ccc.ddd.ChildMessage c = 3;
11+
bbb.ccc.ddd.ChildMessage d = 4;
12+
ccc.ddd.ChildMessage e = 5;
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
syntax = "proto3";
2+
3+
package import_nested_child_package_from_root.package.child.otherchild;
4+
5+
message ChildMessage {
6+
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
syntax = "proto3";
2+
3+
package import_nested_child_package_from_root;
4+
5+
import "child.proto";
6+
7+
message Test {
8+
package.child.otherchild.ChildMessage child = 1;
9+
}

0 commit comments

Comments
 (0)