mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
run scripts/clang-format-all.sh
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user