Home
last modified time | relevance | path

Searched refs:expval (Results 1 – 4 of 4) sorted by relevance

/third_party/flatbuffers/tests/
Dtest_assert.h38 typedef bool (*TestFailEventListener)(const char *expval, const char *val,
53 void TestFail(const char *expval, const char *val, const char *exp,
56 void TestEqStr(const char *expval, const char *val, const char *exp,
90 void TestEq(T expval, U val, const char *exp, const char *file, int line,
92 if (static_cast<U>(expval) != val) {
93 TestFail(flatbuffers::NumToString(scalar_as_underlying(expval)).c_str(),
100 inline void TestEq<std::string, std::string>(std::string expval,
104 if (expval != val) {
105 TestFail(expval.c_str(), val.c_str(), exp, file, line, func);
Dtest_assert.cpp13 void TestFail(const char *expval, const char *val, const char *exp, in TestFail() argument
15 TEST_OUTPUT_LINE("EXPECTED: \"%s\"", expval); in TestFail()
22 if (fail_listener_) (*fail_listener_)(expval, val, exp, file, line, func); in TestFail()
27 void TestEqStr(const char *expval, const char *val, const char *exp, in TestEqStr() argument
29 if (strcmp(expval, val) != 0) { in TestEqStr()
30 TestFail(expval, val, exp, file, line, func); in TestEqStr()
Dtest.cpp2211 auto expval = flatbuffers::is_unsigned<T>::value in NumericUtilsTestInteger() local
2214 TEST_EQ(x, expval); in NumericUtilsTestInteger()
/third_party/flatbuffers/tests/fuzzer/
Dtest_init.h12 static bool TestFailListener(const char *expval, const char *val,
15 (void)expval;