testing/config.cc
// Replace the current test data.
Replace the current test data.
Replace the current test data .
void ConfigSet(const char* test_data_in_json) {
  flatbuffers::Parser parser;
  const char* schema_str =
      reinterpret_cast<const char*>(testdata_config_resource_data);
  ASSERT_TRUE(parser.Parse(schema_str))
      << "Failed to parse schema:" << parser.error_;
  ASSERT_TRUE(parser.Parse(test_data_in_json))
      << "Invalid JSON:" << parser.error_;
  internal::ConfigSetImpl(parser.builder_.GetBufferPointer(),
                          parser.builder_.GetSize());
}
void ConfigSet ( const char * test_data_in_json ) { flatbuffers :: Parser parser ; const char * schema_str = reinterpret_cast < const char * > ( testdata_config_resource_data ) ; ASSERT_TRUE ( parser . Parse ( schema_str ) ) << " " << parser . error_ ; ASSERT_TRUE ( parser . Parse ( test_data_in_json ) ) << " " << parser . error_ ; internal :: ConfigSetImpl ( parser . builder_ . GetBufferPointer ( ) , parser . builder_ . GetSize ( ) ) ; }
Replace the current test data.
Replace the current test data .
// Assign