mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 03:42:26 +00:00
Added .proto parsing and convertion to .fbs.
Bug: 15777858 Change-Id: Iabef9b8c8044e593bb89510feebdee00d2f1840b Tested: on Linux and Windows.
This commit is contained in:
32
tests/prototest/test.golden
Normal file
32
tests/prototest/test.golden
Normal file
@@ -0,0 +1,32 @@
|
||||
// Generated from test.proto
|
||||
|
||||
namespace proto.test;
|
||||
|
||||
enum ProtoEnum : short {
|
||||
FOO = 1,
|
||||
BAR = 5,
|
||||
}
|
||||
|
||||
table OtherMessage {
|
||||
a:double;
|
||||
b:float = 3.14149;
|
||||
}
|
||||
|
||||
table ProtoMessage {
|
||||
c:int = 16;
|
||||
d:long;
|
||||
p:uint;
|
||||
e:ulong;
|
||||
f:int = -1;
|
||||
g:long;
|
||||
h:uint;
|
||||
q:ulong;
|
||||
i:int;
|
||||
j:long;
|
||||
k:bool;
|
||||
l:string (required);
|
||||
m:string;
|
||||
n:OtherMessage;
|
||||
o:[string];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user