mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-06 08:36:52 +00:00
Cleaned up test output.
Change-Id: I4bec0e728cc162aa3f19091a0d154124ffbccdff
This commit is contained in:
@@ -1071,9 +1071,11 @@ void FuzzTest2() {
|
||||
TEST_NOTNULL(NULL);
|
||||
}
|
||||
|
||||
#ifdef FLATBUFFERS_TEST_VERBOSE
|
||||
TEST_OUTPUT_LINE("%dk schema tested with %dk of json\n",
|
||||
static_cast<int>(schema.length() / 1024),
|
||||
static_cast<int>(json.length() / 1024));
|
||||
#endif
|
||||
}
|
||||
|
||||
// Test that parser errors are actually generated.
|
||||
@@ -1640,9 +1642,11 @@ void FlexBuffersTest() {
|
||||
slb.Finish();
|
||||
#endif // FLATBUFFERS_CPP98_STL
|
||||
|
||||
#ifdef FLATBUFFERS_TEST_VERBOSE
|
||||
for (size_t i = 0; i < slb.GetBuffer().size(); i++)
|
||||
printf("%d ", flatbuffers::vector_data(slb.GetBuffer())[i]);
|
||||
printf("\n");
|
||||
#endif
|
||||
|
||||
auto map = flexbuffers::GetRoot(slb.GetBuffer()).AsMap();
|
||||
TEST_EQ(map.size(), 7);
|
||||
|
||||
Reference in New Issue
Block a user