diff options
author | Wouter van Oortmerssen <wvo@google.com> | 2015-10-05 17:39:08 -0700 |
---|---|---|
committer | Wouter van Oortmerssen <wvo@google.com> | 2015-10-13 14:01:55 -0700 |
commit | 94680f5483593b1a48c79b516d153fd432b3f2e8 (patch) | |
tree | 09dd61ca4adcf36f3867ee278b6179d96dba723f /tests/test.cpp | |
parent | b4db88808f5c1f8f36d2f67952c8b7b3022e28ea (diff) | |
download | flatbuffers-94680f5483593b1a48c79b516d153fd432b3f2e8.tar.gz flatbuffers-94680f5483593b1a48c79b516d153fd432b3f2e8.tar.bz2 flatbuffers-94680f5483593b1a48c79b516d153fd432b3f2e8.zip |
Added support for imports and many other .proto features.
Change-Id: I6600021b7ec8c486794349511232c3e604421c5b
Tested: on Linux.
Diffstat (limited to 'tests/test.cpp')
-rw-r--r-- | tests/test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test.cpp b/tests/test.cpp index be008180..8612d6ee 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -428,7 +428,8 @@ void ParseProtoTest() { // Parse proto. flatbuffers::Parser parser(false, true); - TEST_EQ(parser.Parse(protofile.c_str(), nullptr), true); + const char *include_directories[] = { "tests/prototest", nullptr }; + TEST_EQ(parser.Parse(protofile.c_str(), include_directories), true); // Generate fbs. flatbuffers::GeneratorOptions opts; |