mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
run scripts/clang-format-all.sh
This commit is contained in:
parent
c2f764c22b
commit
86486a1735
21 changed files with 115 additions and 101 deletions
|
|
@ -1,19 +1,21 @@
|
|||
#include "reflection_test.h"
|
||||
|
||||
#include "arrays_test_generated.h"
|
||||
#include "flatbuffers/minireflect.h"
|
||||
#include "flatbuffers/reflection.h"
|
||||
#include "flatbuffers/reflection_generated.h"
|
||||
#include "flatbuffers/verifier.h"
|
||||
#include "test_assert.h"
|
||||
#include "monster_test.h"
|
||||
#include "monster_test_generated.h"
|
||||
#include "test_assert.h"
|
||||
|
||||
namespace flatbuffers {
|
||||
namespace tests {
|
||||
|
||||
using namespace MyGame::Example;
|
||||
|
||||
void ReflectionTest(const std::string& tests_data_path, uint8_t *flatbuf, size_t length) {
|
||||
void ReflectionTest(const std::string &tests_data_path, uint8_t *flatbuf,
|
||||
size_t length) {
|
||||
// Load a binary schema.
|
||||
std::string bfbsfile;
|
||||
TEST_EQ(flatbuffers::LoadFile((tests_data_path + "monster_test.bfbs").c_str(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue