Refactor test.cpp (#7487)

* Add timing command to cmakelist

* Start to split test.cpp. Move flexbuffers tests

* Move monster related tests to own file

* Move parser related tests to own file

* Move json related tests to own file

* Move proto related tests to own file

* moved more functions to parser test

* moved more functions to parser test2

* move monster extra tests to monster test

* move evolution tests to own file

* move reflection tests to own file

* move util tests to own file

* rehomed various tests

* move optional scalars test to own file:

* rehome more tests

* move fuzz tests. Got rid of global test_data_path

* fixes for CI failures

* add bazel files
This commit is contained in:
Derek Bailey
2022-08-28 16:54:58 -07:00
committed by GitHub
parent 7edf8c9084
commit 694add668b
24 changed files with 3784 additions and 3395 deletions

16
tests/evolution_test.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef TESTS_EVOLUTION_TEST_H
#define TESTS_EVOLUTION_TEST_H
#include <string>
namespace flatbuffers {
namespace tests {
void EvolutionTest(const std::string &tests_data_path);
void ConformTest();
void UnionDeprecationTest(const std::string &tests_data_path);
} // namespace tests
} // namespace flatbuffers
#endif