chromium/third_party/flatbuffers/src/tests/monster_test.cpp

#include "monster_test.h"

#include <limits>
#include <vector>

#include "flatbuffers/base.h"
#include "flatbuffers/flatbuffer_builder.h"
#include "flatbuffers/flatbuffers.h"
#include "flatbuffers/idl.h"
#include "flatbuffers/registry.h"
#include "flatbuffers/verifier.h"
#include "is_quiet_nan.h"
#include "monster_extra_generated.h"
#include "monster_test_generated.h"
#include "test_assert.h"

namespace flatbuffers {
namespace tests {

// Shortcuts for the infinity.
static const auto infinity_f =;
static const auto infinity_d =;

usingnamespaceMyGame::Example;

// example of how to build up a serialized buffer algorithmically:
flatbuffers::DetachedBuffer CreateFlatBufferTest(std::string &buffer) {}

//  example of accessing a buffer loaded in memory:
void AccessFlatBufferTest(const uint8_t *flatbuf, size_t length, bool pooled) {}

// Change a FlatBuffer in-place, after it has been constructed.
void MutateFlatBuffersTest(uint8_t *flatbuf, std::size_t length) {}

// Unpack a FlatBuffer into objects.
void ObjectFlatBuffersTest(uint8_t *flatbuf) {}

// Utility function to check a Monster object.
void CheckMonsterObject(MonsterT *monster2) {}

// Prefix a FlatBuffer with a size field.
void SizePrefixedTest() {}

void TestMonsterExtraFloats(const std::string &tests_data_path) {}

void EnumNamesTest() {}

void TypeAliasesTest() {}

// example of parsing text straight into a buffer, and generating
// text back from it:
void ParseAndGenerateTextTest(const std::string &tests_data_path, bool binary) {}

void UnPackTo(const uint8_t *flatbuf) {}

}  // namespace tests
}  // namespace flatbuffers