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

#include "test_assert.h"

#include <assert.h>

#ifdef _MSC_VER
#  include <crtdbg.h>
#  include <windows.h>
#endif

int testing_fails =;
static TestFailEventListener fail_listener_ =;

void TestFail(const char *expval, const char *val, const char *exp,
              const char *file, int line, const char *func) {}

void TestEqStr(const char *expval, const char *val, const char *exp,
               const char *file, int line, const char *func) {}

#if defined(FLATBUFFERS_MEMORY_LEAK_TRACKING) && defined(_MSC_VER) && \
    defined(_DEBUG)
#define FLATBUFFERS_MEMORY_LEAK_TRACKING_MSVC
#endif

void InitTestEngine(TestFailEventListener listener) {}

int CloseTestEngine(bool force_report) {}