summaryrefslogtreecommitdiff
path: root/src/components/test_main.cc
blob: 72c90acb5cf6e3984caa8a8a78ca2662080cb4ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "gmock/gmock.h"
#include "utils/logger.h"
#include "utils/custom_string.h"
int main(int argc, char** argv) {
  namespace custom_str = utils::custom_string;
  testing::InitGoogleMock(&argc, argv);
  ::testing::DefaultValue<custom_str::CustomString>::Set(
      custom_str::CustomString(""));
  const int result = RUN_ALL_TESTS();
  DEINIT_LOGGER();
  return result;
}