mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-02 02:13:57 +00:00
[C++] Adds basic schema evolution tests (#5611)
* Added basic schema evolution tests * Add BUILD targets for evolution tests. Added to test/generate_code scripts * Use vector.front() instead of vector.data() * Added --scoped-enums option for evolution test
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
adbcbba5d1
commit
dda095023d
6
BUILD
6
BUILD
@@ -139,6 +139,8 @@ cc_test(
|
||||
"src/idl_parser.cpp",
|
||||
"src/reflection.cpp",
|
||||
"src/util.cpp",
|
||||
"tests/evolution_test/evolution_v1_generated.h",
|
||||
"tests/evolution_test/evolution_v2_generated.h",
|
||||
"tests/namespace_test/namespace_test1_generated.h",
|
||||
"tests/namespace_test/namespace_test2_generated.h",
|
||||
"tests/native_type_test_impl.cpp",
|
||||
@@ -159,6 +161,10 @@ cc_test(
|
||||
":tests/arrays_test.bfbs",
|
||||
":tests/arrays_test.fbs",
|
||||
":tests/arrays_test.golden",
|
||||
":tests/evolution_test/evolution_v1.fbs",
|
||||
":tests/evolution_test/evolution_v1.json",
|
||||
":tests/evolution_test/evolution_v2.fbs",
|
||||
":tests/evolution_test/evolution_v2.json",
|
||||
":tests/include_test/include_test1.fbs",
|
||||
":tests/include_test/sub/include_test2.fbs",
|
||||
":tests/monster_extra.fbs",
|
||||
|
||||
Reference in New Issue
Block a user