mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-15 08:48:52 +00:00
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:
16
tests/reflection_test.h
Normal file
16
tests/reflection_test.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef TESTS_REFLECTION_TEST_H
|
||||
#define TESTS_REFLECTION_TEST_H
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace flatbuffers {
|
||||
namespace tests {
|
||||
|
||||
void ReflectionTest(const std::string& tests_data_path, uint8_t *flatbuf, size_t length);
|
||||
void MiniReflectFixedLengthArrayTest();
|
||||
void MiniReflectFlatBuffersTest(uint8_t *flatbuf);
|
||||
|
||||
} // namespace tests
|
||||
} // namespace flatbuffers
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user