Exemple #1
0
int main(int argc, char **argv) {
  grpc_test_init(argc, argv);
  test_full();
  test_empty();
  test_trace_only();
  test_span_only();
  test_encode_decode();
  test_corrupt();
  test_no_span_options();
  test_buffer_size();

  return 0;
}
Exemple #2
0
int main()
{
  try {
    if (!test_buffer_size())
      return 1;

    if (!test_link_diff_node_size())
      return 1;

    if (!test_list())
      return 1;

    if (!test_deallocate())
      return 1;
  } catch (const std::exception& e) {
    std::cout << e.what() << std::endl;
    return 1;
  }
  return 0;
}